Add fuel slot to furnace listring
authorWuzzy <almikes@aol.com>
Thu, 27 Oct 2016 16:40:13 +0000 (18:40 +0200)
committerAuke Kok <sofar+github@foo-projects.org>
Mon, 31 Oct 2016 21:17:38 +0000 (14:17 -0700)
mods/default/furnace.lua

index 17c9280d10e16bf9737e616af4fdd221a3ac7341..cd36f522280355bbdd4d013c72f9f238edc3df9f 100644 (file)
@@ -22,6 +22,8 @@ local function active_formspec(fuel_percent, item_percent)
                "listring[current_player;main]"..
                "listring[current_name;src]"..
                "listring[current_player;main]"..
+               "listring[current_name;fuel]"..
+               "listring[current_player;main]"..
                default.get_hotbar_bg(0, 4.25)
        return formspec
 end
@@ -42,6 +44,8 @@ local inactive_formspec =
        "listring[current_player;main]"..
        "listring[current_name;src]"..
        "listring[current_player;main]"..
+       "listring[current_name;fuel]"..
+       "listring[current_player;main]"..
        default.get_hotbar_bg(0, 4.25)
 
 --