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.
26 lines
743 B
Python
26 lines
743 B
Python
__all__ = ['Embellishment']
|
|
__author__ = "Jeremy Saklad"
|
|
|
|
from enum import Enum
|
|
|
|
from .costs import Cost
|
|
from ..objects.action import Action
|
|
|
|
class Embellishment(Enum):
|
|
"""An action is taken after a declaration has been made for a skeleton."""
|
|
|
|
MORE_PLAUSIBLE = Action(
|
|
"Make it seem just a bit more plausible",
|
|
cost = Cost.ACTION.value + Cost.REVISIONIST_NARRATIVE.value,
|
|
implausibility = -1
|
|
)
|
|
|
|
CONVINCING_HISTORY = Action(
|
|
"Invest great time and skill in coming up with a convincing history",
|
|
cost = Cost.ACTION.value + 3*Cost.REVISIONIST_NARRATIVE.value,
|
|
implausibility = -5
|
|
)
|
|
|
|
def __str__(self):
|
|
return str(self.value)
|