1
0
Fork 0

Move wood definitions (refactor mcl_core)

This commit is contained in:
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(), 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 -- -- Dark oak --
minetest.register_node("mcl_core:darktree", { minetest.register_node("mcl_core:darktree", {
description = "Dark Oak Wood", description = "Dark Oak Wood",
@ -576,6 +585,15 @@ minetest.register_node("mcl_core:darkleaves", {
sounds = mcl_sounds.node_sound_leaves_defaults(), 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 -- -- Jungle tree --
minetest.register_node("mcl_core:jungletree", { 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", { minetest.register_node("mcl_core:water_flowing", {
description = "Flowing Water", description = "Flowing Water",
inventory_image = minetest.inventorycube("default_water.png"), inventory_image = minetest.inventorycube("default_water.png"),