Add Penny to Cost enumeration
For the sake of clarity, members of Cost now have terminal values iff they are assigned an arbitrary cost rather than an actual method of acquisition. The primary effect of this change is that items that are purchased from a shop are given a value in terms of the currency used, rather than a numeric literal. This makes it much easier to tell where refinements to the model may be necessary.
This commit is contained in:
parent
fb4681d93e
commit
1b4e4b5f08
@ -39,10 +39,6 @@ class Cost(enum.Enum):
|
||||
# Bone Fragment
|
||||
BONE_FRAGMENT = 1
|
||||
|
||||
# Bright Brass Skull
|
||||
# Merrigans Exchange
|
||||
BRASS_SKULL = 6250
|
||||
|
||||
# Cartographer's Hoard
|
||||
CARTOGRAPHERS_HOARD = 31250
|
||||
|
||||
@ -160,6 +156,13 @@ class Cost(enum.Enum):
|
||||
# Bohemian Sculptress
|
||||
IVORY_FEMUR = ACTION + 750*BONE_FRAGMENT + 3*ORANGE_APPLE
|
||||
|
||||
# Penny
|
||||
PENNY = 1
|
||||
|
||||
# Bright Brass Skull
|
||||
# Merrigans Exchange
|
||||
BRASS_SKULL = 6250*PENNY
|
||||
|
||||
# Pentagrammic Skull
|
||||
# Upwards
|
||||
PENTAGRAMMIC_SKULL = 9*ACTION
|
||||
|
Loading…
Reference in New Issue
Block a user