64 lines
1.7 KiB
Lua
64 lines
1.7 KiB
Lua
-- This file supplies poison ivy for the plantlife modpack
|
|
-- Last revision: 2013-01-24
|
|
|
|
local walls_list = {
|
|
"default:dirt",
|
|
"default:dirt_with_grass",
|
|
"default:stone",
|
|
"default:cobble",
|
|
"default:mossycobble",
|
|
"default:brick",
|
|
"default:tree",
|
|
"default:jungletree",
|
|
"default:stone_with_coal",
|
|
"default:stone_with_iron"
|
|
},
|
|
minetest.register_node('poisonivy:seedling', {
|
|
description = "Poison ivy (seedling)",
|
|
drawtype = 'plantlike',
|
|
waving = 1,
|
|
tiles = { 'poisonivy_seedling.png' },
|
|
inventory_image = 'poisonivy_seedling.png',
|
|
wield_image = 'poisonivy_seedling.png',
|
|
sunlight_propagates = true,
|
|
paramtype = 'light',
|
|
walkable = false,
|
|
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
buildable_to = true,
|
|
})
|
|
|
|
minetest.register_node('poisonivy:sproutling', {
|
|
description = "Poison ivy (sproutling)",
|
|
drawtype = 'plantlike',
|
|
waving = 1,
|
|
tiles = { 'poisonivy_sproutling.png' },
|
|
inventory_image = 'poisonivy_sproutling.png',
|
|
wield_image = 'poisonivy_sproutling.png',
|
|
sunlight_propagates = true,
|
|
paramtype = 'light',
|
|
walkable = false,
|
|
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
buildable_to = true,
|
|
})
|
|
|
|
minetest.register_node('poisonivy:climbing', {
|
|
description = "Poison ivy (climbing plant)",
|
|
drawtype = 'signlike',
|
|
tiles = { 'poisonivy_climbing.png' },
|
|
inventory_image = 'poisonivy_climbing.png',
|
|
wield_image = 'poisonivy_climbing.png',
|
|
sunlight_propagates = true,
|
|
paramtype = 'light',
|
|
paramtype2 = 'wallmounted',
|
|
walkable = false,
|
|
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
selection_box = {
|
|
type = "wallmounted",
|
|
--wall_side = = <default>
|
|
},
|
|
buildable_to = true,
|
|
})
|