feat: Add Segmented Ribcage to skulls

This skull is unique for requiring a specific torso style, and for
adding additional limb slots.
This commit is contained in:
Jeremy Saklad 2022-05-26 07:32:04 -06:00
parent 7193c29a5f
commit b4319464a1
Signed by: Jeremy Saklad
GPG Key ID: 94B02EA3D0B6481B
2 changed files with 16 additions and 0 deletions

View File

@ -124,6 +124,16 @@ class Skull(Enum):
menace = 1
)
# Requires Torso Style 110
SEGMENTED_RIBCAGE = Action(
'Affix a Segmented Ribcage as the "skull"',
cost = Cost.ACTION.value + Cost.SEGMENTED_RIBCAGE.value,
value = 250,
skulls_needed = -1,
limbs_needed = 4,
segments = 1
)
STYGIAN_IVORY = Action(
"Use a Carved Ball of Stygian Ivory to cap off your (Skeleton Type)",
cost = Cost.ACTION.value + Cost.STYGIAN_IVORY.value,

View File

@ -445,6 +445,12 @@ def Solve(shadowy_level, bone_market_fluctuations = None, zoological_mania = Non
.OnlyEnforceIf(actions[Declaration.CURATOR])
# Skull requirements
model.Add(torso_style == 110) \
.OnlyEnforceIf(model.BoolExpression(actions[Skull.SEGMENTED_RIBCAGE] > 0))
# Declaration requirements
model.AddIf(actions[Declaration.HUMANOID],