Commit before changing wall drawing

This commit is contained in:
2022-06-07 16:39:47 +01:00
parent f938f9a717
commit 52488b251b
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -721,6 +721,9 @@ data AmmoType
{ _amString :: String { _amString :: String
, _amCreateGas :: Float -> Point2 -> Float -> Creature -> World -> World , _amCreateGas :: Float -> Point2 -> Float -> Creature -> World -> World
} }
| ForceFieldAmmo
{ _amForceFieldType :: Wall
}
| GenericAmmo | GenericAmmo
data ItemTweaks data ItemTweaks
= NoTweaks = NoTweaks
+1
View File
@@ -144,6 +144,7 @@ forceFieldGun = defaultGun
, _ammoLoaded = 100 , _ammoLoaded = 100
, _reloadTime = 40 , _reloadTime = 40
, _reloadState = Nothing' , _reloadState = Nothing'
, _aoType = ForceFieldAmmo forceField
} }
, _itUse = ruseInstant useForceFieldGun (HasHammer HammerUp) , _itUse = ruseInstant useForceFieldGun (HasHammer HammerUp)
[ hammerCheckI , ammoCheckI , useAmmoAmount 1] [ hammerCheckI , ammoCheckI , useAmmoAmount 1]
+1 -1
View File
@@ -121,7 +121,7 @@ baseWindowPane :: Wall
baseWindowPane = defaultWall baseWindowPane = defaultWall
{ _wlLine = (V2 0 0,V2 50 0) { _wlLine = (V2 0 0,V2 50 0)
, _wlID = 0 , _wlID = 0
, _wlColor = withAlpha 0.2 cyan , _wlColor = cyan
, _wlSeen = False , _wlSeen = False
, _wlOpacity = SeeThrough , _wlOpacity = SeeThrough
, _wlDraw = True , _wlDraw = True