Fix api inconsistencies
This commit is contained in:
parent
886e5803e0
commit
6b4ea389ce
2 changed files with 34 additions and 16 deletions
|
@ -26,7 +26,9 @@ shooter.register_weapon("shooter_guns:pistol", {
|
|||
step = 20,
|
||||
tool_caps = {full_punch_interval=0.5, damage_groups={fleshy=2}},
|
||||
groups = {snappy=3, fleshy=3, oddly_breakable_by_hand=3},
|
||||
sound = "shooter_pistol",
|
||||
sounds = {
|
||||
shot = "shooter_pistol",
|
||||
},
|
||||
bullet_image = "shooter_cap.png",
|
||||
particles = {
|
||||
amount = 8,
|
||||
|
@ -45,7 +47,9 @@ shooter.register_weapon("shooter_guns:rifle", {
|
|||
step = 30,
|
||||
tool_caps = {full_punch_interval=1.0, damage_groups={fleshy=3}},
|
||||
groups = {snappy=3, crumbly=3, choppy=3, fleshy=2, oddly_breakable_by_hand=2},
|
||||
sound = "shooter_rifle",
|
||||
sounds = {
|
||||
shot = "shooter_rifle",
|
||||
},
|
||||
bullet_image = "shooter_bullet.png",
|
||||
particles = {
|
||||
amount = 12,
|
||||
|
@ -66,7 +70,9 @@ shooter.register_weapon("shooter_guns:shotgun", {
|
|||
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",
|
||||
sounds = {
|
||||
shot = "shooter_shotgun",
|
||||
},
|
||||
bullet_image = "shooter_cap.png",
|
||||
particles = {
|
||||
amount = 8,
|
||||
|
@ -81,12 +87,14 @@ shooter.register_weapon("shooter_guns:machine_gun", {
|
|||
inventory_image = "shooter_smgun.png",
|
||||
spec = {
|
||||
automatic = true,
|
||||
rounds = 100,
|
||||
rounds = 10,
|
||||
range = 160,
|
||||
step = 20,
|
||||
tool_caps = {full_punch_interval=0.1, damage_groups={fleshy=2}},
|
||||
groups = {snappy=3, fleshy=3, oddly_breakable_by_hand=3},
|
||||
sound = "shooter_pistol",
|
||||
sounds = {
|
||||
shot = "shooter_pistol",
|
||||
},
|
||||
bullet_image = "shooter_cap.png",
|
||||
particles = {
|
||||
amount = 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue