diff --git a/init.lua b/init.lua index 1aba372..fffa3f9 100644 --- a/init.lua +++ b/init.lua @@ -397,6 +397,8 @@ node.plants = { {"plant3", "Blue Jelly Plant", 1.2,0, 10}, {"plant4", "Green Jelly Plant", 1.2,0, 10}, {"plant5", "Fern Plant", 1.7,0, 0}, + {"plant6", "Curly Plant", 1,0, 10}, + {"plant7", "Egg weed", 1,0, 0}, } for _, row in ipairs(node.plants) do diff --git a/nodeboxes.lua b/nodeboxes.lua index 9af582d..1f27445 100644 --- a/nodeboxes.lua +++ b/nodeboxes.lua @@ -3,6 +3,37 @@ -- Node Box Editor, version 0.9.0 -- Namespace: scifi_nodes +minetest.register_node("scifi_nodes:gloshroom", { + description = "Gloshroom", + tiles = { + "scifi_nodes_gloshroom.png", + "scifi_nodes_gloshroom_under.png", + "scifi_nodes_gloshroom.png", + "scifi_nodes_gloshroom.png", + "scifi_nodes_gloshroom.png", + "scifi_nodes_gloshroom.png" + }, + drawtype = "nodebox", + paramtype = "light", + light_source = 50, + walkable = false, + buildable_to = true, + sunlight_propagates = false, + use_texture_alpha = true, + groups = {fleshy=1, oddly_breakable_by_hand=1, dig_immediate=3}, + node_box = { + type = "fixed", + fixed = { + {-0.05, -0.5, -0.05, 0.05, 0.0625, 0.05}, -- NodeBox1 + {-0.4375, -0.0625, -0.375, 0.4375, 0, 0.375}, -- NodeBox2 + {-0.375, 0, -0.375, 0.375, 0.0625, 0.375}, -- NodeBox3 + {-0.3125, 0.0625, -0.3125, 0.3125, 0.125, 0.3125}, -- NodeBox4 + {-0.1875, 0.125, -0.1875, 0.1875, 0.1875, 0.1875}, -- NodeBox5 + {-0.375, -0.0625, -0.4375, 0.375, 0, 0.4375}, -- NodeBox6 + } + } +}) + minetest.register_node("scifi_nodes:pot_lid", { description = "plant pot lid(place above plant)", tiles = { diff --git a/textures/scifi_nodes_flower3.png b/textures/scifi_nodes_flower3.png index ae1ea8f..92d74bc 100644 Binary files a/textures/scifi_nodes_flower3.png and b/textures/scifi_nodes_flower3.png differ diff --git a/textures/scifi_nodes_gloshroom.png b/textures/scifi_nodes_gloshroom.png new file mode 100644 index 0000000..e385db5 Binary files /dev/null and b/textures/scifi_nodes_gloshroom.png differ diff --git a/textures/scifi_nodes_gloshroom_under.png b/textures/scifi_nodes_gloshroom_under.png new file mode 100644 index 0000000..e4f4f58 Binary files /dev/null and b/textures/scifi_nodes_gloshroom_under.png differ diff --git a/textures/scifi_nodes_plant6.png b/textures/scifi_nodes_plant6.png new file mode 100644 index 0000000..11a0e34 Binary files /dev/null and b/textures/scifi_nodes_plant6.png differ diff --git a/textures/scifi_nodes_plant7.png b/textures/scifi_nodes_plant7.png new file mode 100644 index 0000000..cbec36e Binary files /dev/null and b/textures/scifi_nodes_plant7.png differ