diff --git a/Bone Market Solver.py b/Bone Market Solver.py index 95ec549..d518171 100644 --- a/Bone Market Solver.py +++ b/Bone Market Solver.py @@ -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.""" diff --git a/data/embellishments.py b/data/embellishments.py new file mode 100644 index 0000000..02538af --- /dev/null +++ b/data/embellishments.py @@ -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)