Skip to content
Browse files

Default/furnace: Indicate dst full

Indicate in the infotext when a furnace has filled up `dst` but still
has fuel. The info text shows the item as 100% with added "(output
full)" text, indicating that while it can cook the item, there is no
place for it in the `dst`. Emptying the `dst` should make the item
cook immediately and furnace resume normal operation.
  • Loading branch information
sofar authored and paramat committed Aug 26, 2016
1 parent 0664570 commit 1d6fbe04cda32b05d7d4398f657dba36b470ae73
Showing with 5 additions and 1 deletion.
  1. +5 −1 mods/default/furnace.lua
@@ -175,7 +175,11 @@ local function furnace_node_timer(pos, elapsed)
local item_percent = 0
if cookable then
item_percent = math.floor(src_time / cooked.time * 100)
item_state = item_percent .. "%"
if item_percent > 100 then
item_state = "100% (output full)"
item_state = item_percent .. "%"
if srclist[1]:is_empty() then
item_state = "Empty"

0 comments on commit 1d6fbe0

Please sign in to comment.
You can’t perform that action at this time.