Cleanup, remove bullet tweaks

This commit is contained in:
2022-03-22 22:41:48 +00:00
parent f030d8264f
commit 7f174b7d18
13 changed files with 57 additions and 160 deletions
-3
View File
@@ -14,7 +14,6 @@ module Dodge.Item.Weapon.BulletGun.Cane
import Dodge.Item.Weapon.BulletGun.Clip
import Dodge.Data
--import Dodge.ChainEffect
import Dodge.TweakBullet
import Dodge.Default.Weapon
import Dodge.Item.Weapon.InventoryDisplay
import Dodge.Default
@@ -72,7 +71,6 @@ bangCane = defaultGun
, withSmoke 1 black 20 200 5
, withMuzFlareI
]
, _itTweaks = defaultBulletSelTweak
, _itDimension = ItemDimension
{ _dimRad = 8
, _dimCenter = V3 5 0 0
@@ -292,7 +290,6 @@ miniGunX i = defaultAutoGun
, _randomOffset = 10
}
, _itEquipPict = pictureWeaponAim (miniGunXPictItem i)
, _itTweaks = defaultBulletSelTweak
, _itInvSize = 4
, _itInvDisplay = \it -> head (basicItemDisplay it) :
["*" ++ replicate 13 ' ' ++ "*"
-3
View File
@@ -10,7 +10,6 @@ module Dodge.Item.Weapon.BulletGun.Stick
import Dodge.Item.Weapon.BulletGun.Clip
import Dodge.Data
import Dodge.ChainEffect
import Dodge.TweakBullet
import Dodge.Default.Weapon
--import Dodge.Item.Weapon.InventoryDisplay
import Dodge.Default
@@ -78,7 +77,6 @@ bangStick i = defaultGun
, _torqueAfter = 0.18 + 0.02 * fromIntegral i
, _randomOffset = 0
}
, _itTweaks = defaultBulletSelTweak
, _itInvSize = fromIntegral i / 3
, _itDimension = ItemDimension
{ _dimRad = 5
@@ -187,7 +185,6 @@ pistol = (bangStick 1)
-- , _itEquipPict = pictureWeaponAim pistolPic
, _itID = Nothing
, _itInvColor = white
, _itTweaks = defaultBulletSelTweak
} & itDimension . dimSPic .~ (\it -> noPic $ baseStickShape <> makeTinClipAt pi (V3 5 2 0) it)
& itParams %~
( ( muzVel .~ 0.8 )