Rethink item ammo to item consumables, start item type datatype
This commit is contained in:
@@ -11,7 +11,7 @@ import Geometry
|
||||
|
||||
import Control.Lens
|
||||
|
||||
defaultAmmo :: ItemAmmo
|
||||
defaultAmmo :: ItemConsumption
|
||||
defaultAmmo = LoadableAmmo
|
||||
{ _aoType = GenericAmmo
|
||||
, _wpMaxAmmo = 15
|
||||
@@ -84,7 +84,7 @@ defaultGun = Weapon
|
||||
{ _itName = "default"
|
||||
, _itCurseStatus = Uncursed
|
||||
, _itIdentity = Pistol
|
||||
, _wpAmmo = defaultAmmo
|
||||
, _itConsumption = defaultAmmo
|
||||
, _itUse = defaultrUse
|
||||
, _wpSpread = 0.02
|
||||
, _wpRange = 20
|
||||
|
||||
Reference in New Issue
Block a user