Start moving creature properties out of records
This commit is contained in:
@@ -13,12 +13,13 @@ swarmCrit =
|
||||
{ _crHP = 1
|
||||
, _crRad = 2
|
||||
, _crMass = 2
|
||||
, _crCorpse = MakeDefaultCorpse
|
||||
-- , _crCorpse = MakeDefaultCorpse
|
||||
, _crFaction = ColorFaction yellow
|
||||
, _crMeleeCooldown = 0
|
||||
}
|
||||
& crType . skinUpper .~ lightx4 yellow
|
||||
& crType . humanoidAI .~ SwarmAI
|
||||
& crType .~ SwarmCrit
|
||||
-- & crType . skinUpper .~ lightx4 yellow
|
||||
-- & crType . humanoidAI .~ SwarmAI
|
||||
|
||||
--swarmCritMoveFunc :: Creature -> Point2 -> Creature -> Point2
|
||||
--swarmCritMoveFunc tcr cenp cr
|
||||
|
||||
Reference in New Issue
Block a user