Commit before changing wall drawing
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user