Allow for partial reloading

This commit is contained in:
2021-12-01 17:40:09 +00:00
parent d75ea2b252
commit 016a1faf80
21 changed files with 181 additions and 143 deletions
+9 -9
View File
@@ -38,9 +38,9 @@ teslaGun = defaultGun
{ _itName = "TESLA"
, _itIdentity = TeslaGun
, _itConsumption = defaultAmmo
{ _wpMaxAmmo = 200
, _wpLoadedAmmo = 200
, _wpReloadTime = 80
{ _ammoMax = 200
, _ammoLoaded = 200
, _reloadTime = 80
}
, _itUse = ruseInstant (const aTeslaArc) NoHammer
[ ammoCheckI
@@ -65,9 +65,9 @@ lasGun = defaultAutoGun
{ _itName = "LASGUN ////"
, _itIdentity = LasGun
, _itConsumption = defaultAmmo
{ _wpMaxAmmo = 200
, _wpLoadedAmmo = 200
, _wpReloadTime = 80
{ _ammoMax = 200
, _ammoLoaded = 200
, _reloadTime = 80
}
, _itUse = ruseInstant (const aLaser) NoHammer
[ ammoCheckI
@@ -121,9 +121,9 @@ tractorGun = defaultAutoGun
{ _itName = "TRACTORGUN"
, _itIdentity = TractorGun
, _itConsumption = defaultAmmo
{ _wpMaxAmmo = 10000
, _wpLoadedAmmo = 10000
, _wpReloadTime = 40
{ _ammoMax = 10000
, _ammoLoaded = 10000
, _reloadTime = 40
}
, _itUse = ruseInstant aTractorBeam NoHammer
[ ammoCheckI