123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- minetest.register_tool("rangedweapons:deagle_rld", {
- stack_max= 1,
- wield_scale = {x=1.25,y=1.25,z=1.5},
- description = "",
- range = 0,
- loaded_gun = "rangedweapons:deagle",
- groups = {not_in_creative_inventory = 1},
- inventory_image = "rangedweapons_deagle_rld.png",
- })
- minetest.register_tool("rangedweapons:deagle_r", {
- stack_max= 1,
- wield_scale = {x=1.25,y=1.25,z=1.5},
- description = "",
- range = 0,
- rw_next_reload = "rangedweapons:deagle",
- load_sound = "rangedweapons_handgun_mag_in",
- groups = {not_in_creative_inventory = 1},
- inventory_image = "rangedweapons_deagle_rld.png",
- })
- minetest.register_tool("rangedweapons:deagle", {
- description = "" ..core.colorize("#35cdff","Desert Eagle\n")..core.colorize("#FFFFFF", "Ranged damage: 11\n") ..core.colorize("#FFFFFF", "Accuracy: 85%\n") ..core.colorize("#FFFFFF", "knockback: 6\n") ..core.colorize("#FFFFFF", "Critical chance: 20%\n") ..core.colorize("#FFFFFF", "Critical efficiency: 3x\n")..core.colorize("#FFFFFF", "Reload delay: 0.6\n")..core.colorize("#FFFFFF", "Clip size: 9/8/7\n") ..core.colorize("#FFFFFF", "Ammunition: .357 Magnum rounds/.44 magnum rounds/.50AE catridges\n") ..core.colorize("#FFFFFF", "Rate of fire: 0.7\n") ..core.colorize("#FFFFFF", "Gun type: Magnum\n") ..core.colorize("#FFFFFF", "Block penetration: 5%\n")
- ..core.colorize("#FFFFFF", "penetration: 15%\n")..core.colorize("#FFFFFF", "Bullet velocity: 50"),
- wield_scale = {x=1.25,y=1.25,z=1.5},
- range = 0,
- inventory_image = "rangedweapons_deagle.png",
- RW_gun_capabilities = {
- gun_damage = {fleshy=11,knockback=6},
- gun_crit = 20,
- gun_critEffc = 2.2,
- suitable_ammo = {{"rangedweapons:357",9},{"rangedweapons:44",8},{"rangedweapons:50ae",7}},
- gun_skill = {"revolver_skill",40},
- gun_magazine = "rangedweapons:handgun_mag_white",
- gun_icon = "rangedweapons_deagle_icon.png",
- gun_unloaded = "rangedweapons:deagle_r",
- gun_cooling = "rangedweapons:deagle_rld",
- gun_velocity = 50,
- gun_accuracy = 85,
- gun_cooldown = 0.7,
- gun_reload = 0.6/1,
- gun_projectiles = 1,
- has_shell = 1,
- gun_durability = 900,
- gun_smokeSize = 7,
- gun_mob_penetration = 15,
- gun_node_penetration = 5,
- gun_unload_sound = "rangedweapons_handgun_mag_out",
- gun_sound = "rangedweapons_deagle",
- },
- on_secondary_use = function(itemstack, user, pointed_thing)
- rangedweapons_reload_gun(itemstack, user)
- return itemstack
- end,
- on_use = function(itemstack, user, pointed_thing)
- rangedweapons_shoot_gun(itemstack, user)
- return itemstack
- end,
- })
- minetest.register_tool("rangedweapons:golden_deagle_rld", {
- stack_max= 1,
- wield_scale = {x=1.25,y=1.25,z=1.5},
- description = "",
- range = 0,
- loaded_gun = "rangedweapons:golden_deagle",
- groups = {not_in_creative_inventory = 1},
- inventory_image = "rangedweapons_golden_deagle_rld.png",
- })
- minetest.register_tool("rangedweapons:golden_deagle_r", {
- stack_max= 1,
- wield_scale = {x=1.25,y=1.25,z=1.5},
- description = "",
- range = 0,
- rw_next_reload = "rangedweapons:golden_deagle",
- load_sound = "rangedweapons_handgun_mag_in",
- groups = {not_in_creative_inventory = 1},
- inventory_image = "rangedweapons_golden_deagle_rld.png",
- })
- minetest.register_tool("rangedweapons:golden_deagle", {
- description = "" ..core.colorize("#35cdff","Golden Desert Eagle\n")..core.colorize("#FFFFFF", "Ranged damage: 14\n") ..core.colorize("#FFFFFF", "Accuracy: 90%\n") ..core.colorize("#FFFFFF", "knockback: 6\n") ..core.colorize("#FFFFFF", "Critical chance: 23%\n") ..core.colorize("#FFFFFF", "Critical efficiency: 3x\n")..core.colorize("#FFFFFF", "Reload delay: 0.6\n")..core.colorize("#FFFFFF", "Clip size: 9/8/7\n") ..core.colorize("#FFFFFF", "Ammunition: .357 Magnum rounds/.44 magnum rounds/.50AE catridges\n") ..core.colorize("#FFFFFF", "Rate of fire: 0.75\n") ..core.colorize("#FFFFFF", "Gun type: Magnum\n") ..core.colorize("#FFFFFF", "Block penetration: 5%\n")
- ..core.colorize("#FFFFFF", "penetration: 15%\n")..core.colorize("#FFFFFF", "Bullet velocity: 50"),
- wield_scale = {x=1.25,y=1.25,z=1.5},
- range = 0,
- inventory_image = "rangedweapons_golden_deagle.png",
- RW_gun_capabilities = {
- gun_damage = {fleshy=14,knockback=6},
- gun_crit = 23,
- gun_critEffc = 2.2,
- suitable_ammo = {{"rangedweapons:357",9},{"rangedweapons:44",8},{"rangedweapons:50ae",7}},
- gun_skill = {"revolver_skill",38},
- gun_magazine = "rangedweapons:handgun_mag_white",
- gun_icon = "rangedweapons_golden_deagle_icon.png",
- gun_unloaded = "rangedweapons:golden_deagle_r",
- gun_cooling = "rangedweapons:golden_deagle_rld",
- gun_velocity = 50,
- gun_accuracy = 90,
- gun_cooldown = 0.75,
- gun_reload = 0.6/1,
- gun_projectiles = 1,
- has_shell = 1,
- gun_durability = 1000,
- gun_smokeSize = 7,
- gun_mob_penetration = 15,
- gun_node_penetration = 5,
- gun_unload_sound = "rangedweapons_handgun_mag_out",
- gun_sound = "rangedweapons_deagle",
- },
- on_secondary_use = function(itemstack, user, pointed_thing)
- rangedweapons_reload_gun(itemstack, user)
- return itemstack
- end,
- on_use = function(itemstack, user, pointed_thing)
- rangedweapons_shoot_gun(itemstack, user)
- return itemstack
- end,
- })
|