Brett O'Donnell 2012-11-09 00:22:54 +10:30
parent e164f6fa8b
commit ba97840391
8 changed files with 45 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

1
mods/camomod/depends.txt Normal file
View File

@ -0,0 +1 @@
default

44
mods/camomod/init.lua Normal file
View File

@ -0,0 +1,44 @@
minetest.register_craft({
output = "camomod:camoblock",
recipe = {
{"default:leaves", "default:leaves"},
{"default:leaves", "default:leaves"},
}
})
minetest.register_craft({
output = "camomod:camoladder 4",
recipe = {
{"default:ladder 4", "default:tree"}}
})
minetest.register_node("camomod:camoblock", {
description = "Nonsolid Camoflage Block",
tiles = {"default_leaves.png"},
drawtype = "glasslike",
walkable = false,
climbable = true,
paramtype = "light",
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, flammable=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("camomod:camoladder", {
description = "Camoflaged Ladder",
drawtype = "signlike",
tiles ={"camo_ladder.png"},
inventory_image = "camo_ladder.png",
wield_image = "camo_ladder.png",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = true,
walkable = false,
climbable = true,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
--wall_bottom = = <default>
--wall_side = = <default>
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
legacy_wallmounted = true,
sounds = default.node_sound_wood_defaults(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B