Add flavour text, start smoke, support for different reload sounds

This commit is contained in:
2021-06-22 14:42:23 +02:00
parent 52eaeead5d
commit 39218ed3b5
31 changed files with 128 additions and 57 deletions
+4
View File
@@ -209,6 +209,7 @@ data Item
, _wpAmmo :: Ammo
, _wpReloadTime :: Int
, _wpReloadState :: Int
, _wpReloadType :: ReloadType
, _itUseRate :: Int
, _itUseTime :: Int
, _itUse :: Item -> Creature -> World -> World
@@ -305,6 +306,9 @@ data Item
, _itAimStance :: AimStance
}
| NoItem
data ReloadType = ActiveReload | PassiveReload Int
data ItEffect = NoItEffect
| ItInvEffect
{_itInvEffect :: ItEffect -> Creature -> Int -> World -> World