forked from mtcontrib/moreplants
		
	Flora group
This commit is contained in:
		
							
								
								
									
										29
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								init.lua
									
									
									
									
									
								
							@@ -14,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -32,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -52,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -70,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -88,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 3, 0.3}
 | 
			
		||||
@@ -106,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -124,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -144,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
 | 
			
		||||
@@ -162,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -180,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -198,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -216,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -234,6 +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},
 | 
			
		||||
	drop = "moreplants:eye",
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
@@ -253,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -271,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -289,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -308,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -326,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -346,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -364,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
 | 
			
		||||
@@ -382,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
 | 
			
		||||
@@ -401,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
 | 
			
		||||
@@ -420,6 +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},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
 | 
			
		||||
@@ -448,6 +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},
 | 
			
		||||
	walkable = false,
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@@ -462,6 +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, flora=1},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}
 | 
			
		||||
@@ -492,6 +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},
 | 
			
		||||
	light_source=2,
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@@ -506,6 +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},
 | 
			
		||||
	drop = "moreplants:curlyfruit",
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
@@ -525,6 +552,7 @@ minetest.register_node("moreplants:clover", {
 | 
			
		||||
		"moreplants_clover.png",
 | 
			
		||||
		"moreplants_clover.png"
 | 
			
		||||
	},
 | 
			
		||||
	groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
 | 
			
		||||
	is_ground_content=true,
 | 
			
		||||
	buildable_to = true, 
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
@@ -548,6 +576,7 @@ minetest.register_node("moreplants:groundfung", {
 | 
			
		||||
		"moreplants_groundfung.png",
 | 
			
		||||
		"moreplants_groundfung.png"
 | 
			
		||||
	},
 | 
			
		||||
	groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
 | 
			
		||||
	is_ground_content=true,
 | 
			
		||||
	buildable_to = true, 
 | 
			
		||||
	walkable = false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user