Move Embellishment to different file

This commit is contained in:
Jeremy Saklad 2021-08-03 12:38:31 -05:00
parent 7f750f8dab
commit 5aa070f989
Signed by: Jeremy Saklad
GPG Key ID: 9CA2149583EDBF84
2 changed files with 23 additions and 19 deletions

View File

@ -15,6 +15,7 @@ from data.adjustments import Adjustment
from data.appendages import Appendage
from data.costs import Cost
from data.declarations import Declaration
from data.embellishments import Embellishment
from data.skulls import Skull
from data.torsos import Torso
from objects.action import Action
@ -72,25 +73,6 @@ cp_model.CpModel.AddGeneralMultiplicationEquality = AddGeneralMultiplicationEqua
del AddGeneralMultiplicationEquality
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)
class Buyer(Enum):
"""An action that converts a skeleton into revenue."""

22
data/embellishments.py Normal file
View File

@ -0,0 +1,22 @@
from enum import Enum
from data.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)