Skip to content

Releases: Kitsune-Den/KitsuneFuelSaver

v1.0.1 - Fix campfire shutting off mid-cook

19 May 10:18

Choose a tag to compare

What's fixed

Campfires (and any fueled workstation) could shut themselves off shortly after you queued a recipe through the crafting UI without manually toggling the fire on first. Fuel was still in the slot, the recipe was queued, but the fire died and the recipe stalled.

Root cause

When the UI queues a recipe, fuelWindow.TurnOn() flips IsBurning on the tile entity immediately, but the recipe doesn't actually land in TE.queue until the next syncTEfromUI() (next UI Update or UI close). If UpdateTick hit in that window, the previous logic saw isBurning=true and hasRecipeInQueue()=false and turned the fire off. syncTEfromUI never re-syncs isBurning, so the flip stuck and HandleRecipeQueue then bailed on (isModuleUsed[Fuel] && !isBurning). Result: food in the slot, fuel in the slot, no fire, no progress.

Fix

Two guards:

  • Skip the shut-off entirely while IsUserAccessing() is true. The UI is in flux, don't touch state.
  • Apply the "input slots non-empty -> keep burning" check to all fueled workstations, not just forges with Material_Input. Defense in depth.

Server-side only, same as v1.0.0. Drop the new DLL in and you're good.

Install

  1. Grab KitsuneFuelSaver-v1.0.1.zip below
  2. Extract so Mods/KitsuneFuelSaver/ ends up in your 7D2D install
  3. Launch

v1.0.0 - Auto-shutoff for fueled workstations

20 Apr 22:13

Choose a tag to compare

First release. The forge finally knows when to quit.

What it does

When the craft queue is empty and nothing's smelting, the fire goes out. Fuel already in the slot stays in the slot. Relight next time, don't burn a full pile of coal while you're off fighting a horde.

Install

  1. Download KitsuneFuelSaver-v1.0.0.zip
  2. Extract into your 7D2D install so Mods/KitsuneFuelSaver/ lands in the right place
  3. Launch. Look for [KitsuneFuelSaver] Loading Harmony patches in the log

Plays nice with

  • Tested against 7D2D V2.6.14 on single-player
  • Dedi sync goes through the normal setModified() path, should be fine
  • No load order needed. Ships its own Harmony, patches a vanilla class, coexists with other mods
  • Chem bench, workbench, cement mixer, anything without a fuel module: untouched