1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

Tweak infotext of microwave to say "Microwave is ..." instead of "Furnace is..."

This commit is contained in:
Vanessa Ezekowitz 2013-06-21 01:55:22 -04:00
parent 8cb01f366d
commit 1259fe77c8

View File

@ -64,7 +64,7 @@ minetest.register_node("homedecor:microwave_oven", {
if listname == "fuel" then if listname == "fuel" then
if minetest.get_craft_result({method="fuel",width=1,items={stack}}).time ~= 0 then if minetest.get_craft_result({method="fuel",width=1,items={stack}}).time ~= 0 then
if inv:is_empty("src") then if inv:is_empty("src") then
meta:set_string("infotext",S("Furnace is empty")) meta:set_string("infotext",S("Microwave is empty"))
end end
return stack:get_count() return stack:get_count()
else else
@ -83,7 +83,7 @@ minetest.register_node("homedecor:microwave_oven", {
if to_list == "fuel" then if to_list == "fuel" then
if minetest.get_craft_result({method="fuel",width=1,items={stack}}).time ~= 0 then if minetest.get_craft_result({method="fuel",width=1,items={stack}}).time ~= 0 then
if inv:is_empty("src") then if inv:is_empty("src") then
meta:set_string("infotext",S("Furnace is empty")) meta:set_string("infotext",S("Microwave is empty"))
end end
return count return count
else else