mirror of
				https://github.com/mt-mods/plantlife_modpack.git
				synced 2025-11-04 07:25:30 +01:00 
			
		
		
		
	make moss buildable_to
and make sunflower attached_node like other plants
This commit is contained in:
		@@ -243,7 +243,7 @@ minetest.register_node(":flowers:sunflower", {
 | 
				
			|||||||
	walkable = false,
 | 
						walkable = false,
 | 
				
			||||||
	buildable_to = true,
 | 
						buildable_to = true,
 | 
				
			||||||
	is_ground_content = true,
 | 
						is_ground_content = true,
 | 
				
			||||||
	groups = { dig_immediate=3, flora=1, flammable=3 },
 | 
						groups = { dig_immediate=3, flora=1, flammable=3, attached_node=1 },
 | 
				
			||||||
	sounds = default.node_sound_leaves_defaults(),
 | 
						sounds = default.node_sound_leaves_defaults(),
 | 
				
			||||||
	selection_box = box,
 | 
						selection_box = box,
 | 
				
			||||||
	collision_box = box,
 | 
						collision_box = box,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -95,6 +95,7 @@ for r = 0, 3 do
 | 
				
			|||||||
		sunlight_propagates = true,
 | 
							sunlight_propagates = true,
 | 
				
			||||||
		walkable = false,
 | 
							walkable = false,
 | 
				
			||||||
		node_box = cbox,
 | 
							node_box = cbox,
 | 
				
			||||||
 | 
							buildable_to = true,
 | 
				
			||||||
		groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r},
 | 
							groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r},
 | 
				
			||||||
		sounds = default.node_sound_leaves_defaults(),
 | 
							sounds = default.node_sound_leaves_defaults(),
 | 
				
			||||||
		drop = "trunks:moss_plain_0",
 | 
							drop = "trunks:moss_plain_0",
 | 
				
			||||||
@@ -114,6 +115,7 @@ for r = 0, 3 do
 | 
				
			|||||||
		sunlight_propagates = true,
 | 
							sunlight_propagates = true,
 | 
				
			||||||
		walkable = false,
 | 
							walkable = false,
 | 
				
			||||||
		node_box = cbox,
 | 
							node_box = cbox,
 | 
				
			||||||
 | 
							buildable_to = true,
 | 
				
			||||||
		groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r},
 | 
							groups = {snappy = 3, flammable = 3, attached_node=1, not_in_creative_inventory = r},
 | 
				
			||||||
		sounds = default.node_sound_leaves_defaults(),
 | 
							sounds = default.node_sound_leaves_defaults(),
 | 
				
			||||||
		drop = "trunks:moss_with_fungus_0",
 | 
							drop = "trunks:moss_with_fungus_0",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user