Allow for different item drops on creature death

This commit is contained in:
2021-04-25 02:16:31 +02:00
parent 94ff3d6593
commit 30736997c3
19 changed files with 336 additions and 229 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ launcherCrit :: Creature
launcherCrit = defaultCreature
{ _crPict = enemyPict red
, _crUpdate = stateUpdate (launcherAI 150 200)
, _crInv = IM.fromList [(0,launcher),(1,medkit 100)]
, _crInv = IM.fromList [(0,launcher)]
, _crInvSel = 0
, _crRad = 10
, _crState = defaultState {_goals = [[Init]]}
@@ -261,7 +261,7 @@ Items you start with.
-}
startInventory = IM.fromList (zip [0..20]
(
[launcher
[pistol
--,blinkGun
--,spawnGun lamp
--,poisonSprayer