123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641 |
- ----------------------------
- ----------------------------
- if rweapons_gun_crafting == "true" then
- minetest.register_craft({
- output = "rangedweapons:aa12",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:diamondblock", "default:steel_ingot", "rangedweapons:plastic_sheet"},
- {"default:steel_ingot", "dye:black", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:aa12",
- recipe = {
- {"moreores:silver_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:diamondblock", "default:steel_ingot", "rangedweapons:plastic_sheet"},
- {"default:steel_ingot", "dye:black", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:ak47",
- recipe = {
- {"default:diamond", "default:steel_ingot", "group:tree"},
- {"group:tree", "default:mese", "default:steel_ingot"},
- {"default:steel_ingot", "", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:awp",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:diamondblock", "rangedweapons:gunsteel_ingot"},
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"dye:dark_green", "default:diamond", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:benelli",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:diamond", "default:steel_ingot"},
- {"rangedweapons:plastic_sheet", "default:diamond", "default:steel_ingot"},
- {"", "default:mese_crystal", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:beretta",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"", "default:mese_crystal", "rangedweapons:plastic_sheet"},
- {"", "", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:m1991",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"", "default:mese_crystal", "group:tree"},
- {"", "", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:deagle",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"rangedweapons:gunsteel_ingot", "default:diamond", "rangedweapons:plastic_sheet"},
- {"", "", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:golden_deagle",
- recipe = {
- {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
- {"default:gold_ingot", "rangedweapons:deagle", "default:gold_ingot"},
- {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:deagle",
- recipe = {
- {"moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot"},
- {"moreores:silver_ingot", "default:diamond", "rangedweapons:plastic_sheet"},
- {"", "", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:python",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"", "default:diamond", "rangedweapons:tree"},
- {"", "default:mese_crystal", "rangedweapons:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:python",
- recipe = {
- {"moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot"},
- {"", "default:diamond", "rangedweapons:tree"},
- {"", "default:mese_crystal", "rangedweapons:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:g36",
- recipe = {
- {"default:diamond", "default:mese", "default:diamond"},
- {"default:steel_ingot", "default:diamond", "default:steel_ingot"},
- {"default:steel_ingot", "", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:glock17",
- recipe = {
- {"rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet"},
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"", "default:diamond", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:jackhammer",
- recipe = {
- {"", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"default:mese", "default:steelblock", "default:diamondblock"},
- {"", "default:mese", "default:diamondblock"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:kriss_sv",
- recipe = {
- {"rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet"},
- {"default:gold_ingot", "default:mese_crystal", "rangedweapons:plastic_sheet"},
- {"rangedweapons:plastic_sheet", "default:gold_ingot", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:laser_blaster",
- recipe = {
- {"default:steel_ingot", "rangedweapons:gun_power_core", "default:steel_ingot"},
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"", "default:mese_crystal_fragment", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:forcegun",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:diamondblock", "default:mese"},
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- {"", "rangedweapons:gun_power_core", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:laser_rifle",
- recipe = {
- {"rangedweapons:ultra_gunsteel_ingot", "rangedweapons:gun_power_core", "rangedweapons:ultra_gunsteel_ingot"},
- {"rangedweapons:gun_power_core", "rangedweapons:ultra_gunsteel_ingot", "default:gold_ingot"},
- {"default:gold_ingot", "default:mese", "rangedweapons:ultra_gunsteel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:laser_shotgun",
- recipe = {
- {"rangedweapons:ultra_gunsteel_ingot", "rangedweapons:gun_power_core", "rangedweapons:ultra_gunsteel_ingot"},
- {"rangedweapons:gun_power_core", "rangedweapons:gun_power_core", "rangedweapons:ultra_gunsteel_ingot"},
- {"", "rangedweapons:ultra_gunsteel_ingot", "rangedweapons:ultra_gunsteel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:luger",
- recipe = {
- {"", "", "default:mese_crystal_fragment"},
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"", "default:mese_crystal_fragment", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:m16",
- recipe = {
- {"default:diamond", "default:steelblock", "default:steel_ingot"},
- {"default:steel_ingot", "default:diamond", "default:steel_ingot"},
- {"default:steel_ingot", "", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:m60",
- recipe = {
- {"default:diamond", "default:mese", "default:mese"},
- {"default:steel_ingot", "default:steelblock", "default:steelblock"},
- {"dye:black", "default:diamond", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:m79",
- recipe = {
- {"default:steel_ingot", "", "default:mese_crystal"},
- {"default:steelblock", "default:diamond", "group:tree"},
- {"group:tree", "group:tree", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:m200",
- recipe = {
- {"default:diamondblock", "default:steel_ingot", "default:diamondblock"},
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:diamond", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:makarov",
- recipe = {
- {"", "default:steel_ingot", "default:steel_ingot"},
- {"", "default:mese_crystal_fragment", "group:tree"},
- {"", "", "dye:black"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:milkor",
- recipe = {
- {"default:diamond", "default:steel_ingot", "default:diamond"},
- {"default:steel_ingot", "default:steelblock", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:minigun",
- recipe = {
- {"", "default:steelblock", "default:mese"},
- {"default:diamondblock", "default:diamondblock", "default:diamondblock"},
- {"default:steelblock", "default:steelblock", "default:steelblock"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:mp5",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:diamond", "default:steel_ingot"},
- {"default:steel_ingot", "rangedweapons:plastic_sheet", "dye:black"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:thompson",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:diamond"},
- {"group:tree", "group:tree", "default:steel_ingot"},
- {"default:steel_ingot", "default:diamond", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:mp40",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese_crystal_fragment", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:remington",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"group:tree", "default:mese_crystal", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:rpg",
- recipe = {
- {"default:diamond", "default:steel_ingot", ""},
- {"default:steelblock", "group:tree", "default:diamondblock"},
- {"default:diamond", "group:tree", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:rpk",
- recipe = {
- {"default:diamond", "rangedweapons:ak47", ""},
- {"default:steel_ingot", "default:steelblock", "group:tree"},
- {"", "default:diamond", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:scar",
- recipe = {
- {"default:diamond", "default:mese", "default:mese"},
- {"default:steel_ingot", "default:steel_ingot", "default:mese"},
- {"rangedweapons:plastic_sheet", "", "default:mese_crystal"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:spas12",
- recipe = {
- {"", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese", "default:diamond"},
- {"rangedweapons:plastic_sheet", "default:diamond", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:svd",
- recipe = {
- {"default:steel_ingot", "default:diamondblock", "default:steel_ingot"},
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"group:tree", "default:diamond", "group:tree"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:taurus",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:mese_crystal", "default:mese_crystal_fragment"},
- {"rangedweapons:gunsteel_ingot", "default:diamondblock", "rangedweapons:gunsteel_ingot"},
- {"", "rangedweapons:gunsteel_ingot", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:taurus",
- recipe = {
- {"moreores:silver_ingot", "default:mese_crystal", "default:mese_crystal_fragment"},
- {"moreores:silver_ingot", "default:diamondblock", "moreores:silver_ingot"},
- {"", "moreores:silver_ingot", "rangedweapons:plastic_sheet"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:tec9",
- recipe = {
- {"rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet", "rangedweapons:plastic_sheet"},
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese_crystal_fragment", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:tmp",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:mese_crystal_fragment", "default:steel_ingot"},
- {"", "dye:black", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:ump",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"rangedweapons:gunsteel_ingot", "default:diamond", "default:diamond"},
- {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:uzi",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
- {"default:diamond", "rangedweapons:plastic_sheet", "default:steel_ingot"},
- {"", "default:steel_ingot", ""},
- }
- })
- end
- ----------------------------------
- ----------------------------------
- if rweapons_other_weapon_crafting == "true" then
- minetest.register_craft({
- output = "rangedweapons:barrel",
- recipe = {
- {"default:wood", "tnt:gunpowder", "default:wood"},
- {"default:wood", "tnt:tnt", "default:wood"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:hand_grenade",
- recipe = {
- {"", "", "default:mese_crystal_fragment"},
- {"default:steel_ingot", "tnt:gunpowder", ""},
- {"tnt:gunpowder", "tnt:gunpowder", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:javelin 1",
- recipe = {
- {"default:diamond", "default:steel_ingot", ""},
- {"default:steel_ingot", "", "group:stick"},
- {"", "", "group:stick"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:wooden_shuriken 20",
- recipe = {
- {"", "group:wood", ""},
- {"group:wood", "", "group:wood"},
- {"", "group:wood", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:stone_shuriken 10",
- recipe = {
- {"", "default:cobble", ""},
- {"default:cobble", "", "default:cobble"},
- {"", "default:cobble", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:steel_shuriken 30",
- recipe = {
- {"", "default:steel_ingot", ""},
- {"default:steel_ingot", "", "default:steel_ingot"},
- {"", "default:steel_ingot", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:bronze_shuriken 35",
- recipe = {
- {"", "default:bronze_ingot", ""},
- {"default:bronze_ingot", "", "default:bronze_ingot"},
- {"", "default:bronze_ingot", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:golden_shuriken 42",
- recipe = {
- {"", "default:gold_ingot", ""},
- {"default:gold_ingot", "", "default:gold_ingot"},
- {"", "default:gold_ingot", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:mese_shuriken 55",
- recipe = {
- {"", "default:mese_crystal", ""},
- {"default:mese_crystal", "", "default:mese_crystal"},
- {"", "default:mese_crystal", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:diamond_shuriken 69",
- recipe = {
- {"", "default:diamond", ""},
- {"default:diamond", "", "default:diamond"},
- {"", "default:diamond", ""},
- }
- })
- end
- ------------------------------------
- ------------------------------------
- if rweapons_ammo_crafting == "true" then
- minetest.register_craft({
- output = "rangedweapons:9mm 40",
- recipe = {
- {"default:steel_ingot", "", ""},
- {"tnt:gunpowder", "", ""},
- {"default:copper_ingot", "", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:45acp 40",
- recipe = {
- {"","default:bronze_ingot", ""},
- {"default:gold_ingot","tnt:gunpowder", "default:gold_ingot"},
- {"","default:tin_ingot", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:10mm 60",
- recipe = {
- {"", "default:bronze_ingot", ""},
- {"default:steel_ingot", "tnt:gunpowder", "default:steel_ingot"},
- {"default:steel_ingot", "tnt:gunpowder", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:357 15",
- recipe = {
- {"default:copper_ingot", "", ""},
- {"tnt:gunpowder", "", ""},
- {"default:gold_ingot", "", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:50ae 15",
- recipe = {
- {"default:bronze_ingot", "default:coal_lump", "default:bronze_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:44 15",
- recipe = {
- {"default:bronze_ingot", "default:coal_lump", ""},
- {"tnt:gunpowder", "", ""},
- {"default:gold_ingot", "", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:762mm 50",
- recipe = {
- {"default:bronze_ingot", "tnt:gunpowder", "default:bronze_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:408cheytac 10",
- recipe = {
- {"default:bronze_ingot", "tnt:gunpowder", "default:bronze_ingot"},
- {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:556mm 90",
- recipe = {
- {"", "default:gold_ingot", ""},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:shell 12",
- recipe = {
- {"default:bronze_ingot", "default:steel_ingot", "default:bronze_ingot"},
- {"default:bronze_ingot", "tnt:gunpowder", "default:bronze_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:308winchester 15",
- recipe = {
- {"", "default:steel_ingot", ""},
- {"default:bronze_ingot", "tnt:gunpowder", "default:bronze_ingot"},
- {"default:gold_ingot", "tnt:gunpowder", "default:gold_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:40mm 5",
- recipe = {
- {"", "default:gold_ingot", ""},
- {"default:steel_ingot", "tnt:gunpowder", "default:steel_ingot"},
- {"tnt:gunpowder", "default:bronze_ingot", "tnt:gunpowder"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:rocket 1",
- recipe = {
- {"", "", "rangedweapons:40mm"},
- {"", "tnt:gunpowder", ""},
- {"default:steel_ingot", "", ""},
- }
- })
- end
- -------------------------------------
- -------------------------------------
- if rweapons_item_crafting == "true" then
- minetest.register_craft({
- output = "rangedweapons:generator",
- recipe = {
- {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gun_power_core", "rangedweapons:gunsteel_ingot"},
- {"rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot", "rangedweapons:gunsteel_ingot"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:gunsteel_ingot",
- recipe = {
- {"default:steel_ingot", "default:tin_ingot", "default:coal_lump"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:ultra_gunsteel_ingot",
- recipe = {
- {"", "default:mese_crystal", ""},
- {"default:gold_ingot", "rangedweapons:gunsteel_ingot", "default:gold_ingot"},
- {"", "default:diamond", ""},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:plastic_sheet",
- recipe = {
- {"group:tree", "default:coal_lump", "group:tree"},
- {"default:coal_lump", "group:tree", "default:coal_lump"},
- }
- })
- minetest.register_craft({
- output = "rangedweapons:gun_power_core",
- recipe = {
- {"rangedweapons:gunsteel_ingot", "default:goldblock", "rangedweapons:gunsteel_ingot"},
- {"default:diamondblock", "default:mese", "default:diamondblock"},
- {"rangedweapons:gunsteel_ingot", "default:goldblock", "rangedweapons:gunsteel_ingot"},
- }
- })
- end
|