diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-11-09 20:25:00 -0500 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-11-09 20:25:00 -0500 |
commit | 646d696c62a6b408100e65164b5cd71a4793ab9b (patch) | |
tree | 23913c2850fbb55cb8106955d89c2291a2e020a0 /homedecor | |
parent | a42f8f6c8727c4d7f48bf547f70d389faf5610b8 (diff) | |
download | dreambuilder_modpack-646d696c62a6b408100e65164b5cd71a4793ab9b.tar dreambuilder_modpack-646d696c62a6b408100e65164b5cd71a4793ab9b.tar.gz dreambuilder_modpack-646d696c62a6b408100e65164b5cd71a4793ab9b.tar.bz2 dreambuilder_modpack-646d696c62a6b408100e65164b5cd71a4793ab9b.tar.xz dreambuilder_modpack-646d696c62a6b408100e65164b5cd71a4793ab9b.zip |
update basic_materials, homedecor, ilights, simple_streetlights,
and street_signs
Diffstat (limited to 'homedecor')
-rw-r--r-- | homedecor/crafts.lua | 5 | ||||
-rw-r--r-- | homedecor/depends.txt | 1 | ||||
-rw-r--r-- | homedecor/gastronomy.lua | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index 98f2470..68463a9 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -47,11 +47,6 @@ minetest.register_craftitem("homedecor:soda_can", { on_use = minetest.item_eat(2), }) -minetest.register_craftitem("homedecor:coin", { - description = S("Gold Coin (for soda vending machine)"), - inventory_image = "homedecor_coin.png", -}) - -- the actual crafts minetest.register_craft( { diff --git a/homedecor/depends.txt b/homedecor/depends.txt index 29ab645..2a3d340 100644 --- a/homedecor/depends.txt +++ b/homedecor/depends.txt @@ -3,6 +3,7 @@ basic_materials unifieddyes homedecor_i18n creative +currency building_blocks? signs_lib? moreblocks? diff --git a/homedecor/gastronomy.lua b/homedecor/gastronomy.lua index d261700..8274b3f 100644 --- a/homedecor/gastronomy.lua +++ b/homedecor/gastronomy.lua @@ -219,7 +219,7 @@ homedecor.register("soda_machine", { local fdir_to_fwd = { {0, -1}, {-1, 0}, {0, 1}, {1, 0} } local fdir = node.param2 local pos_drop = { x=pos.x+fdir_to_fwd[fdir+1][1], y=pos.y, z=pos.z+fdir_to_fwd[fdir+1][2] } - if wieldname == "homedecor:coin" then + if wieldname == "currency:minegeld_cent_25" then minetest.spawn_item(pos_drop, "homedecor:soda_can") minetest.sound_play("insert_coin", { pos=pos, max_hear_distance = 5 @@ -234,3 +234,5 @@ homedecor.register("soda_machine", { end end }) + +minetest.register_alias("homedecor:coin", "currency:minegeld_cent_25") |