All scripts are now contained in a package named "bonemarketsolver". The command-line interface has been moved to __main__.py. The solver script has been moved to solve.py. Relative module imports are now used where appropriate. The invocation method of the CLI has changed: instead of running Python itself, you can now use "pipenv run bone_market_solver". The README has been updated to reflect the new usage method.
15 lines
423 B
Python
15 lines
423 B
Python
__all__ = ['DiplomatFascination']
|
|
__author__ = "Jeremy Saklad"
|
|
|
|
from enum import Enum
|
|
|
|
from .buyers import Buyer
|
|
|
|
DiplomatFascination = Enum(
|
|
'DiplomatFascination',
|
|
( (diplomat.name[22:], diplomat) for diplomat in Buyer
|
|
if diplomat.name.startswith('THE_TRIFLING_DIPLOMAT_') ),
|
|
module = __name__
|
|
)
|
|
DiplomatFascination.__doc__ = "The current fascination of the Trifling Diplomat."
|