diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-06-06 01:33:54 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-06-06 01:33:54 +0300 |
commit | d1aadc6128d0c483cdb910803b11ee09f74b4641 (patch) | |
tree | 273677a636f0fe5d918a2636f2d374b32b6bcaa0 | |
parent | d7b7f65f93030cfb39c4c5ad6aaac8acf9e50a35 (diff) |
expanding the mode support (ethereal, bakedclay)
-rw-r--r-- | depends.txt | 4 | ||||
-rw-r--r-- | init.lua | 24 |
2 files changed, 27 insertions, 1 deletions
diff --git a/depends.txt b/depends.txt index 3a7daa1..92c62f1 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,4 @@ default - +ethereal? +bakedclay? +technic?
\ No newline at end of file @@ -342,3 +342,27 @@ pkarcs.register_node("default:pine_wood") pkarcs.register_node("default:acacia_wood") pkarcs.register_node("default:aspen_wood") +-- mod-specific materials + +if minetest.get_modpath("ethereal") then + pkarcs.register_node("ethereal:banana_wood") + pkarcs.register_node("ethereal:birch_wood") + pkarcs.register_node("ethereal:frost_wood") + pkarcs.register_node("ethereal:palm_wood") + pkarcs.register_node("ethereal:willow_wood") + pkarcs.register_node("ethereal:yellow_wood") + pkarcs.register_node("ethereal:redwood_wood") + pkarcs.register_node("ethereal:bamboo_floor") +end + +if minetest.get_modpath("bakedclay") then + + local clay = {"white", "grey", "black", "red", "yellow", + "green", "cyan", "blue", "magenta", "orange", + "violet", "brown", "pink", "dark_grey", "dark_green"} + + for _,c in ipairs(clay) do + pkarcs.register_node("bakedclay:" .. c) + end + +end
\ No newline at end of file |