123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- -- Author: W3RQ01
- -- License: GPL 3.0
- minetest.register_tool("pro_weaponry:handle", {
- description = "Handle",
- inventory_image = "handle.png",
- wield_image = "handle.png",
- stack_max = 99,
- })
- minetest.register_craft({
- output = "pro_weaponry:handle",
- recipe = {
- {'','',''},
- {'default:stick','group:wool',''},
- {'','',''},
- }
- })
- minetest.register_tool("pro_weaponry:pole", {
- description = "Pole",
- inventory_image = "pole.png",
- wield_image = "pole.png",
- stack_max = 99,
- })
- minetest.register_craft({
- output = "pro_weaponry:handle",
- recipe = {
- {'','','default:stick'},
- {'','pro_weaponry:handle',''},
- {'default:stick','',''},
- }
- })
- minetest.register_tool("pro_weaponry:longsword_diamond", {
- description = "Diamond Longsword",
- inventory_image = "longsword_diamond.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=17},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:longsword_diamond",
- recipe = {
- {'','','default:diamond'},
- {'','default:diamond',''},
- {'default:diamond','pro_weaponry:handle','default:diamond'},
- }
- })
- minetest.register_tool("pro_weaponry:longsword_mese", {
- description = "Mese Longsword",
- inventory_image = "longsword_mese.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=120, maxlevel=3},
- },
- damage_groups = {fleshy=15},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:longsword_mese",
- recipe = {
- {'','','default:mese_crystal'},
- {'','default:mese_crystal',''},
- {'default:mese_crystal','pro_weaponry:handle','default:mese_crystal'},
- }
- })
- minetest.register_tool("pro_weaponry:longsword_iron", {
- description = "Iron Longsword",
- inventory_image = "longsword_iron.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=105, maxlevel=3},
- },
- damage_groups = {fleshy=13},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:longsword_iron",
- recipe = {
- {'','','default:iron_ingot'},
- {'','default:iron_ingot',''},
- {'default:iron_ingot','pro_weaponry:handle','default:iron_ingot'},
- }
- })
- minetest.register_tool("pro_weaponry:longsword_stone", {
- description = "Stone Longsword",
- inventory_image = "longsword_stone.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=90, maxlevel=3},
- },
- damage_groups = {fleshy=10},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:longsword_stone",
- recipe = {
- {'','','default:cobble'},
- {'','default:cobble',''},
- {'default:cobble','pro_weaponry:handle','default:cobble'},
- }
- })
- minetest.register_tool("pro_weaponry:saber_diamond", {
- description = "Diamond Saber",
- inventory_image = "saber_diamond.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 0.75,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=16},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:saber_diamond",
- recipe = {
- {'','default:diamond','default:diamond'},
- {'','default:diamond',''},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:saber_mese", {
- description = "Mese Saber",
- inventory_image = "saber_mese.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 0.75,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=120, maxlevel=3},
- },
- damage_groups = {fleshy=14},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:saber_mese",
- recipe = {
- {'','default:mese_crystal','default:mese_crystal'},
- {'','default:mese_crystal',''},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:saber_iron", {
- description = "Iron Saber",
- inventory_image = "saber_iron.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 0.75,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=105, maxlevel=3},
- },
- damage_groups = {fleshy=12},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:saber_iron",
- recipe = {
- {'','default:iron_ingot','default:iron_ingot'},
- {'','default:iron_ingot',''},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:saber_stone", {
- description = "Stone Saber",
- inventory_image = "saber_stone.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 0.75,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=90, maxlevel=3},
- },
- damage_groups = {fleshy=9},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:saber_stone",
- recipe = {
- {'','default:cobble','default:cobble'},
- {'','default:cobble',''},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:hammer_diamond", {
- description = "Diamond Battlehammer",
- inventory_image = "hammer_diamond.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 2,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=22},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:hammer_diamond",
- recipe = {
- {'default:diamond','default:diamond','default:diamond'},
- {'default:diamond','default:diamond','default:diamond'},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:hammer_mese", {
- description = "Mese Battlehammer",
- inventory_image = "hammer_mese.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 2,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=120, maxlevel=3},
- },
- damage_groups = {fleshy=18.5},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:hammer_mese",
- recipe = {
- {'default:mese_crystal','default:mese_crystal','default:mese_crystal'},
- {'default:mese_crystal','default:mese_crystal','default:mese_crystal'},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:hammer_iron", {
- description = "Iron Battlehammer",
- inventory_image = "hammer_iron.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 2,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=105, maxlevel=3},
- },
- damage_groups = {fleshy=15},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:hammer_diamond",
- recipe = {
- {'default:iron_ingot','default:iron_ingot','default:iron_ingot'},
- {'default:iron_ingot','default:iron_ingot','default:iron_ingot'},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:hammer_stone", {
- description = "Stone Battlehammer",
- inventory_image = "hammer_stone.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 2,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=90, maxlevel=3},
- },
- damage_groups = {fleshy=11.5},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:hammer_stone",
- recipe = {
- {'default:cobble','default:cobble','default:cobble'},
- {'default:cobble','default:cobble','default:cobble'},
- {'','pro_weaponry:handle',''},
- }
- })
- minetest.register_tool("pro_weaponry:katana_diamond", {
- description = "Diamond Katana",
- inventory_image = "katana_diamond.png",
- wield_scale = {x=1, y=2, z=1},
- tool_capabilities = {
- full_punch_interval = 0.5,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=16},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:katana_diamond",
- recipe = {
- {'','','default:diamond'},
- {'','default:diamond',''},
- {'pro_weaponry:handle','',''},
- }
- })
- minetest.register_tool("pro_weaponry:katana_mese", {
- description = "Mese Katana",
- inventory_image = "katana_mese.png",
- wield_scale = {x=1, y=2, z=1},
- tool_capabilities = {
- full_punch_interval = 0.5,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=120, maxlevel=3},
- },
- damage_groups = {fleshy=14},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:katana_mese",
- recipe = {
- {'','','default:mese_crystal'},
- {'','default:mese_crystal',''},
- {'pro_weaponry:handle','',''},
- }
- })
- minetest.register_tool("pro_weaponry:katana_iron", {
- description = "Iron Katana",
- inventory_image = "katana_iron.png",
- wield_scale = {x=1, y=2, z=1},
- tool_capabilities = {
- full_punch_interval = 0.5,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=105, maxlevel=3},
- },
- damage_groups = {fleshy=12},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:katana_iron",
- recipe = {
- {'','','default:iron_ingot'},
- {'','default:iron_ingot',''},
- {'pro_weaponry:handle','',''},
- }
- })
- minetest.register_tool("pro_weaponry:katana_wood", {
- description = "Wood Katana",
- inventory_image = "katana_wood.png",
- wield_scale = {x=1, y=2, z=1},
- tool_capabilities = {
- full_punch_interval = 0.5,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=40, maxlevel=3},
- },
- damage_groups = {fleshy=6.5},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:katana_wood",
- recipe = {
- {'','','default:wood'},
- {'','default:wood',''},
- {'pro_weaponry:handle','',''},
- }
- })
- minetest.register_tool("pro_weaponry:halberd_diamond", {
- description = "Diamond Halberd",
- inventory_image = "halberd_diamond.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1.7,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=20.5},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:halberd_diamond",
- recipe = {
- {'','','default:diamond'},
- {'default:diamond','default:diamond',''},
- {'default:diamond','pro_weaponry:pole',''},
- }
- })
- minetest.register_tool("pro_weaponry:halberd_mese", {
- description = "Mese Halberd",
- inventory_image = "halberd_mese.png",
- wield_scale = {x=2, y=3, z=1},
- tool_capabilities = {
- full_punch_interval = 1.7,
- max_drop_level=3,
- groupcaps={
- oddly_breakable_by_hand={times={[1]=2.00, [2]=1.20, [3]=0.20}, uses=150, maxlevel=3},
- },
- damage_groups = {fleshy=17},
- },
- sound = {breaks = "default_tool_breaks"},
- })
- minetest.register_craft({
- output = "pro_weaponry:halberd_mese",
- recipe = {
- {'','','default:mese_crystal'},
- {'default:mese_crystal','default:mese_crystal',''},
- {'default:mese_crystal','pro_weaponry:pole',''},
- }
- })
|