forked from mtcontrib/plantlife_modpack
Made all plants/grasses buildable_to, except flowers in flowerpots.
This commit is contained in:
parent
aaee2d50cc
commit
7060f3dd21
@ -34,6 +34,7 @@ for i in ipairs(flowers_list) do
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("flowers:flower_"..flower.."_pot", {
|
minetest.register_node("flowers:flower_"..flower.."_pot", {
|
||||||
@ -83,6 +84,7 @@ minetest.register_node("flowers:flower_waterlily", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
|
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("flowers:flower_waterlily_225", {
|
minetest.register_node("flowers:flower_waterlily_225", {
|
||||||
@ -105,7 +107,8 @@ minetest.register_node("flowers:flower_waterlily_225", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
|
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", {
|
minetest.register_node("flowers:flower_waterlily_45", {
|
||||||
@ -128,7 +131,8 @@ minetest.register_node("flowers:flower_waterlily_45", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
|
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", {
|
minetest.register_node("flowers:flower_waterlily_675", {
|
||||||
@ -151,7 +155,8 @@ minetest.register_node("flowers:flower_waterlily_675", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
|
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", {
|
minetest.register_node("flowers:flower_seaweed", {
|
||||||
@ -170,6 +175,7 @@ minetest.register_node("flowers:flower_seaweed", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.5, -0.5, -0.5, 0.5, -0.4, 0.5 },
|
fixed = { -0.5, -0.5, -0.5, 0.5, -0.4, 0.5 },
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- spawn ABM registrations
|
-- spawn ABM registrations
|
||||||
|
@ -31,6 +31,7 @@ minetest.register_node('junglegrass:medium', {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
|
fixed = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('junglegrass:short', {
|
minetest.register_node('junglegrass:short', {
|
||||||
@ -49,6 +50,7 @@ minetest.register_node('junglegrass:short', {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.3, 0.4},
|
fixed = {-0.4, -0.5, -0.4, 0.4, 0.3, 0.4},
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('junglegrass:shortest', {
|
minetest.register_node('junglegrass:shortest', {
|
||||||
@ -67,6 +69,7 @@ minetest.register_node('junglegrass:shortest', {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3},
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3},
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
plantslib:spawn_on_surfaces({
|
plantslib:spawn_on_surfaces({
|
||||||
|
@ -29,6 +29,7 @@ minetest.register_node('poisonivy:seedling', {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1 },
|
groups = { snappy = 3, poisonivy=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('poisonivy:sproutling', {
|
minetest.register_node('poisonivy:sproutling', {
|
||||||
@ -42,6 +43,7 @@ minetest.register_node('poisonivy:sproutling', {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1 },
|
groups = { snappy = 3, poisonivy=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('poisonivy:climbing', {
|
minetest.register_node('poisonivy:climbing', {
|
||||||
@ -60,6 +62,7 @@ minetest.register_node('poisonivy:climbing', {
|
|||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
--wall_side = = <default>
|
--wall_side = = <default>
|
||||||
},
|
},
|
||||||
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
plantslib:spawn_on_surfaces({
|
plantslib:spawn_on_surfaces({
|
||||||
|
Loading…
Reference in New Issue
Block a user