1
0
Fork 0

Move wood definitions (refactor mcl_core)

objects
Wuzzy 2017-02-16 21:24:27 +01:00
parent 074c0de089
commit a0adb8bed7
1 changed files with 18 additions and 19 deletions

View File

@ -521,6 +521,15 @@ minetest.register_node("mcl_core:leaves", {
sounds = mcl_sounds.node_sound_leaves_defaults(),
})
minetest.register_node("mcl_core:wood", {
description = "Oak Wood Planks",
tiles = {"default_wood.png"},
stack_max = 64,
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,building_block=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
})
-- Dark oak --
minetest.register_node("mcl_core:darktree", {
description = "Dark Oak Wood",
@ -576,6 +585,15 @@ minetest.register_node("mcl_core:darkleaves", {
sounds = mcl_sounds.node_sound_leaves_defaults(),
})
minetest.register_node("mcl_core:darkwood", {
description = "Dark Oak Wood Planks",
tiles = {"default_planks_big_oak.png"},
stack_max = 64,
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,building_block=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
})
-- Jungle tree --
minetest.register_node("mcl_core:jungletree", {
@ -1008,25 +1026,6 @@ minetest.register_node("mcl_core:vine", {
})
minetest.register_node("mcl_core:wood", {
description = "Oak Wood Planks",
tiles = {"default_wood.png"},
stack_max = 64,
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,building_block=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_node("mcl_core:darkwood", {
description = "Dark Oak Wood Planks",
tiles = {"default_planks_big_oak.png"},
stack_max = 64,
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,building_block=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_node("mcl_core:water_flowing", {
description = "Flowing Water",
inventory_image = minetest.inventorycube("default_water.png"),