@civ-clone/core-goody-hut
v0.1.5
Published
This package provides the core `GoodyHut` class and associated `Rule`s.
Downloads
9
Readme
core-goody-hut
This package provides the core GoodyHut
class and associated Rule
s.
GoodyHut
s traditionally in the Civ games provide a bonus (or penalty) when discovered. The GoodyHut
class is
associated to a Tile
where it will be Discovered
, revealing its reward via an Action
.
Associated Rule
s:
Action
- availableAction
s for the currentGoodyHut
(e.g.Unit
,Advance
,Gold
...)ActionPerformed
- once an action is performed (Unit
provided, etc)Discovered
- when theGoodyHut
is interacted withDistribution
- on whichTile
s theGoodyHut
s will appear