diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-26 15:09:24 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-26 15:09:24 -0500 |
commit | 98f0dd7dd0c02a86bfd5e34271d3d169538b5442 (patch) | |
tree | 0c21fd2ea80b526f4a22443e5e964f4ae2621233 | |
parent | 2b5664c0004b2f4ed8c712b8b6f75d9d3294c829 (diff) | |
download | dreambuilder_modpack-98f0dd7dd0c02a86bfd5e34271d3d169538b5442.tar dreambuilder_modpack-98f0dd7dd0c02a86bfd5e34271d3d169538b5442.tar.gz dreambuilder_modpack-98f0dd7dd0c02a86bfd5e34271d3d169538b5442.tar.bz2 dreambuilder_modpack-98f0dd7dd0c02a86bfd5e34271d3d169538b5442.tar.xz dreambuilder_modpack-98f0dd7dd0c02a86bfd5e34271d3d169538b5442.zip |
update coloredwood
-rw-r--r-- | coloredwood/init.lua | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/coloredwood/init.lua b/coloredwood/init.lua index 914fa25..a68c388 100644 --- a/coloredwood/init.lua +++ b/coloredwood/init.lua @@ -227,35 +227,25 @@ end end minetest.override_item("default:wood", { - paramtype2 = "color", palette = "unifieddyes_palette_extended.png", - place_param2 = 240, ud_replacement_node = "coloredwood:wood_block", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, ud_param2_colorable = 1}, }) -minetest.register_node("coloredwood:fence", { - drawtype = "fencelike", +default.register_fence("coloredwood:fence", { description = "Colored wooden fence", - tiles = { "coloredwood_fence_base.png" }, - paramtype = "light", + texture = "coloredwood_fence_base.png", paramtype2 = "color", palette = "unifieddyes_palette_extended.png", - place_param2 = 240, - walkable = true, groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, ud_param2_colorable = 1}, sounds = default.node_sound_wood_defaults(), - selection_box = { - type = "fixed", - fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, - }, after_dig_node = unifieddyes.after_dig_node, - drop = "default:fence_wood" + drop = "default:fence_wood", + material = "default:wood" }) minetest.override_item("default:fence_wood", { palette = "unifieddyes_palette_extended.png", - place_param2 = 240, ud_replacement_node = "coloredwood:fence", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, ud_param2_colorable = 1} }) |