From 1712dfdc5067a08529d9d1bda7a39b52fffe1459 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 21 Feb 2017 15:13:10 +0530 Subject: [PATCH 01/15] Create README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0fd6ba9 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# scifi_nod +Minetest mod that adds scifi themed nodes + +**Adding Recipes for the unfinished scifi_nodes** From 262bbe1abe8c6b75945d058462172584cc83aade Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 21 Feb 2017 15:14:10 +0530 Subject: [PATCH 02/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fd6ba9..17d7aa6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# scifi_nod +# scifi_nodes Minetest mod that adds scifi themed nodes **Adding Recipes for the unfinished scifi_nodes** From 3405404affcd916a38c08238652e0bb1f9997e25 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 21 Feb 2017 15:26:35 +0530 Subject: [PATCH 03/15] Create crafts.lua --- crafts.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 crafts.lua diff --git a/crafts.lua b/crafts.lua new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/crafts.lua @@ -0,0 +1 @@ + From 16b1e549960a46737353b262b39eb1f79b5d4d90 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 21 Feb 2017 16:01:35 +0530 Subject: [PATCH 04/15] Update crafts.lua --- crafts.lua | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/crafts.lua b/crafts.lua index 8b13789..fc7f87e 100644 --- a/crafts.lua +++ b/crafts.lua @@ -1 +1,51 @@ +--CRAFTING RECIPES FOR SCIFI NODES +--4 basic plastic from 9 homedecor plastic sheet +minetest.register_craft({ + output = "scifi_nodes:white2 4", + recipe = { + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} + } +}) + +--4 plastic wall from 4 plastic +minetest.register_craft({ + output = "scifi_nodes:white 4", + recipe = { + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"", "", ""} + } +}) + +--4 white tile from 4 plastic +minetest.register_craft({ + output = "scifi_nodes:whitetile 4", + recipe = { + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"", "", ""} + } +}) + +--4 white tile2 from 4 plastic +minetest.register_craft({ + output = "scifi_nodes:whitetile 4", + recipe = { + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"", "", ""}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"} + } +}) + +--4 white octagon from 4 plastic +minetest.register_craft({ + output = "scifi_nodes:whitetile 4", + recipe = { + {"", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"", "scifi_nodes:white2", ""} + } +}) From 330da0206f5e688eb9ea1b0cb11734acbd511abc Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 21 Feb 2017 16:09:50 +0530 Subject: [PATCH 05/15] Update crafts.lua --- crafts.lua | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/crafts.lua b/crafts.lua index fc7f87e..68daf81 100644 --- a/crafts.lua +++ b/crafts.lua @@ -12,40 +12,40 @@ minetest.register_craft({ --4 plastic wall from 4 plastic minetest.register_craft({ - output = "scifi_nodes:white 4", - recipe = { - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"", "", ""} - } + output = "scifi_nodes:white 4", + recipe = { + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"", "", ""} + } }) --4 white tile from 4 plastic minetest.register_craft({ - output = "scifi_nodes:whitetile 4", + output = "scifi_nodes:tile 4", recipe = { - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, {"", "", ""} - } + } }) --4 white tile2 from 4 plastic minetest.register_craft({ output = "scifi_nodes:whitetile 4", recipe = { - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, {"", "", ""}, {"scifi_nodes:white2", "", "scifi_nodes:white2"} - } + } }) --4 white octagon from 4 plastic minetest.register_craft({ - output = "scifi_nodes:whitetile 4", - recipe = { - {"", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"", "scifi_nodes:white2", ""} - } + output = "scifi_nodes:whiteoct 4", + recipe = { + {"", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"", "scifi_nodes:white2", ""} + } }) From a6fc6e04ef8201fb8fdf4b45ce72b8a7165e340e Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Sat, 25 Feb 2017 22:54:06 +0530 Subject: [PATCH 06/15] Delete crafts.lua making new one and slowly uploading from my vim and command line because online git editor sucks :P --- crafts.lua | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 crafts.lua diff --git a/crafts.lua b/crafts.lua deleted file mode 100644 index 68daf81..0000000 --- a/crafts.lua +++ /dev/null @@ -1,51 +0,0 @@ ---CRAFTING RECIPES FOR SCIFI NODES - ---4 basic plastic from 9 homedecor plastic sheet -minetest.register_craft({ - output = "scifi_nodes:white2 4", - recipe = { - {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, - {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, - {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} - } -}) - ---4 plastic wall from 4 plastic -minetest.register_craft({ - output = "scifi_nodes:white 4", - recipe = { - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"", "", ""} - } -}) - ---4 white tile from 4 plastic -minetest.register_craft({ - output = "scifi_nodes:tile 4", - recipe = { - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"", "", ""} - } -}) - ---4 white tile2 from 4 plastic -minetest.register_craft({ - output = "scifi_nodes:whitetile 4", - recipe = { - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"", "", ""}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"} - } -}) - ---4 white octagon from 4 plastic -minetest.register_craft({ - output = "scifi_nodes:whiteoct 4", - recipe = { - {"", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"", "scifi_nodes:white2", ""} - } -}) From a2747ecf194b575eb1e5918561695dd6c187c471 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Sat, 25 Feb 2017 22:55:08 +0530 Subject: [PATCH 07/15] Add files via upload New crafts.lua file with ongoing recipes --- crafts.lua | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 crafts.lua diff --git a/crafts.lua b/crafts.lua new file mode 100644 index 0000000..1250bdf --- /dev/null +++ b/crafts.lua @@ -0,0 +1,71 @@ +-- CRAFTING RECIPES FOR SCIFI NODES + +-- 6 basic plastic from 9 homedecor plastic sheet +minetest.register_craft({ + output = "scifi_nodes:white2 6", + recipe = { + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} + } +}) + +-- 6 plastic wall from 6 plastic +minetest.register_craft({ + output = "scifi_nodes:white 6", + recipe = { + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"} + } +}) + +-- 6 white tile from 6 plastic +minetest.register_craft({ + output = "scifi_nodes:tile 6", + recipe = { + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"} + } +}) + +-- 4 white tile2 from 4 plastic +minetest.register_craft({ + output = "scifi_nodes:whitetile 4", + recipe = { + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"", "", ""} + } +}) + +-- 8 white octagon from 8 plastic +minetest.register_craft({ + output = "scifi_nodes:whiteoct 8", + recipe = { + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"} + } +}) + +-- 6 white wall base from 6 plastic and 3 black dye (because half is black not +-- full lol :P) +minetest.register_craft({ + output = "scifi_nodes:white 6", + recipe = { + {"scifi_nodes:white2 2", "scifi_nodes:white2 2", "scifi_nodes:white2 2"}, + {"dye:black", "dye:black", "dye:black"}, + {"", "", ""} + } +}) +-- 1 white keypad from 1 button and 1 plastic +minetest.register_craft({ + output = "scifi_nodes:white_pad", + recipe = { + {"mesecons_button:button_off", "scifi_nodes:white2", ""}, + {"", "", ""}, + {"", "", ""} + } +}) + From 984aa2ff1a7654ab382ffb8c1c097a86ce69373a Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Sat, 25 Feb 2017 22:57:45 +0530 Subject: [PATCH 08/15] Update crafts.lua --- crafts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crafts.lua b/crafts.lua index 1250bdf..19b8539 100644 --- a/crafts.lua +++ b/crafts.lua @@ -34,7 +34,7 @@ minetest.register_craft({ output = "scifi_nodes:whitetile 4", recipe = { {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, + {"scifi_nodes:white2", "scifi_nodes:white2", ""}, {"", "", ""} } }) From ff2c95fa35e4ec90a81737938ffc4bb5898c5311 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Thu, 2 Mar 2017 20:18:45 +0530 Subject: [PATCH 09/15] Update of white, black, blue and light nodes Updated all white, black and blue colored nodes. Some light nodes relevant to those. Some striped nodes and some other nodes like laptop, capsule etc. :) --- crafts.lua | 543 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 529 insertions(+), 14 deletions(-) diff --git a/crafts.lua b/crafts.lua index 19b8539..17afce6 100644 --- a/crafts.lua +++ b/crafts.lua @@ -19,12 +19,12 @@ minetest.register_craft({ } }) --- 6 white tile from 6 plastic +-- 6 white tile from 6 plastic and 1 black dye minetest.register_craft({ output = "scifi_nodes:tile 6", recipe = { {"scifi_nodes:white2", "", "scifi_nodes:white2"}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "dye:black", "scifi_nodes:white2"}, {"scifi_nodes:white2", "", "scifi_nodes:white2"} } }) @@ -33,39 +33,554 @@ minetest.register_craft({ minetest.register_craft({ output = "scifi_nodes:whitetile 4", recipe = { - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"scifi_nodes:white2", "scifi_nodes:white2", ""}, - {"", "", ""} + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"", "dye:black", ""}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"} } }) --- 8 white octagon from 8 plastic +-- 8 white octagon from 8 plastic and 1 black dye minetest.register_craft({ output = "scifi_nodes:whiteoct 8", recipe = { {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"}, - {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "dye:black", "scifi_nodes:white2"}, {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"} } }) --- 6 white wall base from 6 plastic and 3 black dye (because half is black not --- full lol :P) +-- 6 white wall base from 6 plastic and 3 black dye minetest.register_craft({ - output = "scifi_nodes:white 6", + output = "scifi_nodes:white_base 6", recipe = { {"scifi_nodes:white2 2", "scifi_nodes:white2 2", "scifi_nodes:white2 2"}, - {"dye:black", "dye:black", "dye:black"}, - {"", "", ""} + {"dye:black", "dye:black", "dye:black"} } }) + -- 1 white keypad from 1 button and 1 plastic minetest.register_craft({ output = "scifi_nodes:white_pad", recipe = { - {"mesecons_button:button_off", "scifi_nodes:white2", ""}, - {"", "", ""}, + {"mesecons_button:button_off", "scifi_nodes:white2"} + } +}) + +-- 1 black from 1 plastic and 1 black dye +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:black", + recipe = { + {"scifi_nodes:white2", "dye:black"} + } +}) + +-- 6 ceiling light from 2 plastic and 1 trap super glow glass +minetest.register_craft({ + output = "scifi_nodes:lightbar 6", + recipe = { + {"scifi_nodes:white2", "moreblocks:trap_super_glow_glass", "scifi_nodes:white2"} + } +}) + +-- 1 wall light from 2 ceiling light +minetest.register_craft({ + output = "scifi_nodes:light_dynamic", + recipe = { + {"scifi_nodes:lightbar", "scifi_nodes:lightbar"} + } +}) + +-- 6 white light stripe from 6 plastic, 2 blue dye, 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:whtlightbnd 6", + recipe = { + {"scifi_nodes:white2", "dye:blue", "scifi_nodes:white2"}, + {"", "scifi_nodes:lightbar", ""}, + {"scifi_nodes:white2", "dye:blue", "scifi_nodes:white2"} + } +}) + +-- 1 dark glass from 1 obsidian glass and 1 black dye +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:glass", + recipe = { + {"default:obsidian_glass", "dye:black"} + } +}) + +-- 6 tallscreen from 4 black wall, 2 obsidian glass and 1 cyan dye +minetest.register_craft({ + output = "scifi_nodes:tallscreen 6", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"default:obsidian_glass", "dye:cyan", "default:obsidian_glass"}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 6 widescreen from 4 black wall, 2 obsidian glass and 1 cyan dye +minetest.register_craft({ + output = "scifi_nodes:widescreen 6", + recipe = { + {"scifi_nodes:black", "default:obsidian_glass", "scifi_nodes:black"}, + {"", "dye:cyan", ""}, + {"scifi_nodes:black", "default:obsidian_glass", "scifi_nodes:black"} + } +}) + +-- 6 strong window from 3 dark glass, 3 plastic wall +minetest.register_craft({ + output = "scifi_nodes:windowstraight 6", + recipe = { + {"scifi_nodes:glass", "scifi_nodes:glass", "scifi_nodes:glass"}, + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"}, {"", "", ""} } }) +-- 6 strong window (black) from 3 dark glass, 3 black wall +minetest.register_craft({ + output = "scifi_nodes:windowstraight2 6", + recipe = { + {"scifi_nodes:glass", "scifi_nodes:glass", "scifi_nodes:glass"}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"}, + {"", "", ""} + } +}) + +-- 4 strong window corner from 3 dark glass, 5 plastic wall +minetest.register_craft({ + output = "scifi_nodes:windowcorner 4", + recipe = { + {"scifi_nodes:glass", "scifi_nodes:glass", "scifi_nodes:white"}, + {"scifi_nodes:glass", "", "scifi_nodes:white"}, + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"} + } +}) + +-- 4 strong window corner (black) from 3 dark glass, 5 black wall +minetest.register_craft({ + output = "scifi_nodes:windowcorner2 4", + recipe = { + {"scifi_nodes:glass", "scifi_nodes:glass", "scifi_nodes:black"}, + {"scifi_nodes:glass", "", "scifi_nodes:black"}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"} + } +}) + +-- 8 metal block from 8 black wall and 1 iron ingot +minetest.register_craft({ + output = "scifi_nodes:lighttop 8", + recipe = { + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"}, + {"scifi_nodes:black", "default:steel_ingot", "scifi_nodes:black"}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"} + } +}) + +-- 1 damaged black wall from 1 black wall +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:blackdmg", + recipe = { + {"scifi_nodes:black"} + } +}) + +-- 4 electronic screen from 4 plastic, 1 trap glow glass, 2 cyan dye, 2 +-- microcontroller +minetest.register_craft({ + output = "scifi_nodes:screen 4", + recipe = { + {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"}, + {"dye:cyan", "moreblocks:lightbar", "dye:cyan"}, + {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"} + } +}) + +-- 4 electronic screen2 from 4 plastic, 1 trap glow glass, 2 green dye, 2 +-- microcontroller +minetest.register_craft({ + output = "scifi_nodes:screen2 4", + recipe = { + {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"}, + {"dye:green", "moreblocks:lightbar", "dye:green"}, + {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"} + } +}) + +-- 4 black wall screen from 4 black wall and 1 electronic screen2 +minetest.register_craft({ + output = "scifi_nodes:black_screen 4", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"", "scifi_nodes:screen2", ""}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 1 dented metal block from 1 metal block +minetest.register_craft({ + type = "cooking", + output = "scifi_nodes:dent", + recipe = "scifi_nodes:lighttop", +}) + +-- 9 ladder 1 dented metal block +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:ladder 9", + recipe = { + {"scifi_nodes:dent"} + } +}) + +-- 4 black vent block from 4 black wall and 1 dented metal block +minetest.register_craft({ + output = "scifi_nodes:black_mesh 4", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 6 black detail from 6 black wall and 3 white dye +minetest.register_craft({ + output = "scifi_nodes:black_detail 6", + recipe = { + {"scifi_nodes:black", "dye:white", "scifi_nodes:black"}, + {"scifi_nodes:black", "dye:white", "scifi_nodes:black"}, + {"scifi_nodes:black", "dye:white", "scifi_nodes:black"} + } +}) + +-- 6 blue floor from 6 black wall, 1 blue dye, 1 white dye and 1 trap glow glass +minetest.register_craft({ + output = "scifi_nodes:bfloor 6", + recipe = { + {"dye:blue", "scifi_nodes:black", "dye:white"}, + {"scifi_nodes:black", "scifi_nodes:lightbar", "scifi_nodes:black"}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"} + } +}) + +-- 8 metal wall from 4 black wall and 4 dented metal block +minetest.register_craft({ + output = "scifi_nodes:wall 8", + recipe = { + {"scifi_nodes:black", "scifi_nodes:dent", "scifi_nodes:black"}, + {"scifi_nodes:dent", "", "scifi_nodes:dent"}, + {"scifi_nodes:black", "scifi_nodes:dent", "scifi_nodes:black"} + } +}) + +-- 6 vent from 6 dented metal block +minetest.register_craft({ + output = "scifi_nodes:vent2 6", + recipe = { + {"scifi_nodes:dent", "scifi_nodes:dent", "scifi_nodes:dent"}, + {"", "", ""}, + {"scifi_nodes:dent", "scifi_nodes:dent", "scifi_nodes:dent"} + } +}) + +-- 6 black vent from 6 black wall +minetest.register_craft({ + output = "scifi_nodes:blackvent 6", + recipe = { + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"}, + {"", "", ""}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"} + } +}) + +-- 1 hazard stripe from 1 black wall and 2 yellow dye +minetest.register_craft({ + output = "scifi_nodes:stripes", + recipe = { + {"dye:yellow", "", ""}, + {"", "scifi_nodes:black", ""}, + {"", "", "dye:yellow"} + } +}) + +-- 1 laptop from 2 black, 1 widescreen, 1 black detail, 1 microcontroller, 1 +-- mesecon button +minetest.register_craft({ + output = "scifi_nodes:laptop_closed", + recipe = { + {"scifi_nodes:black", "scifi_nodes:widescreen"}, + {"mesecons_microcontroller:microcontroller0000", "scifi_nodes:black_detail"}, + {"scifi_nodes:black", "mesecons_button:button_off"} + } +}) + +-- 1 keyboard and monitor from 3 black, 1 widescreen, 1 black detail, 1 microcontroller +minetest.register_craft({ + output = "scifi_nodes:keysmonitor", + recipe = { + {"scifi_nodes:black", "scifi_nodes:widescreen", "scifi_nodes:black"}, + {"mesecons_microcontroller:microcontroller0000", "scifi_nodes:black_detail", "mesecons_microcontroller:microcontroller0000"} + } +}) + +-- 4 black tile from 4 black and 1 white dye +minetest.register_craft({ + output = "scifi_nodes:blacktile 4", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"", "dye:white", ""}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 4 black tile2 from 4 black +minetest.register_craft({ + output = "scifi_nodes:blacktile2 4", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"", "", ""}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 4 blackplate from 4 black and 1 dent +minetest.register_craft({ + output = "scifi_nodes:blackplate 4", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 8 black octagon from 8 black and 1 white dye +minetest.register_craft({ + output = "scifi_nodes:blackoct 8", + recipe = { + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"}, + {"scifi_nodes:black", "dye:white", "scifi_nodes:black"}, + {"scifi_nodes:black", "scifi_nodes:black", "scifi_nodes:black"} + } +}) + +-- 4 damaged black wall (stripes) from 4 damaged black wall and 1 hazard stripe +minetest.register_craft({ + output = "scifi_nodes:blackdmgstripe 4", + recipe = { + {"scifi_nodes:blackdmg", "", "scifi_nodes:blackdmg"}, + {"", "scifi_nodes:stripes", ""}, + {"scifi_nodes:blackdmg", "", "scifi_nodes:blackdmg"} + } +}) + +-- 1 blink from 1 black,1 dented metal block, 1 mesecon torch and 4 mesecon +minetest.register_craft({ + output = "scifi_nodes:blink", + recipe = { + {"", "scifi_nodes:black", ""}, + {"mesecons:wire_00000000_off", "scifi_nodes:dent", "mesecons_torch:mesecon_torch_on"}, + {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"} + } +}) + +-- 4 black light stripe from 4 black, 2 white dye, 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:blklt2 6", + recipe = { + {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"dye:white", "scifi_nodes:lightbar", "dye:white"}, + {"scifi_nodes:black", "", "scifi_nodes:black"} + } +}) + +-- 4 metal mesh from 4 metal block +minetest.register_craft({ + output = "scifi_nodes:mesh 4", + recipe = { + {"", "scifi_nodes:lighttop", ""}, + {"scifi_nodes:lighttop", "", "scifi_nodes:lighttop"}, + {"", "scifi_nodes:lighttop", ""} + } +}) + +-- 4 metal floormesh from 4 metal block +minetest.register_craft({ + output = "scifi_nodes:mesh2 4", + recipe = { + {"scifi_nodes:lighttop", "", "scifi_nodes:lighttop"}, + {"", "", ""}, + {"scifi_nodes:lighttop", "", "scifi_nodes:lighttop"} + } +}) + +-- 1 storage box from 8 dented metal block +minetest.register_craft({ + output = "scifi_nodes:box", + recipe = { + {"scifi_nodes:dent", "scifi_nodes:dent", "scifi_nodes:dent"}, + {"scifi_nodes:dent", "", "scifi_nodes:dent"}, + {"scifi_nodes:dent", "scifi_nodes:dent", "scifi_nodes:dent"} + } +}) + +-- 6 blue metal from 6 plastic, 2 blue dye, 1 dented metal block +minetest.register_craft({ + output = "scifi_nodes:bluemetal 6", + recipe = { + {"scifi_nodes:white2", "dye:blue", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "scifi_nodes:dent", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "dye:blue", "scifi_nodes:white2"} + } +}) + +-- 6 blue bars from 6 blue metal +minetest.register_craft({ + output = "scifi_nodes:bluebars 6", + recipe = { + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"}, + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"}, + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"} + } +}) + +-- 4 blue tile from 4 blue metal +minetest.register_craft({ + output = "scifi_nodes:bluetile 4", + recipe = { + {"scifi_nodes:bluemetal", "scifi_nodes:bluemetal"}, + {"scifi_nodes:bluemetal", "scifi_nodes:bluemetal"} + } +}) + +-- 4 blue metal block from 4 blue metal +minetest.register_craft({ + output = "scifi_nodes:blue_square 4", + recipe = { + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"}, + {"", "", ""}, + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"} + } +}) + +-- 4 blue lines from 4 black plate and 1 blue dye +minetest.register_craft({ + output = "scifi_nodes:blue 4", + recipe = { + {"scifi_nodes:blackplate", "", "scifi_nodes:blackplate"}, + {"", "dye:blue", ""}, + {"scifi_nodes:blackplate", "", "scifi_nodes:blackplate"} + } +}) + +-- 1 blue metal light from 1 blue metal and 1 lightbar +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:blumetlight", + recipe = { + {"scifi_nodes:bluemetal", "scifi_nodes:lightbar"} + } +}) + +-- 4 blue stripe light from 4 blue metal and 1 light bar +minetest.register_craft({ + output = "scifi_nodes:blumetstr 4", + recipe = { + {"scifi_nodes:bluemetal", "scifi_nodes:lightbar", "scifi_nodes:bluemetal"}, + {"scifi_nodes:bluemetal", "", "scifi_nodes:bluemetal"} + } +}) + +-- 6 capsule from 1 plastic, 1 glass, 1 orange dye, 1 green dye and +-- 1 cyan dye +minetest.register_craft({ + output = "scifi_nodes:capsule 6", + recipe = { + {"", "dye:orange", ""}, + {"scifi_nodes:glass", "dye:green", "scifi_nodes:white2"}, + {"", "dye:cyan", ""} + } +}) + +-- 9 disc from 1 plastic and 1 blue dye +minetest.register_craft({ + type = "shapeless", + output = "scifi_nodes:disc 9", + recipe = { + {"scifi_nodes:white2", "dye:blue"} + } +}) + +-- 6 disc shelves from 3 dented metal block and 6 disc +minetest.register_craft({ + output = "scifi_nodes:discs 6", + recipe = { + {"scifi_nodes:disc", "scifi_nodes:disc", "scifi_nodes:disc"}, + {"scifi_nodes:dent", "scifi_nodes:dent", "scifi_nodes:dent"}, + {"scifi_nodes:disc", "scifi_nodes:disc", "scifi_nodes:disc"} + } +}) + +-- 6 bluelightbox from 6 metal block, 2 blue dye and 1 light bar +minetest.register_craft({ + output = "scifi_nodes:light 6", + recipe = { + {"scifi_nodes:lighttop", "dye:blue", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "scifi_nodes:lightbar", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "dye:blue", "scifi_nodes:lighttop"} + } +}) + +-- 4 blue octagon glass from 4 glass, 2 blue dye and 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:octbl 4", + recipe = { + {"dye:blue", "scifi_nodes:glass", ""}, + {"scifi_nodes:glass", "scifi_nodes:lightbar", "scifi_nodes:glass"}, + {"", "scifi_nodes:glass", "dye:blue"} + } +}) + +-- 4 wall monitor from 4 glass, 1 black wall +minetest.register_craft({ + output = "scifi_nodes:monitorwall 4", + recipe = { + {"scifi_nodes:glass", "", "scifi_nodes:glass"}, + {"", "scifi_nodes:black", ""}, + {"scifi_nodes:glass", "", "scifi_nodes:glass"} + } +}) + +-- 1 microscope from 2 glass, 1 plastic +minetest.register_craft({ + output = "scifi_nodes:microscope", + recipe = { + {"scifi_nodes:glass"}, + {"scifi_nodes:white2"}, + {"scifi_nodes:glass"} + } +}) + +-- 4 Blue wall light from 4 plastic, 1 wall light, 2 blue dye +minetest.register_craft({ + output = "scifi_nodes:bluwllight 4", + recipe = { + {"scifi_nodes:white2", "", "scifi_nodes:white2"}, + {"dye:blue", "scifi_nodes:light_dynamic", "dye:blue"}, + {"scifi_nodes:white2", "", "scifi_nodes:white2"} + } +}) + +-- 6 twin lights from 6 black vent, 3 wall lights +minetest.register_craft({ + output = "scifi_nodes:lightstp 6", + recipe = { + {"scifi_nodes:blackvent", "scifi_nodes:blackvent", "scifi_nodes:blackvent"}, + {"scifi_nodes:light_dynamic", "scifi_nodes:light_dynamic", "scifi_nodes:light_dynamic"}, + {"scifi_nodes:blackvent", "scifi_nodes:blackvent", "scifi_nodes:blackvent"} + } +}) + From 022a82cd37b174452142ae3be2f6b084341f7e96 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Thu, 2 Mar 2017 20:22:08 +0530 Subject: [PATCH 10/15] added crafts.lua location to init file --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 945ab34..820af86 100644 --- a/init.lua +++ b/init.lua @@ -775,4 +775,5 @@ dofile(minetest.get_modpath("scifi_nodes").."/panes.lua") end dofile(minetest.get_modpath("scifi_nodes").."/doors.lua") dofile(minetest.get_modpath("scifi_nodes").."/nodeboxes.lua") -dofile(minetest.get_modpath("scifi_nodes").."/models.lua") \ No newline at end of file +dofile(minetest.get_modpath("scifi_nodes").."/models.lua") +dofile(minetest.get_modpath("scifi_nodes").."/crafts.lua") From 3994bc42a2a920aa568870e60c9dd62425eb9585 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Thu, 2 Mar 2017 21:58:31 +0530 Subject: [PATCH 11/15] correction of some recipe problem and update corrected 2 recipe problems and updated both crafts and init files. --- crafts.lua | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/crafts.lua b/crafts.lua index 17afce6..7212f87 100644 --- a/crafts.lua +++ b/crafts.lua @@ -53,8 +53,9 @@ minetest.register_craft({ minetest.register_craft({ output = "scifi_nodes:white_base 6", recipe = { - {"scifi_nodes:white2 2", "scifi_nodes:white2 2", "scifi_nodes:white2 2"}, - {"dye:black", "dye:black", "dye:black"} + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"}, + {"dye:black", "dye:black", "dye:black"}, + {"scifi_nodes:white2", "scifi_nodes:white2", "scifi_nodes:white2"} } }) @@ -68,7 +69,6 @@ minetest.register_craft({ -- 1 black from 1 plastic and 1 black dye minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:black", recipe = { {"scifi_nodes:white2", "dye:black"} @@ -93,7 +93,7 @@ minetest.register_craft({ -- 6 white light stripe from 6 plastic, 2 blue dye, 1 lightbar minetest.register_craft({ - output = "scifi_nodes:whtlightbnd 6", + output = "scifi_nodes:whtlightbnd 4", recipe = { {"scifi_nodes:white2", "dye:blue", "scifi_nodes:white2"}, {"", "scifi_nodes:lightbar", ""}, @@ -103,7 +103,6 @@ minetest.register_craft({ -- 1 dark glass from 1 obsidian glass and 1 black dye minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:glass", recipe = { {"default:obsidian_glass", "dye:black"} @@ -182,7 +181,6 @@ minetest.register_craft({ -- 1 damaged black wall from 1 black wall minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:blackdmg", recipe = { {"scifi_nodes:black"} @@ -195,7 +193,7 @@ minetest.register_craft({ output = "scifi_nodes:screen 4", recipe = { {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"}, - {"dye:cyan", "moreblocks:lightbar", "dye:cyan"}, + {"dye:cyan", "scifi_nodes:lightbar", "dye:cyan"}, {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"} } }) @@ -206,7 +204,7 @@ minetest.register_craft({ output = "scifi_nodes:screen2 4", recipe = { {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"}, - {"dye:green", "moreblocks:lightbar", "dye:green"}, + {"dye:green", "scifi_nodes:lightbar", "dye:green"}, {"scifi_nodes:white2", "mesecons_microcontroller:microcontroller0000", "scifi_nodes:white2"} } }) @@ -230,7 +228,6 @@ minetest.register_craft({ -- 9 ladder 1 dented metal block minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:ladder 9", recipe = { {"scifi_nodes:dent"} @@ -478,7 +475,6 @@ minetest.register_craft({ -- 1 blue metal light from 1 blue metal and 1 lightbar minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:blumetlight", recipe = { {"scifi_nodes:bluemetal", "scifi_nodes:lightbar"} @@ -507,7 +503,6 @@ minetest.register_craft({ -- 9 disc from 1 plastic and 1 blue dye minetest.register_craft({ - type = "shapeless", output = "scifi_nodes:disc 9", recipe = { {"scifi_nodes:white2", "dye:blue"} From fe427ee989e0cd507a4736e66e5b156a2203b78c Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Thu, 2 Mar 2017 22:06:53 +0530 Subject: [PATCH 12/15] Updated the depends file Updated the dependencies of this mod on other. Very few but needed ones. --- depends.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index a7c448f..c072e30 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,8 @@ default -xpanes? \ No newline at end of file +xpanes? +moreblocks +mesecons +mesecons_microcontroller +mesecons_button +mesecons_torch +dye \ No newline at end of file From 638a31b6c17f2fb7a28d91b4bbfbaf0b328a3c11 Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Thu, 2 Mar 2017 22:10:33 +0530 Subject: [PATCH 13/15] Add files via upload --- depends.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index c072e30..77e5ca1 100644 --- a/depends.txt +++ b/depends.txt @@ -1,8 +1,9 @@ default xpanes? moreblocks +homedecor mesecons mesecons_microcontroller mesecons_button mesecons_torch -dye \ No newline at end of file +dye From 460729211e5b1fa1cb7cd72e84c6563423e69bdc Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Mon, 6 Mar 2017 19:05:32 +0530 Subject: [PATCH 14/15] More recipes and some changes Created recipes for other blocks and updated some of those nodes, where light is written in description but they have no light. Those which are made of metals but breakable by hand lol :P :) Changed only one thing in nodeboxes for ownership of the itemholder just like pedestal. --- crafts.lua | 583 +++++++++++++++++++++++++++++++++++++++++++++++++- init.lua | 13 +- models.lua | 8 +- nodeboxes.lua | 40 +++- 4 files changed, 621 insertions(+), 23 deletions(-) diff --git a/crafts.lua b/crafts.lua index 7212f87..d4c8901 100644 --- a/crafts.lua +++ b/crafts.lua @@ -209,13 +209,13 @@ minetest.register_craft({ } }) --- 4 black wall screen from 4 black wall and 1 electronic screen2 +-- 4 black wall screen from 4 black meshes and 1 electronic screen2 minetest.register_craft({ output = "scifi_nodes:black_screen 4", recipe = { - {"scifi_nodes:black", "", "scifi_nodes:black"}, + {"scifi_nodes:black_mesh", "", "scifi_nodes:black_mesh"}, {"", "scifi_nodes:screen2", ""}, - {"scifi_nodes:black", "", "scifi_nodes:black"} + {"scifi_nodes:black_mesh", "", "scifi_nodes:black_mesh"} } }) @@ -234,12 +234,12 @@ minetest.register_craft({ } }) --- 4 black vent block from 4 black wall and 1 dented metal block +-- 6 black vent block from 4 black wall and 1 dented metal block minetest.register_craft({ - output = "scifi_nodes:black_mesh 4", + output = "scifi_nodes:black_mesh 6", recipe = { {"scifi_nodes:black", "", "scifi_nodes:black"}, - {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:dent", "", "scifi_nodes:dent"}, {"scifi_nodes:black", "", "scifi_nodes:black"} } }) @@ -579,3 +579,574 @@ minetest.register_craft({ } }) +-- 1 black wallpanel from 1 red, 1 green, 1 yellow dye, 1 microcontroller +-- and one black wall +minetest.register_craft({ + output = "scifi_nodes:black_lights", + recipe = { + {"dye:red", "dye:green", "dye:yellow"}, + {"mesecons_microcontroller:microcontroller0000", "scifi_nodes:black", "mesecons_microcontroller:microcontroller0000"} + } +}) + +-- 4 Doom light from 4 red dye and 4 black +minetest.register_craft({ + output = "scifi_nodes:doomlight 4", + recipe = { + {"dye:red", "scifi_nodes:black", "dye:red"}, + {"scifi_nodes:black", "scifi_nodes:lightbar", "scifi_nodes:black"}, + {"dye:red", "scifi_nodes:black", "dye:red"} + } +}) + +-- 6 Doom wall1 from 4 white wall, 2 black wall, 1 red dye +minetest.register_craft({ + output = "scifi_nodes:doomwall1 6", + recipe = { + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"}, + {"scifi_nodes:black", "dye:red", "scifi_nodes:black"}, + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"} + } +}) + +-- 6 Doom wall2 from 4 white wall, 2 black wall, 1 green dye +minetest.register_craft({ + output = "scifi_nodes:doomwall2 6", + recipe = { + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"}, + {"scifi_nodes:black", "dye:green", "scifi_nodes:black"}, + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"} + } +}) + +-- 6 Doom wall3 from 4 white wall, 2 black wall, 1 grey dye +minetest.register_craft({ + output = "scifi_nodes:doomwall3 6", + recipe = { + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"}, + {"scifi_nodes:black", "dye:red", "scifi_nodes:black"}, + {"scifi_nodes:white", "scifi_nodes:white", "scifi_nodes:white"} + } +}) + +-- 4 fan from 4 vent, 4 plastic sheet, 1 red dye +minetest.register_craft({ + output = "scifi_nodes:fan 4", + recipe = { + {"scifi_nodes:vent2", "homedecor:plastic_sheeting", "scifi_nodes:vent2"}, + {"homedecor:plastic_sheeting", "dye:red", "homedecor:plastic_sheeting"}, + {"scifi_nodes:vent2", "homedecor:plastic_sheeting", "scifi_nodes:vent2"} + } +}) + +-- 6 green metal from 6 plastic, 2 green dye, 1 dented metal block +minetest.register_craft({ + output = "scifi_nodes:greenmetal 6", + recipe = { + {"scifi_nodes:white2", "dye:green", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "scifi_nodes:dent", "scifi_nodes:white2"}, + {"scifi_nodes:white2", "dye:green", "scifi_nodes:white2"} + } +}) + +-- 4 green lines from 4 black plate and 1 green dye +minetest.register_craft({ + output = "scifi_nodes:green 4", + recipe = { + {"scifi_nodes:blackplate", "", "scifi_nodes:blackplate"}, + {"", "dye:green", ""}, + {"scifi_nodes:blackplate", "", "scifi_nodes:blackplate"} + } +}) + +-- 6 green pipe from 6 green metal and 1 vent +minetest.register_craft({ + output = "scifi_nodes:grnpipe 6", + recipe = { + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"}, + {"scifi_nodes:greenmetal", "scifi_nodes:vent2", "scifi_nodes:greenmetal"}, + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"} + } +}) + +-- 1 broken green pipe from 1 green pipe +minetest.register_craft({ + output = "scifi_nodes:grnpipe2", + recipe = { + {"scifi_nodes:grnpipe"} + } +}) + +-- 6 green lightbox from 6 metal block, 2 green dye and 1 light bar +minetest.register_craft({ + output = "scifi_nodes:green_light 6", + recipe = { + {"scifi_nodes:lighttop", "dye:green", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "scifi_nodes:lightbar", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "dye:green", "scifi_nodes:lighttop"} + } +}) + +-- 6 green tubes from 6 green pipe +minetest.register_craft({ + output = "scifi_nodes:greentubes 6", + recipe = { + {"scifi_nodes:grnpipe", "", "scifi_nodes:grnpipe"}, + {"scifi_nodes:grnpipe", "", "scifi_nodes:grnpipe"}, + {"scifi_nodes:grnpipe", "", "scifi_nodes:grnpipe"} + } +}) + +-- 4 green metal wall2 from 4 green metal, 1 white dye +minetest.register_craft({ + output = "scifi_nodes:greenmetal2 4", + recipe = { + {"scifi_nodes:greenmetal", "dye:white", "scifi_nodes:greenmetal"}, + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"} + } +}) + +-- 6 green wall lights2 from 6 green metal, 2 green dye, 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:greenlights2 6", + recipe = { + {"scifi_nodes:greenmetal", "scifi_nodes:greenmetal", "scifi_nodes:greenmetal"}, + {"dye:green", "scifi_nodes:lightbar", "dye:green"}, + {"scifi_nodes:greenmetal", "scifi_nodes:greenmetal", "scifi_nodes:greenmetal"} + } +}) + +-- 6 green wall lights from 6 green metal2, 2 green dye, 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:greenlights 6", + recipe = { + {"scifi_nodes:greenmetal2", "scifi_nodes:greenmetal2", "scifi_nodes:greenmetal2"}, + {"dye:green", "scifi_nodes:lightbar", "dye:green"}, + {"scifi_nodes:greenmetal2", "scifi_nodes:greenmetal2", "scifi_nodes:greenmetal2"} + } +}) + +-- 4 green light bar from 4 green metal, 2 green dye, 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:greenbar 4", + recipe = { + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"}, + {"dye:green", "scifi_nodes:lightbar", "dye:green"}, + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"} + } +}) + +-- 4 green metal block from 4 green metal +minetest.register_craft({ + output = "scifi_nodes:green_square 4", + recipe = { + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"}, + {"", "", ""}, + {"scifi_nodes:greenmetal", "", "scifi_nodes:greenmetal"} + } +}) + +-- 4 green octagon glass from 4 glass, 2 green dye and 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:octgrn 4", + recipe = { + {"dye:green", "scifi_nodes:glass", ""}, + {"scifi_nodes:glass", "scifi_nodes:lightbar", "scifi_nodes:glass"}, + {"", "scifi_nodes:glass", "dye:green"} + } +}) + +-- 1 grey from 1 plastic and 1 grey dye +minetest.register_craft({ + output = "scifi_nodes:grey", + recipe = { + {"scifi_nodes:white2", "dye:grey"} + } +}) + +-- 4 grey metal block from 4 grey and 1 dented metal block +minetest.register_craft({ + output = "scifi_nodes:grey_square 4", + recipe = { + {"scifi_nodes:grey", "", "scifi_nodes:grey"}, + {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:grey", "", "scifi_nodes:grey"} + } +}) + +-- 6 grey bars from 4 grey and 2 grey metal block +minetest.register_craft({ + output = "scifi_nodes:greybars 6", + recipe = { + {"scifi_nodes:grey", "", "scifi_nodes:grey"}, + {"scifi_nodes:grey_square", "", "scifi_nodes:grey_square"}, + {"scifi_nodes:grey", "", "scifi_nodes:grey"} + } +}) + +-- 6 grey wall bolts from 4 grey wall and 2 grey metal block +minetest.register_craft({ + output = "scifi_nodes:greybolts 6", + recipe = { + {"scifi_nodes:grey_square", "scifi_nodes:grey", "scifi_nodes:grey_square"}, + {"scifi_nodes:grey", "scifi_nodes:grey", "scifi_nodes:grey"} + } +}) + +-- 4 grey wall dots from 4 grey wall and 1 white dye, 1 grey dye +minetest.register_craft({ + output = "scifi_nodes:greydots 4", + recipe = { + {"dye:white", "scifi_nodes:grey", "dye:grey"}, + {"scifi_nodes:grey", "scifi_nodes:grey", "scifi_nodes:grey"} + } +}) + +-- 6 grey power pipe from 6 grey and 2 green dye and 1 light bar +minetest.register_craft({ + output = "scifi_nodes:greygreenbar 6", + recipe = { + {"scifi_nodes:grey", "scifi_nodes:grey", "scifi_nodes:grey"}, + {"dye:green", "scifi_nodes:lightbar", "dye:green"}, + {"scifi_nodes:grey", "scifi_nodes:grey", "scifi_nodes:grey"} + } +}) + +-- 4 grey tile from 4 grey and 1 black dye and 1 white dye +minetest.register_craft({ + output = "scifi_nodes:greytile 4", + recipe = { + {"scifi_nodes:grey", "dye:black", "scifi_nodes:grey"}, + {"", "", ""}, + {"scifi_nodes:grey", "dye:white", "scifi_nodes:grey"} + } +}) + +-- 4 metal table from 2 grey and 2 dented metal block +minetest.register_craft({ + output = "scifi_nodes:table 4", + recipe = { + {"scifi_nodes:grey", "scifi_nodes:dent", "scifi_nodes:grey"}, + {"", "scifi_nodes:dent", ""} + } +}) + +-- 8 doom floor from 4 plastic, 1 black dye, 4 stones +minetest.register_craft({ + output = "scifi_nodes:octofloor 8", + recipe = { + {"scifi_nodes:white2", "default:stone", "scifi_nodes:white2"}, + {"default:stone", "dye:black", "default:stone"}, + {"scifi_nodes:white2", "default:stone", "scifi_nodes:white2"} + } +}) + +-- 8 brown doom floor from 4 plastic, 1 black dye, 4 woods +minetest.register_craft({ + output = "scifi_nodes:octofloor2 8", + recipe = { + {"scifi_nodes:white2", "default:wood", "scifi_nodes:white2"}, + {"default:wood", "dye:black", "default:wood"}, + {"scifi_nodes:white2", "default:wood", "scifi_nodes:white2"} + } +}) + +-- 4 purple octagon glass from 4 glass, 1 red dye, 1 blue dye and 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:octppl 4", + recipe = { + {"dye:red", "scifi_nodes:glass", ""}, + {"scifi_nodes:glass", "scifi_nodes:lightbar", "scifi_nodes:glass"}, + {"", "scifi_nodes:glass", "dye:blue"} + } +}) + +-- 4 orange octagon glass from 4 glass, 2 orange dye and 1 lightbar +minetest.register_craft({ + output = "scifi_nodes:octrng 4", + recipe = { + {"dye:orange", "scifi_nodes:glass", ""}, + {"scifi_nodes:glass", "scifi_nodes:lightbar", "scifi_nodes:glass"}, + {"", "scifi_nodes:glass", "dye:orange"} + } +}) + +-- 1 purple node from 1 plastic, 1 blue dye and 1 red dye +minetest.register_craft({ + output = "scifi_nodes:purple", + recipe = { + {"dye:red", "scifi_nodes:white2", "dye:blue"} + } +}) + +-- 4 purple tile from 4 purple node +minetest.register_craft({ + output = "scifi_nodes:pplblk 4", + recipe = { + {"scifi_nodes:purple", "", "scifi_nodes:purple"}, + {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:purple", "", "scifi_nodes:purple"} + } +}) + +-- 6 purple window from 2 purple node, 1 orange octagon glass +minetest.register_craft({ + output = "scifi_nodes:pplwndw 6", + recipe = { + {"scifi_nodes:purple", "scifi_nodes:octrng", "scifi_nodes:purple"} + } +}) + +-- 6 purple wall4 from 6 purple nodes, 3 white dyes +minetest.register_craft({ + output = "scifi_nodes:pplwll4 6", + recipe = { + {"dye:white", "dye:white", "dye:white"}, + {"scifi_nodes:purple", "scifi_nodes:purple", "scifi_nodes:purple"}, + {"scifi_nodes:purple", "scifi_nodes:purple", "scifi_nodes:purple"} + } +}) + +-- 6 purple wall3 from 6 purple nodes, 3 white dyes +minetest.register_craft({ + output = "scifi_nodes:pplwll3 6", + recipe = { + {"dye:white", "scifi_nodes:purple", "scifi_nodes:purple"}, + {"dye:white", "scifi_nodes:purple", "scifi_nodes:purple"}, + {"dye:white", "scifi_nodes:purple", "scifi_nodes:purple"} + } +}) + +-- 6 purple wall2 from 6 purple nodes, 3 black dye +minetest.register_craft({ + output = "scifi_nodes:pplwll2 6", + recipe = { + {"scifi_nodes:purple", "scifi_nodes:purple", "scifi_nodes:purple"}, + {"scifi_nodes:purple", "scifi_nodes:purple", "scifi_nodes:purple"}, + {"dye:black", "dye:black", "dye:black"} + } +}) + +-- 1 purple wall from 1 purple wall2 +minetest.register_craft({ + output = "scifi_nodes:pplwll", + recipe = { + {"scifi_nodes:pplwll2"} + } +}) + +-- 6 red lightbox from 6 metal block, 2 red dye and 1 light bar +minetest.register_craft({ + output = "scifi_nodes:red_light 6", + recipe = { + {"scifi_nodes:lighttop", "dye:red", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "scifi_nodes:lightbar", "scifi_nodes:lighttop"}, + {"scifi_nodes:lighttop", "dye:red", "scifi_nodes:lighttop"} + } +}) + +-- 1 rough metal from 1 metal block and 1 compressed cobblestone +minetest.register_craft({ + output = "scifi_nodes:rough", + recipe = { + {"scifi_nodes:lighttop", "moreblocks:cobble_compressed"} + } +}) + +--1 rusty metal from 1 rough metal and 1 water bucket +minetest.register_craft({ + output = "scifi_nodes:rust", + recipe = { + {"scifi_nodes:rough", "bucket:bucket_water"} + }, + replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}} +}) + +-- 4 red metal block from 4 rusty metal and 1 dented metal block +minetest.register_craft({ + output = "scifi_nodes:red_square 4", + recipe = { + {"scifi_nodes:rust", "", "scifi_nodes:rust"}, + {"", "scifi_nodes:dent", ""}, + {"scifi_nodes:rust", "", "scifi_nodes:rust"} + } +}) + +-- 6 rusty floor from 6 rusty metal, 1 black dye, 1 white dye and 1 trap glow glass +minetest.register_craft({ + output = "scifi_nodes:rfloor 6", + recipe = { + {"dye:black", "scifi_nodes:rust", "dye:white"}, + {"scifi_nodes:rust", "scifi_nodes:lightbar", "scifi_nodes:rust"}, + {"scifi_nodes:rust", "scifi_nodes:rust", "scifi_nodes:rust"} + } +}) + +-- 1 moonstone from 1 rough metal and 1 plastic +minetest.register_craft({ + output = "scifi_nodes:rock", + recipe = { + {"scifi_nodes:rough", "scifi_nodes:white2"} + } +}) + +-- 1 moonstone2 from 1 rough metal and 1 plastic +minetest.register_craft({ + output = "scifi_nodes:rock2", + recipe = { + {"scifi_nodes:rough"}, + {"scifi_nodes:white2"} + } +}) + +-- 6 glass screen from 1 plastic, 1 dark glass, 1 green dye +minetest.register_craft({ + output = "scifi_nodes:glassscreen 6", + recipe = { + {"scifi_nodes:glass", "scifi_nodes:light_dynamic"}, + {"dye:green", "scifi_nodes:white2"} + } +}) + +-- 4 purple wall light from 4 purple tiles, 4 cyan dye and 1 wall light +minetest.register_craft({ + output = "scifi_nodes:ppllght 4", + recipe = { + {"scifi_nodes:pplblk", "dye:cyan", "scifi_nodes:pplblk"}, + {"dye:cyan", "scifi_nodes:light_dynamic", "dye:cyan"}, + {"scifi_nodes:pplblk", "dye:cyan", "scifi_nodes:pplblk"} + } +}) + +-- 1 orange lightbars from 4 lightbar, 1 orange dye +minetest.register_craft({ + output = "scifi_nodes:lightbars", + recipe = { + {"scifi_nodes:lightbar", "", "scifi_nodes:lightbar"}, + {"", "dye:orange", ""}, + {"scifi_nodes:lightbar", "", "scifi_nodes:lightbar"} + } +}) + +-- 4 liquid pipe from 2 dark glass, 2 green dye, 1 wall light +minetest.register_craft({ + output = "scifi_nodes:liquid_pipe 4", + recipe = { + {"", "dye:green", ""}, + {"scifi_nodes:glass", "scifi_nodes:light_dynamic", "scifi_nodes:glass"}, + {"", "dye:green", ""} + } +}) + +-- 4 liquid pipe2 from 2 dark glass, 4 orange dye, 1 wall light +minetest.register_craft({ + output = "scifi_nodes:liquid_pipe2 4", + recipe = { + {"dye:orange", "", "dye:orange"}, + {"scifi_nodes:glass", "scifi_nodes:light_dynamic", "scifi_nodes:glass"}, + {"dye:orange", "", "dye:orange"} + } +}) + +-- 1 metal plant pot from 1 greybolts and 1 clean glass +minetest.register_craft({ + output = "scifi_nodes:pot", + recipe = { + {"moreblocks:clean_glass"}, + {"default:dirt"}, + {"scifi_nodes:greybolts"} + } +}) + +-- 6 itemholder from 2 dented metal block and 1 plastic +minetest.register_craft({ + output = "scifi_nodes:itemholder 6", + recipe = { + {"scifi_nodes:dent"}, + {"scifi_nodes:white2"}, + {"scifi_nodes:dent"} + } +}) + +-- FEW SLOPES (will be making more when respective block recipe will be ready) + +-- 6 white slope from 3 plastic wall +minetest.register_craft({ + output = "scifi_nodes:slope_white 6", + recipe = { + {"scifi_nodes:white", ""}, + {"scifi_nodes:white","scifi_nodes:white"} + } +}) + +-- 6 black slope from 3 black wall +minetest.register_craft({ + output = "scifi_nodes:slope_black 6", + recipe = { + {"scifi_nodes:black", ""}, + {"scifi_nodes:black","scifi_nodes:black"} + } +}) + +-- 6 blue light box slope from 3 blue light box +minetest.register_craft({ + output = "scifi_nodes:slope_blight 6", + recipe = { + {"scifi_nodes:light", ""}, + {"scifi_nodes:light","scifi_nodes:light"} + } +}) + +-- 6 blue light2 slopes from 3 blue wall light +minetest.register_craft({ + output = "scifi_nodes:slope_blight2 6", + recipe = { + {"scifi_nodes:bluwllight", ""}, + {"scifi_nodes:bluwllight","scifi_nodes:bluwllight"} + } +}) + +-- 6 blue slope from 3 blue bars +minetest.register_craft({ + output = "scifi_nodes:slope_blue 6", + recipe = { + {"scifi_nodes:bluebars", ""}, + {"scifi_nodes:bluebars","scifi_nodes:bluebars"} + } +}) + +-- 6 lightstripe slope from 3 twin lights +minetest.register_craft({ + output = "scifi_nodes:slope_lightstripe 6", + recipe = { + {"scifi_nodes:lightstp", ""}, + {"scifi_nodes:lightstp","scifi_nodes:lightstp"} + } +}) + +-- 6 mesh slope from 3 metal floormesh +minetest.register_craft({ + output = "scifi_nodes:slope_mesh 6", + recipe = { + {"scifi_nodes:mesh2", ""}, + {"scifi_nodes:mesh2","scifi_nodes:mesh2"} + } +}) + +-- 6 stripes slope from 3 hazard stripes +minetest.register_craft({ + output = "scifi_nodes:slope_stripes 6", + recipe = { + {"scifi_nodes:stripes", ""}, + {"scifi_nodes:stripes","scifi_nodes:stripes"} + } +}) + +-- 6 vent slope from 3 vent +minetest.register_craft({ + output = "scifi_nodes:slope_vent 6", + recipe = { + {"scifi_nodes:vent2", ""}, + {"scifi_nodes:vent2","scifi_nodes:vent2"} + } +}) diff --git a/init.lua b/init.lua index 820af86..9725cd9 100644 --- a/init.lua +++ b/init.lua @@ -352,6 +352,7 @@ minetest.register_node("scifi_nodes:octgrn", { paramtype = "light", paramtype2 = "facedir", use_texture_alpha = true, + light_source = 10, groups = {cracky=2}, sounds = default.node_sound_glass_defaults(), }) @@ -466,16 +467,16 @@ node.types = { {"dent", "dented metal block", "dent"}, {"greenmetal", "green metal wall", "grnmetl"}, {"greenmetal2", "green metal wall2", "grnmetl2"}, - {"greenlights", "green wall lights", "grnlt"}, - {"greenlights2", "green wall lights2", "grnlt2"}, - {"greenbar", "green light bar", "grnlghtbr"}, + {"greenlights", "green wall lights", "grnlt", 10}, + {"greenlights2", "green wall lights2", "grnlt2", 10}, + {"greenbar", "green light bar", "grnlghtbr", 10}, {"green2", "green wall panel", "grn2"}, {"greentubes", "green pipes", "grntubes"}, {"grey", "grey wall", "gry"}, {"greybolts", "grey wall bolts", "gryblts"}, {"greybars", "grey bars", "grybrs"}, {"greydots", "grey wall dots", "grydts"}, - {"greygreenbar", "gray power pipe", "grygrnbr"}, + {"greygreenbar", "gray power pipe", "grygrnbr", 10}, {"octofloor", "Doom floor", "octofloor"}, {"octofloor2", "Brown Doom floor", "octofloor2"}, {"doomwall1", "Doom wall 1", "doomwall1"}, @@ -666,10 +667,10 @@ minetest.register_node("scifi_nodes:box", { "scifi_nodes_box.png" }, paramtype2 = "facedir", - groups = {cracky = 1, oddly_breakable_by_hand = 2, fuel = 8}, + groups = {cracky = 1}, legacy_facedir_simple = true, is_ground_content = false, - sounds = default.node_sound_wood_defaults(), + sounds = default.node_sound_metal_defaults(), after_dig_node = drop_chest_stuff(), on_construct = function(pos) diff --git a/models.lua b/models.lua index 03a6d14..4217dc6 100644 --- a/models.lua +++ b/models.lua @@ -43,9 +43,9 @@ scifi_nodes.register_slope("grey", "Grey", {"scifi_nodes_grey.png",}, 0) scifi_nodes.register_slope("blue", "Blue", {"scifi_nodes_bluebars.png",}, 0) scifi_nodes.register_slope("mesh", "Mesh", {"scifi_nodes_mesh2.png",}, 0) scifi_nodes.register_slope("vent", "Vent", {"scifi_nodes_vent2.png",}, 0) -scifi_nodes.register_slope("rlight", "Red light", {"scifi_nodes_redlight.png",}, 0) -scifi_nodes.register_slope("blight", "Blue light", {"scifi_nodes_light.png",}, 0) -scifi_nodes.register_slope("glight", "Green light", {"scifi_nodes_greenlight.png",}, 0) +scifi_nodes.register_slope("rlight", "Red light", {"scifi_nodes_redlight.png",}, 10) +scifi_nodes.register_slope("blight", "Blue light", {"scifi_nodes_light.png",}, 10) +scifi_nodes.register_slope("glight", "Green light", {"scifi_nodes_greenlight.png",}, 10) scifi_nodes.register_slope("holes", "Holes", {"scifi_nodes_holes.png",}, 0) scifi_nodes.register_slope("pipe", "Pipe", {"scifi_nodes_pipe.png",}, 0) scifi_nodes.register_slope("stripes", "Stripes", {"scifi_nodes_stripes.png",}, 0) @@ -55,4 +55,4 @@ scifi_nodes.register_slope("blight2", "Blue Light 2", {"scifi_nodes_capsule3.png scifi_nodes.register_slope("wallpipe", "Alien Pipe", {"scifi_nodes_wallpipe.png",}, 0) scifi_nodes.register_slope("alien", "Alien Wall", {"scifi_nodes_alnslp.png",}, 0) scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_stripes.png",}, 0) -scifi_nodes.register_slope("gblock", "Gblock", {"scifi_nodes_gblock2_front1.png",}, 0) \ No newline at end of file +scifi_nodes.register_slope("gblock", "Gblock", {"scifi_nodes_gblock2_front1.png",}, 0) diff --git a/nodeboxes.lua b/nodeboxes.lua index 6e93ab5..08a5573 100644 --- a/nodeboxes.lua +++ b/nodeboxes.lua @@ -375,7 +375,7 @@ minetest.register_node("scifi_nodes:pot", { }, drawtype = "nodebox", paramtype = "light", - groups = {crumbly=3, soil=1, sand=1, wet=1}, + groups = {cracky=1, soil=1, sand=1}, node_box = { type = "fixed", fixed = { @@ -411,7 +411,7 @@ minetest.register_node("scifi_nodes:pot2", { }, drawtype = "nodebox", paramtype = "light", - groups = {crumbly=3, soil=3, wet=1}, + groups = {cracky=1, soil=3, wet=1}, node_box = { type = "fixed", fixed = { @@ -1093,11 +1093,37 @@ minetest.register_node("scifi_nodes:itemholder", { {-0.25, -0.5, -0.0625, -0.1875, -0.0625, 0.0625}, -- NodeBox5 } }, - groups = {cracky=1, oddly_breakable_by_hand=1}, + groups = {cracky=1}, + on_rotate = screwdriver.disallow, + after_place_node = function(pos, placer, itemstack) + local meta = minetest.get_meta(pos) + meta:set_string("owner",placer:get_player_name()) + meta:set_string("infotext", "Itemholder (owned by " .. + meta:get_string("owner") .. ")") + end, on_rightclick = function(pos, node, clicker, item, _) - local wield_item = clicker:get_wielded_item():get_name() - item:take_item() - minetest.add_item(pos, wield_item) + local name = clicker and clicker:get_player_name() + local meta = minetest.get_meta(pos) + if name == meta:get_string("owner") or + minetest.check_player_privs(name, "protection_bypass") then + local wield_item = clicker:get_wielded_item():get_name() + item:take_item() + minetest.add_item(pos, wield_item) + end + end, + can_dig = function(pos,player) + if not player then return end + local name = player and player:get_player_name() + local meta = minetest.get_meta(pos) + return name == meta:get_string("owner") or + minetest.check_player_privs(name, "protection_bypass") + end, + on_destruct = function(pos) + local meta = minetest.get_meta(pos) + local node = minetest.get_node(pos) + if meta:get_string("item") ~= "" then + drop_item(pos, node) + end end, }) @@ -1187,4 +1213,4 @@ minetest.register_node("scifi_nodes:tallscreen", { } }, groups = {cracky=1, oddly_breakable_by_hand=1} -}) \ No newline at end of file +}) From 12646d1ff038d64ba5ea350b0010b9efd0d9818e Mon Sep 17 00:00:00 2001 From: Tanmaya Meher Date: Tue, 7 Mar 2017 00:57:51 +0530 Subject: [PATCH 15/15] More slopes and some correction Didn't remember where i changed so the problem happened All textures were gone in game nad showing the not defined kind of thing on each node of scifi. Was showing names on info by pressing F5. Any way its now all good. So, i am uploading all 6 files. See the changes :) --- crafts.lua | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++-- depends.txt | 1 - models.lua | 13 +++++-- panes.lua | 7 ++-- 4 files changed, 118 insertions(+), 11 deletions(-) diff --git a/crafts.lua b/crafts.lua index d4c8901..49102c6 100644 --- a/crafts.lua +++ b/crafts.lua @@ -1069,7 +1069,16 @@ minetest.register_craft({ }) -- FEW SLOPES (will be making more when respective block recipe will be ready) - + +-- 6 plastic slope from 3 plastic +minetest.register_craft({ + output = "scifi_nodes:slope_white2 6", + recipe = { + {"scifi_nodes:white2", ""}, + {"scifi_nodes:white2","scifi_nodes:white2"} + } +}) + -- 6 white slope from 3 plastic wall minetest.register_craft({ output = "scifi_nodes:slope_white 6", @@ -1097,6 +1106,24 @@ minetest.register_craft({ } }) +-- 6 blue light box slope from 3 blue light box +minetest.register_craft({ + output = "scifi_nodes:slope_rlight 6", + recipe = { + {"scifi_nodes:red_light", ""}, + {"scifi_nodes:red_light","scifi_nodes:red_light"} + } +}) + +-- 6 blue light box slope from 3 blue light box +minetest.register_craft({ + output = "scifi_nodes:slope_glight 6", + recipe = { + {"scifi_nodes:green_light", ""}, + {"scifi_nodes:green_light","scifi_nodes:green_light"} + } +}) + -- 6 blue light2 slopes from 3 blue wall light minetest.register_craft({ output = "scifi_nodes:slope_blight2 6", @@ -1108,7 +1135,7 @@ minetest.register_craft({ -- 6 blue slope from 3 blue bars minetest.register_craft({ - output = "scifi_nodes:slope_blue 6", + output = "scifi_nodes:slope_bluebars 6", recipe = { {"scifi_nodes:bluebars", ""}, {"scifi_nodes:bluebars","scifi_nodes:bluebars"} @@ -1124,15 +1151,24 @@ minetest.register_craft({ } }) --- 6 mesh slope from 3 metal floormesh +-- 6 metal floormesh slope from 3 metal floormesh minetest.register_craft({ - output = "scifi_nodes:slope_mesh 6", + output = "scifi_nodes:slope_mesh2 6", recipe = { {"scifi_nodes:mesh2", ""}, {"scifi_nodes:mesh2","scifi_nodes:mesh2"} } }) +-- 6 metal mesh slope from 3 metal mesh +minetest.register_craft({ + output = "scifi_nodes:slope_mesh 6", + recipe = { + {"scifi_nodes:mesh", ""}, + {"scifi_nodes:mesh","scifi_nodes:mesh"} + } +}) + -- 6 stripes slope from 3 hazard stripes minetest.register_craft({ output = "scifi_nodes:slope_stripes 6", @@ -1150,3 +1186,67 @@ minetest.register_craft({ {"scifi_nodes:vent2","scifi_nodes:vent2"} } }) + +-- 6 purple slope from 3 purple node +minetest.register_craft({ + output = "scifi_nodes:slope_purple 6", + recipe = { + {"scifi_nodes:purple", ""}, + {"scifi_nodes:purple","scifi_nodes:purple"} + } +}) + +-- 6 green metal slope from 3 green metal +minetest.register_craft({ + output = "scifi_nodes:slope_greenmetal 6", + recipe = { + {"scifi_nodes:greenmetal", ""}, + {"scifi_nodes:greenmetal","scifi_nodes:greenmetal"} + } +}) + +-- 6 grey slope from 3 grey wall +minetest.register_craft({ + output = "scifi_nodes:slope_grey 6", + recipe = { + {"scifi_nodes:grey", ""}, + {"scifi_nodes:grey","scifi_nodes:grey"} + } +}) + +-- 6 blue metal slope from 3 blue metal +minetest.register_craft({ + output = "scifi_nodes:slope_bluemetal 6", + recipe = { + {"scifi_nodes:bluemetal", ""}, + {"scifi_nodes:bluemetal","scifi_nodes:bluemetal"} + } +}) + +-- 6 metal wall slope from 3 metal wall +minetest.register_craft({ + output = "scifi_nodes:slope_wall 6", + recipe = { + {"scifi_nodes:wall", ""}, + {"scifi_nodes:wall","scifi_nodes:wall"} + } +}) + +-- 6 rough metal slope from 3 rough metal +minetest.register_craft({ + output = "scifi_nodes:slope_rough 6", + recipe = { + {"scifi_nodes:rough", ""}, + {"scifi_nodes:rough","scifi_nodes:rough"} + } +}) + +-- 6 black stripe light slope from 3 black stripe light +minetest.register_craft({ + output = "scifi_nodes:slope_blklt2 6", + recipe = { + {"scifi_nodes:blklt2", ""}, + {"scifi_nodes:blklt2","scifi_nodes:blklt2"} + } +}) + diff --git a/depends.txt b/depends.txt index 77e5ca1..c03e1b5 100644 --- a/depends.txt +++ b/depends.txt @@ -1,7 +1,6 @@ default xpanes? moreblocks -homedecor mesecons mesecons_microcontroller mesecons_button diff --git a/models.lua b/models.lua index 4217dc6..9a4f18a 100644 --- a/models.lua +++ b/models.lua @@ -37,11 +37,13 @@ minetest.register_node("scifi_nodes:slope_"..name, { }) end +scifi_nodes.register_slope("white2", "Plastic", {"scifi_nodes_white2.png",}, 0) scifi_nodes.register_slope("black", "Black", {"scifi_nodes_black.png",}, 0) scifi_nodes.register_slope("white", "White", {"scifi_nodes_white.png",}, 0) scifi_nodes.register_slope("grey", "Grey", {"scifi_nodes_grey.png",}, 0) -scifi_nodes.register_slope("blue", "Blue", {"scifi_nodes_bluebars.png",}, 0) -scifi_nodes.register_slope("mesh", "Mesh", {"scifi_nodes_mesh2.png",}, 0) +scifi_nodes.register_slope("bluebars", "Blue bars", {"scifi_nodes_bluebars.png",}, 0) +scifi_nodes.register_slope("mesh2", "Metal floormesh", {"scifi_nodes_mesh2.png",}, 0) +scifi_nodes.register_slope("mesh", "Metal mesh", {"scifi_nodes_mesh.png",}, 0) scifi_nodes.register_slope("vent", "Vent", {"scifi_nodes_vent2.png",}, 0) scifi_nodes.register_slope("rlight", "Red light", {"scifi_nodes_redlight.png",}, 10) scifi_nodes.register_slope("blight", "Blue light", {"scifi_nodes_light.png",}, 10) @@ -54,5 +56,10 @@ scifi_nodes.register_slope("lightstripe", "Lightstripe", {"scifi_nodes_lightstri scifi_nodes.register_slope("blight2", "Blue Light 2", {"scifi_nodes_capsule3.png",}, 20) scifi_nodes.register_slope("wallpipe", "Alien Pipe", {"scifi_nodes_wallpipe.png",}, 0) scifi_nodes.register_slope("alien", "Alien Wall", {"scifi_nodes_alnslp.png",}, 0) -scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_stripes.png",}, 0) +scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_purple.png",}, 0) scifi_nodes.register_slope("gblock", "Gblock", {"scifi_nodes_gblock2_front1.png",}, 0) +scifi_nodes.register_slope("greenmetal", "Green metal", {"scifi_nodes_greenmetal.png",}, 0) +scifi_nodes.register_slope("bluemetal", "Blue metal", {"scifi_nodes_bluemetal.png",}, 0) +scifi_nodes.register_slope("wall", "Metal wall", {"scifi_nodes_wall.png",}, 0) +scifi_nodes.register_slope("rough", "Rough metal", {"scifi_nodes_rough.png",}, 0) +scifi_nodes.register_slope("blklt2", "Black stripe light", {"scifi_nodes_black_light2.png",}, 10) diff --git a/panes.lua b/panes.lua index 29fff01..8219c62 100644 --- a/panes.lua +++ b/panes.lua @@ -13,9 +13,10 @@ xpanes.register_pane("doompane", { textures = {"scifi_nodes_doompane.png","scifi_nodes_doompane.png","default_wood.png"}, inventory_image = "scifi_nodes_doompane.png", wield_image = "scifi_nodes_doompane.png", - groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3, pane=1}, + groups = {cracky=1, pane=1}, recipe = { - {'default:iron_lump', 'default:iron_lump', 'default:iron_lump'}, - {'default:iron_lump', 'default:iron_lump', 'default:iron_lump'} + {"default:iron_lump", "default:iron_lump", ""}, + {"default:iron_lump", "", "default:iron_lump"}, + {"", "default:iron_lump", "default:iron_lump"} } })