diff --git a/description.txt b/description.txt index b0c8898..876df21 100644 --- a/description.txt +++ b/description.txt @@ -6,4 +6,4 @@ Changed in V1.2: >smaller textures Changed in V1.3: ->added all plants to the group attatched_node \ No newline at end of file +>added all plants to the group attached_node diff --git a/init.lua b/init.lua index c1d0c82..72bd5de 100644 --- a/init.lua +++ b/init.lua @@ -14,7 +14,7 @@ minetest.register_node("moreplants:tallgrass", { inventory_image = "moreplants_longgrass.png", visual_scale = 1.4, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -33,7 +33,7 @@ minetest.register_node("moreplants:aliengrass", { inventory_image = "moreplants_aliengrass.png", visual_scale = 1.54, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -54,7 +54,7 @@ minetest.register_node("moreplants:bulrush", { inventory_image = "moreplants_bullrush.png", visual_scale = 1.3, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -73,7 +73,7 @@ minetest.register_node("moreplants:bigfern", { inventory_image = "moreplants_bigfern.png", visual_scale = 1.5, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -92,7 +92,7 @@ minetest.register_node("moreplants:umbrella", { inventory_image = "moreplants_umbrella.png", visual_scale = 2, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 3, 0.3} @@ -111,7 +111,7 @@ minetest.register_node("moreplants:bigflower", { inventory_image = "moreplants_bigflower.png", visual_scale = 1.2, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -130,7 +130,7 @@ minetest.register_node("moreplants:medflower", { inventory_image = "moreplants_medflower.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -151,7 +151,7 @@ minetest.register_node("moreplants:weed", { inventory_image = "moreplants_weed.png", visual_scale = 1.1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5} @@ -170,7 +170,7 @@ minetest.register_node("moreplants:stoneweed", { inventory_image = "moreplants_stoneplant.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -189,7 +189,7 @@ minetest.register_node("moreplants:spikefern", { inventory_image = "moreplants_spikefern.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -208,7 +208,7 @@ minetest.register_node("moreplants:bluespike", { inventory_image = "moreplants_bluespike.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -227,7 +227,7 @@ minetest.register_node("moreplants:blueflower", { inventory_image = "moreplants_blueflower.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -246,7 +246,7 @@ minetest.register_node("moreplants:eyeweed", { inventory_image = "moreplants_eyeweed.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, drop = "moreplants:eye", selection_box = { type = "fixed", @@ -266,7 +266,7 @@ minetest.register_node("moreplants:fern", { inventory_image = "moreplants_fern.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -285,7 +285,7 @@ minetest.register_node("moreplants:bush", { inventory_image = "moreplants_bush.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -304,7 +304,7 @@ minetest.register_node("moreplants:cactus", { inventory_image = "moreplants_cactus.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -324,7 +324,7 @@ minetest.register_node("moreplants:firefung", { inventory_image = "moreplants_firemush.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, igniter=1, hot=3, attatched_node=1, flora=1}, + groups = {snappy=3, igniter=1, hot=3, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -343,7 +343,7 @@ minetest.register_node("moreplants:bluemush", { inventory_image = "moreplants_bluemush.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -364,7 +364,7 @@ minetest.register_node("moreplants:caveflower", { visual_scale = 1, light_source = 5, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -383,7 +383,7 @@ minetest.register_node("moreplants:moonflower", { inventory_image = "moreplants_moonflower.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -402,7 +402,7 @@ minetest.register_node("moreplants:fireflower", { inventory_image = "moreplants_fireflower.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} @@ -422,7 +422,7 @@ minetest.register_node("moreplants:deadweed", { inventory_image = "moreplants_deadweed.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} @@ -442,7 +442,7 @@ minetest.register_node("moreplants:taigabush", { inventory_image = "moreplants_tundrabush.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, selection_box = { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} @@ -471,7 +471,7 @@ minetest.register_node("moreplants:glowfung", { inventory_image = "moreplants_glowfung.png", visual_scale = 1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, walkable = false, }) @@ -486,7 +486,7 @@ minetest.register_node("moreplants:jungleflower", { inventory_image = "moreplants_jungleflower1.png", visual_scale = 1.1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flower=1}, + groups = {snappy=3, flammable=1, attached_node=1, flower=1}, selection_box = { type = "fixed", fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4} @@ -517,7 +517,7 @@ minetest.register_node("moreplants:mushroom", { {-0.125, -0.1875, -0.125, 0.125, -0.125, 0.125}, -- NodeBox3 } }, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, light_source=2, }) @@ -532,7 +532,7 @@ minetest.register_node("moreplants:curly", { inventory_image = "moreplants_curly.png", visual_scale = 1.1, wield_scale = {x=0.5, y=0.5, z=0.5}, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, drop = "moreplants:curlyfruit", selection_box = { type = "fixed", @@ -552,7 +552,7 @@ minetest.register_node("moreplants:clover", { "moreplants_clover.png", "moreplants_clover.png" }, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, is_ground_content=true, buildable_to = true, sunlight_propagates = true, @@ -576,7 +576,7 @@ minetest.register_node("moreplants:groundfung", { "moreplants_groundfung.png", "moreplants_groundfung.png" }, - groups = {snappy=3, flammable=1, attatched_node=1, flora=1}, + groups = {snappy=3, flammable=1, attached_node=1, flora=1}, is_ground_content=true, buildable_to = true, walkable = false,