feat(gs/xanthous): Add a Husk creature, with limited generation
Add a new "husk" creature raw, limited to only being generated on levels >= 1, including support for actually doing that limiting. These guys are gonna get daggers next! Change-Id: Ic4b58dc7ee36b50ced60fec6912cd1b46269d55c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3868 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
e2f8939a9e
commit
1af67d9ca7
9 changed files with 152 additions and 24 deletions
|
|
@ -80,6 +80,14 @@ foldlMapM' f xs = foldr f' pure xs mempty
|
|||
let !b = mappend bl br
|
||||
k b
|
||||
|
||||
-- | Returns whether the third argument is in the range given by the first two
|
||||
-- arguments, inclusive
|
||||
--
|
||||
-- >>> between (0 :: Int) 2 2
|
||||
-- True
|
||||
--
|
||||
-- >>> between (0 :: Int) 2 3
|
||||
-- False
|
||||
between
|
||||
:: Ord a
|
||||
=> a -- ^ lower bound
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue