Bone-Market-Solver/bonemarketsolver/data/adjustments.py

34 lines
858 B
Python
Raw Normal View History

__all__ = ['Adjustment']
__author__ = "Jeremy Saklad"
2021-08-03 17:24:53 +00:00
from enum import Enum
from .costs import Cost
from ..objects.action import Action
2021-08-03 17:24:53 +00:00
class Adjustment(Enum):
"""An action that is taken after all parts have been added to a skeleton."""
__slots__ = '_value_', '_name_', '__objclass__'
2021-08-03 17:24:53 +00:00
CARVE_AWAY_AGE = Action(
"Carve away some evidence of age",
cost = Cost.ACTION.value,
antiquity = -2
)
DISGUISE_AMALGAMY = Action(
"Disguise the amalgamy of this piece",
cost = Cost.ACTION.value + 25*Cost.JADE_FRAGMENT.value,
amalgamy = -2
)
MAKE_LESS_DREADFUL = Action(
"Make your skeleton less dreadful",
cost = Cost.ACTION.value,
menace = -2
)
def __str__(self):
return str(self.value)