Move towards allowing equipable targeting items
This commit is contained in:
@@ -54,8 +54,12 @@ defaultCreature =
|
||||
, _crName = "DEFAULTCRNAME"
|
||||
, _crStatistics = CreatureStatistics 10 10 10
|
||||
, _crCamouflage = FullyVisible
|
||||
, _crTargeting = defaultCreatureTargeting
|
||||
}
|
||||
|
||||
defaultCreatureTargeting :: CreatureTargeting
|
||||
defaultCreatureTargeting = CreatureTargeting Nothing Nothing Nothing False
|
||||
|
||||
defaultCreatureSkin :: CreatureType
|
||||
defaultCreatureSkin = Humanoid (greyN 0.9) (light4 green) (greyN 0.3) InanimateAI
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ defaultLeftUse =
|
||||
defaultEquipUse :: ItemUse
|
||||
defaultEquipUse = EquipUse
|
||||
{ _equipEffect = defaultEquip
|
||||
, _equipTargeting = NoTargeting
|
||||
, _useTargeting = Nothing
|
||||
}
|
||||
|
||||
defaultHeldUse :: ItemUse
|
||||
@@ -36,5 +36,5 @@ defaultHeldUse =
|
||||
, _heldAim = defaultAimParams
|
||||
, _heldScroll = HeldScrollDoNothing
|
||||
, _heldConsumption = defaultLoadable
|
||||
, _heldTargeting = NoTargeting
|
||||
, _useTargeting = Nothing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user