Delete 'mods/rangedweapons/milkor.lua'

This commit is contained in:
thunderdog1138 2021-09-06 14:48:57 +00:00
parent 3bfd4527bc
commit 7fbbadddd6
1 changed files with 0 additions and 47 deletions

View File

@ -1,47 +0,0 @@
minetest.register_tool("rangedweapons:milkor_rld", {
stack_max= 1,
range = 0,
wield_scale = {x=1.75,y=1.75,z=2.0},
description = "",
loaded_gun = "rangedweapons:milkor",
groups = {not_in_creative_inventory = 1},
inventory_image = "rangedweapons_milkor_rld.png",
})
minetest.register_tool("rangedweapons:milkor", {
description = "" ..core.colorize("#35cdff","Milkor MGL\n") ..core.colorize("#FFFFFF", "Direct contact damage: 15\n")..core.colorize("#FFFFFF", "Accuracy: 96%\n") ..core.colorize("#FFFFFF", "Direct contact knockback: 25\n") ..core.colorize("#FFFFFF", "Critical chance: 9%\n") ..core.colorize("#FFFFFF", "Critical efficiency: 3.0x\n") ..core.colorize("#FFFFFF", "Ammunition: 40mm grenades\n") ..core.colorize("#FFFFFF", "Reload time: 0.75\n") ..core.colorize("#FFFFFF", "Rate of fire: 0.35\n") ..core.colorize("#FFFFFF", "Gun gravity: 1\n") ..core.colorize("#FFFFFF", "Clip Size: 6\n")..core.colorize("#FFFFFF", "Gun type: grenade launcher\n") ..core.colorize("#FFFFFF", "Bullet velocity: 30"),
range = 0,
wield_scale = {x=1.75,y=1.75,z=2.0},
inventory_image = "rangedweapons_milkor.png",
RW_gun_capabilities = {
gun_damage = {fleshy=15,knockback=25},
gun_crit = 9,
gun_critEffc = 3.0,
suitable_ammo = {{"rangedweapons:40mm",6}},
gun_skill = {"",1},
gun_magazine = "rangedweapons:shell_grenadedrop",
gun_icon = "rangedweapons_milkor_icon.png",
gun_unloaded = "rangedweapons:milkor_rld",
gun_cooling = "rangedweapons:milkor",
gun_velocity = 30,
gun_accuracy = 96,
gun_cooldown = 0.35,
gun_reload = 0.75,
gun_projectiles = 1,
gun_durability = 225,
gun_smokeSize = 15,
gun_gravity = 1,
gun_unload_sound = "rangedweapons_shell_insert",
gun_sound = "rangedweapons_rocket",
},
on_use = function(itemstack, user, pointed_thing)
rangedweapons_shoot_gun(itemstack, user)
return itemstack
end,
on_secondary_use = function(itemstack, user, pointed_thing)
rangedweapons_single_load_gun(itemstack, user)
return itemstack
end,
})