Make rifle automatic and double damage (#3)

This commit is contained in:
David Leal 2020-09-20 15:27:42 -05:00 committed by GitHub
parent c698e3265b
commit e58d27dd79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,8 @@ shooter.register_weapon("shooter_guns:rifle", {
rounds = 100, rounds = 100,
range = 240, range = 240,
step = 30, step = 30,
tool_caps = {full_punch_interval=1.0, damage_groups={fleshy=3, ranged=1}}, automatic = true,
tool_caps = {full_punch_interval=1.0, damage_groups={fleshy=6, ranged=1}},
groups = {snappy=3, crumbly=3, choppy=3, fleshy=2, oddly_breakable_by_hand=2}, groups = {snappy=3, crumbly=3, choppy=3, fleshy=2, oddly_breakable_by_hand=2},
sounds = { sounds = {
shot = "shooter_rifle", shot = "shooter_rifle",