diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-04 20:11:09 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-04 20:11:09 -0500 |
commit | 921c05da0d057469032fe9aced321503f1f0d498 (patch) | |
tree | 7e7d75b4a15cee7984d98f9da2230d74b19aea96 /inbox | |
parent | eba6f42678dbdb4837a30908b0627bee6f35440a (diff) | |
download | dreambuilder_modpack-921c05da0d057469032fe9aced321503f1f0d498.tar dreambuilder_modpack-921c05da0d057469032fe9aced321503f1f0d498.tar.gz dreambuilder_modpack-921c05da0d057469032fe9aced321503f1f0d498.tar.bz2 dreambuilder_modpack-921c05da0d057469032fe9aced321503f1f0d498.tar.xz dreambuilder_modpack-921c05da0d057469032fe9aced321503f1f0d498.zip |
updated several mods to use newer unified dyes API
blox, bobblocks, coloredwood, framedglass, homedecor, ilights,
plasticbox, stained_glass, unifiedbricks, and of course unified dyes.
Diffstat (limited to 'inbox')
-rw-r--r-- | inbox/depends.txt | 1 | ||||
-rw-r--r-- | inbox/init.lua | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/inbox/depends.txt b/inbox/depends.txt index 947d2a7..ace758c 100644 --- a/inbox/depends.txt +++ b/inbox/depends.txt @@ -1,2 +1,3 @@ default homedecor_i18n +screwdriver? diff --git a/inbox/init.lua b/inbox/init.lua index 7262e9f..3de7a3c 100644 --- a/inbox/init.lua +++ b/inbox/init.lua @@ -2,7 +2,7 @@ local S = homedecor_i18n.gettext local inbox = {} -screwdriver = screwdriver or {} +local screwdriver = rawget(_G, "screwdriver") or {} minetest.register_craft({ output ="inbox:empty", @@ -53,12 +53,12 @@ minetest.register_node("inbox:empty", { clicker:get_player_control().aux1 then minetest.show_formspec( clicker:get_player_name(), - "default:chest_locked", + "inbox:mailbox", inbox.get_inbox_formspec(pos)) else minetest.show_formspec( clicker:get_player_name(), - "default:chest_locked", + "inbox:mailbox", inbox.get_inbox_insert_formspec(pos)) end return itemstack |