Last active
January 21, 2016 21:34
-
-
Save ExcaliburZero/f86a19980fe469630777 to your computer and use it in GitHub Desktop.
Minetest issue #3398 test mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- A node that is solid, but is also set to be wallmounted | |
minetest.register_node("test3398:solid_wallmount", { | |
description = "Solid Wallmount", | |
tiles = {"default_stone.png"}, | |
groups = {cracky = 3, stone = 1}, | |
drop = 'test3398:solid_wallmount', | |
paramtype1 = "wallmounted", | |
legacy_mineral = true, | |
sounds = default.node_sound_stone_defaults(), | |
}) | |
-- A node which is plantlike, but also not buildable to | |
minetest.register_node("test3398:plantlike_not_buildable_to", { | |
description = "Plantlike, not buildable to", | |
drawtype = "plantlike", | |
tiles = {"default_papyrus.png"}, | |
inventory_image = "default_papyrus.png", | |
wield_image = "default_papyrus.png", | |
paramtype = "light", | |
buildable_to = false, | |
sunlight_propagates = true, | |
walkable = false, | |
selection_box = { | |
type = "fixed", | |
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} | |
}, | |
groups = {snappy = 3, flammable = 2}, | |
sounds = default.node_sound_leaves_defaults(), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment