Start removing heldDelay records
This commit is contained in:
@@ -50,6 +50,7 @@ data Item = Item
|
||||
, _itAmmoSlots :: IM.IntMap AmmoType
|
||||
, _itParams :: ItemParams
|
||||
, _itScroll :: ItemScroll
|
||||
, _itTimeLastUsed :: Int
|
||||
}
|
||||
|
||||
data ItemScroll
|
||||
|
||||
@@ -14,24 +14,11 @@ data UseDelay -- should just be Delay
|
||||
= NoDelay
|
||||
| FixedRate
|
||||
{ _rateMax :: Int
|
||||
, _rateTimeLastUsed :: Int -- set to be _lClock when used, starts at 0
|
||||
}
|
||||
-- | VariableRate
|
||||
-- { _rateMax :: Int
|
||||
-- , _rateTime :: Int
|
||||
-- , _rateMaxMax :: Int
|
||||
-- , _rateMinMax :: Int
|
||||
-- }
|
||||
| WarmUpNoDelay
|
||||
{ _warmTime :: Int
|
||||
, _warmMax :: Int
|
||||
{ _warmMax :: Int
|
||||
, _warmSound :: SoundID
|
||||
}
|
||||
-- | ChargingRate
|
||||
-- { _chargeTime :: Int
|
||||
-- , _chargeMax :: Int
|
||||
-- , _chargeSound :: Maybe SoundID
|
||||
-- }
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
makeLenses ''UseDelay
|
||||
|
||||
@@ -19,6 +19,7 @@ data ItemParams
|
||||
| NozzleAngle {_nzAngle :: Float}
|
||||
| VolleyUnfiredBarrels {_unfiredBarrels :: [Int]}
|
||||
| AlteRifleSwitch {_alteRifleSwitch :: Int}
|
||||
| WarmTime {_wTime :: Int}
|
||||
|
||||
data ShrinkGunStatus = FullSize | Shrunk
|
||||
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
Reference in New Issue
Block a user