feat(xanthous): Add an ooze creature type
This required making sayVerb optional, as oozes don't say anything Change-Id: I2c7f425ca26d92beef1097eda49d84f00c84c482 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3218 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
72d9e11a8f
commit
6f9d01b507
2 changed files with 14 additions and 2 deletions
|
@ -81,8 +81,8 @@ data CreatureType = CreatureType
|
|||
, _friendly :: !Bool
|
||||
, _speed :: !TicksPerTile
|
||||
, _language :: !(Maybe LanguageName)
|
||||
, _sayVerb :: Text -- ^ The verb, in present tense, for when the creature
|
||||
-- says something
|
||||
, _sayVerb :: !(Maybe Text) -- ^ The verb, in present tense, for when the
|
||||
-- creature says something
|
||||
}
|
||||
deriving stock (Show, Eq, Ord, Generic)
|
||||
deriving anyclass (NFData, CoArbitrary, Function)
|
||||
|
|
12
users/grfn/xanthous/src/Xanthous/Entities/Raws/ooze.yaml
Normal file
12
users/grfn/xanthous/src/Xanthous/Entities/Raws/ooze.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
Creature:
|
||||
name: ooze
|
||||
description: an ooze
|
||||
longDescription: |
|
||||
A jiggling, amorphous, bright green caustic blob
|
||||
char:
|
||||
char: o
|
||||
style:
|
||||
foreground: green
|
||||
maxHitpoints: 3
|
||||
speed: 100
|
||||
friendly: false
|
Loading…
Reference in a new issue