forked from nalc/homedecor_modpack
		
	Tweak infotext of microwave to say "Microwave is ..." instead of "Furnace is..."
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user