1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-05 01:40:31 +01:00

Made all plants/grasses buildable_to, except flowers in flowerpots.

This commit is contained in:
Vanessa Ezekowitz 2013-03-20 11:37:11 -04:00
parent aaee2d50cc
commit 7060f3dd21
3 changed files with 15 additions and 3 deletions

View File

@ -34,6 +34,7 @@ for i in ipairs(flowers_list) do
type = "fixed",
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
},
buildable_to = true,
})
minetest.register_node("flowers:flower_"..flower.."_pot", {
@ -83,6 +84,7 @@ minetest.register_node("flowers:flower_waterlily", {
type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
},
buildable_to = true,
})
minetest.register_node("flowers:flower_waterlily_225", {
@ -105,7 +107,8 @@ minetest.register_node("flowers:flower_waterlily_225", {
type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
},
drop = "flowers:flower_waterlily"
drop = "flowers:flower_waterlily",
buildable_to = true,
})
minetest.register_node("flowers:flower_waterlily_45", {
@ -128,7 +131,8 @@ minetest.register_node("flowers:flower_waterlily_45", {
type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
},
drop = "flowers:flower_waterlily"
drop = "flowers:flower_waterlily",
buildable_to = true,
})
minetest.register_node("flowers:flower_waterlily_675", {
@ -151,7 +155,8 @@ minetest.register_node("flowers:flower_waterlily_675", {
type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
},
drop = "flowers:flower_waterlily"
drop = "flowers:flower_waterlily",
buildable_to = true,
})
minetest.register_node("flowers:flower_seaweed", {
@ -170,6 +175,7 @@ minetest.register_node("flowers:flower_seaweed", {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, -0.4, 0.5 },
},
buildable_to = true,
})
-- spawn ABM registrations

View File

@ -31,6 +31,7 @@ minetest.register_node('junglegrass:medium', {
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
},
buildable_to = true,
})
minetest.register_node('junglegrass:short', {
@ -49,6 +50,7 @@ minetest.register_node('junglegrass:short', {
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.3, 0.4},
},
buildable_to = true,
})
minetest.register_node('junglegrass:shortest', {
@ -67,6 +69,7 @@ minetest.register_node('junglegrass:shortest', {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3},
},
buildable_to = true,
})
plantslib:spawn_on_surfaces({

View File

@ -29,6 +29,7 @@ minetest.register_node('poisonivy:seedling', {
walkable = false,
groups = { snappy = 3, poisonivy=1 },
sounds = default.node_sound_leaves_defaults(),
buildable_to = true,
})
minetest.register_node('poisonivy:sproutling', {
@ -42,6 +43,7 @@ minetest.register_node('poisonivy:sproutling', {
walkable = false,
groups = { snappy = 3, poisonivy=1 },
sounds = default.node_sound_leaves_defaults(),
buildable_to = true,
})
minetest.register_node('poisonivy:climbing', {
@ -60,6 +62,7 @@ minetest.register_node('poisonivy:climbing', {
type = "wallmounted",
--wall_side = = <default>
},
buildable_to = true,
})
plantslib:spawn_on_surfaces({