Add spread option and update shotgun definition

This commit is contained in:
stujones11 2019-04-02 15:18:17 +01:00
parent 88750a0353
commit 8e18c0b117
4 changed files with 104 additions and 21 deletions

View file

@ -62,14 +62,16 @@ shooter.register_weapon("shooter_guns:shotgun", {
rounds = 50,
range = 30,
step = 15,
tool_caps = {full_punch_interval=1.5, damage_groups={fleshy=4}},
groups = {cracky=3, snappy=2, crumbly=2, choppy=2, fleshy=1, oddly_breakable_by_hand=1},
shots = 15,
spread = 10,
tool_caps = {full_punch_interval=0.5, damage_groups={fleshy=2}},
groups = {snappy=3, fleshy=3, oddly_breakable_by_hand=3},
sound = "shooter_shotgun",
bullet_image = "smoke_puff.png",
bullet_image = "shooter_cap.png",
particles = {
amount = 16,
minsize = 1,
maxsize = 2,
amount = 8,
minsize = 0.25,
maxsize = 0.75,
},
},
})