diff --git a/init.lua b/init.lua index fffa3f9..0ca4b6d 100644 --- a/init.lua +++ b/init.lua @@ -292,6 +292,64 @@ minetest.register_node("scifi_nodes:grnpipe2", { on_place = minetest.rotate_node }) +minetest.register_node("scifi_nodes:octrng", { + description = "Orange Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octrng.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octgrn", { + description = "Green Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octgrn.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octbl", { + description = "Blue Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octbl.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octppl", { + description = "Purple Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octppl.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) --edited wool code (Copyright (C) 2012 celeron55, Perttu Ahola ) @@ -369,8 +427,15 @@ node.types = { {"monitorwall", "Wall monitors", "monitorwall"}, {"screen3", "Wall monitor", "screen3"}, {"doomlight", "Doom light", "doomlight", 12}, - {"bluwllight", "Blue wall light", "capsule3", 20}, + {"bluwllight", "Blue wall light", "capsule3", 20}, {"fan", "Fan", "fan"}, + {"ppllght", "Purple wall light", "", 50}, + {"pplwll", "Purple wall", "", 0}, + {"pplwll2", "Purple wall2", "", 0}, + {"pplwll3", "Purple wall3", "", 0}, + {"pplwll4", "Purple wall4", "", 0}, + {"pplblk", "Purple tile", "", 0}, + {"purple", "Purple block", "", 0}, } for _, row in ipairs(node.types) do @@ -383,6 +448,7 @@ for _, row in ipairs(node.types) do tiles = {"scifi_nodes_"..name..".png"}, groups = {cracky=1}, paramtype = "light", + paramtype2 = "facedir", light_source = light, }) end @@ -399,6 +465,7 @@ node.plants = { {"plant5", "Fern Plant", 1.7,0, 0}, {"plant6", "Curly Plant", 1,0, 10}, {"plant7", "Egg weed", 1,0, 0}, + {"eyetree", "Eye Tree", 2.5,0, 0}, } for _, row in ipairs(node.plants) do diff --git a/nodeboxes.lua b/nodeboxes.lua index 1f27445..4cb2b5c 100644 --- a/nodeboxes.lua +++ b/nodeboxes.lua @@ -3,6 +3,30 @@ -- Node Box Editor, version 0.9.0 -- Namespace: scifi_nodes +minetest.register_node("scifi_nodes:pplwndw", { + description = "Purple Window", + tiles = { + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_pplwndw.png", + "scifi_nodes_pplwndw.png" + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.0625, 0.5, 0.5, 0.0625}, -- NodeBox1 + } + } +}) + minetest.register_node("scifi_nodes:gloshroom", { description = "Gloshroom", tiles = { diff --git a/textures/scifi_nodes_eyetree.png b/textures/scifi_nodes_eyetree.png new file mode 100644 index 0000000..64f1c4b Binary files /dev/null and b/textures/scifi_nodes_eyetree.png differ diff --git a/textures/scifi_nodes_octbl.png b/textures/scifi_nodes_octbl.png new file mode 100644 index 0000000..a02a9ac Binary files /dev/null and b/textures/scifi_nodes_octbl.png differ diff --git a/textures/scifi_nodes_octgrn.png b/textures/scifi_nodes_octgrn.png new file mode 100644 index 0000000..d35428a Binary files /dev/null and b/textures/scifi_nodes_octgrn.png differ diff --git a/textures/scifi_nodes_octppl.png b/textures/scifi_nodes_octppl.png new file mode 100644 index 0000000..31e3fc5 Binary files /dev/null and b/textures/scifi_nodes_octppl.png differ diff --git a/textures/scifi_nodes_octrng.png b/textures/scifi_nodes_octrng.png new file mode 100644 index 0000000..e68d507 Binary files /dev/null and b/textures/scifi_nodes_octrng.png differ diff --git a/textures/scifi_nodes_pplblk.png b/textures/scifi_nodes_pplblk.png new file mode 100644 index 0000000..84ac7be Binary files /dev/null and b/textures/scifi_nodes_pplblk.png differ diff --git a/textures/scifi_nodes_ppllght.png b/textures/scifi_nodes_ppllght.png new file mode 100644 index 0000000..7329630 Binary files /dev/null and b/textures/scifi_nodes_ppllght.png differ diff --git a/textures/scifi_nodes_pplwll.png b/textures/scifi_nodes_pplwll.png new file mode 100644 index 0000000..9aa3525 Binary files /dev/null and b/textures/scifi_nodes_pplwll.png differ diff --git a/textures/scifi_nodes_pplwll2.png b/textures/scifi_nodes_pplwll2.png new file mode 100644 index 0000000..905f7ef Binary files /dev/null and b/textures/scifi_nodes_pplwll2.png differ diff --git a/textures/scifi_nodes_pplwll3.png b/textures/scifi_nodes_pplwll3.png new file mode 100644 index 0000000..838c13a Binary files /dev/null and b/textures/scifi_nodes_pplwll3.png differ diff --git a/textures/scifi_nodes_pplwll4.png b/textures/scifi_nodes_pplwll4.png new file mode 100644 index 0000000..d83c90f Binary files /dev/null and b/textures/scifi_nodes_pplwll4.png differ diff --git a/textures/scifi_nodes_pplwndw.png b/textures/scifi_nodes_pplwndw.png new file mode 100644 index 0000000..e6d27f0 Binary files /dev/null and b/textures/scifi_nodes_pplwndw.png differ diff --git a/textures/scifi_nodes_purple.png b/textures/scifi_nodes_purple.png new file mode 100644 index 0000000..f7516e3 Binary files /dev/null and b/textures/scifi_nodes_purple.png differ