Add listring to furnace

This commit is contained in:
Wuzzy 2020-04-01 03:25:52 +02:00
parent bb9a2a5fbf
commit d6cd4806f8
1 changed files with 47 additions and 3 deletions

View File

@ -31,8 +31,30 @@ furnace.formspec =
"list[current_name;dst5;4,2;1,1;]"..
"image[6.5,0.5;1,1;default_furnace_fire_bg.png]"..
"list[current_name;fuel;6.5,1.5;1,1;]"..
"list[current_player;main;0,4;8,4;]"
"list[current_player;main;0,4;8,4;]"..
"listring[current_player;main]"..
"listring[current_name;src1]"..
"listring[current_player;main]"..
"listring[current_name;src2]"..
"listring[current_player;main]"..
"listring[current_name;src3]"..
"listring[current_player;main]"..
"listring[current_name;src4]"..
"listring[current_player;main]"..
"listring[current_name;src5]"..
"listring[current_player;main]"..
"listring[current_name;dst1]"..
"listring[current_player;main]"..
"listring[current_name;dst2]"..
"listring[current_player;main]"..
"listring[current_name;dst3]"..
"listring[current_player;main]"..
"listring[current_name;dst4]"..
"listring[current_player;main]"..
"listring[current_name;dst5]"..
"listring[current_player;main]"..
"listring[current_name;fuel]"
minetest.register_node("furnace:self", {
description = "Furnace",
tiles = {"furnace_top.png", "furnace_bottom.png", "furnace_side.png"},
@ -250,7 +272,29 @@ minetest.register_abm({
"image[6.5,0.5;1,1;furnace_fire_bg.png^[lowpart:"..
(100-percent)..":furnace_fire_fg.png]"..
"list[current_name;fuel;6.5,1.5;1,1;]"..
"list[current_player;main;0,4;8,4;]")
"list[current_player;main;0,4;8,4;]"..
"listring[current_player;main]"..
"listring[current_name;src1]"..
"listring[current_player;main]"..
"listring[current_name;src2]"..
"listring[current_player;main]"..
"listring[current_name;src3]"..
"listring[current_player;main]"..
"listring[current_name;src4]"..
"listring[current_player;main]"..
"listring[current_name;src5]"..
"listring[current_player;main]"..
"listring[current_name;dst1]"..
"listring[current_player;main]"..
"listring[current_name;dst2]"..
"listring[current_player;main]"..
"listring[current_name;dst3]"..
"listring[current_player;main]"..
"listring[current_name;dst4]"..
"listring[current_player;main]"..
"listring[current_name;dst5]"..
"listring[current_player;main]"..
"listring[current_name;fuel]")
return
end