minetest-quake/_weapons/shotgun.lua

16 lines
414 B
Lua
Raw Normal View History

2020-06-11 11:20:27 -07:00
--WIP AF
quake.register_weapon("quake:shotgun", {
description = "Keep your friends close, and your enemies closer",
mesh = "quake_railgun.obj",
tiles = {"quake_railgun.png"},
wield_scale = {x=1.3, y=1.3, z=1.3},
inventory_image = "quake_shotgun_icon.png",
weap_damage = 10,
weap_delay = 0.8,
2020-04-28 07:33:08 -07:00
weap_sound_shooting = "quake_shotgun_shoot",
is_hitscan = true,
range = 8,
has_knockback = true
})