Add campfire maintenance gameplay hooks

This commit is contained in:
2026-05-19 12:21:24 -07:00
parent dde42bf452
commit b4e9cced85
5 changed files with 128 additions and 4 deletions
+7
View File
@@ -369,6 +369,13 @@ modifiers, and a suppression-pressure hook that future rain, carried water,
dirt/sand, firebreaks, and tools can drive. This establishes deterministic fire
state for clients without letting clients decide whether the world is burning.
Fire maintenance gameplay uses the same authority path as ignition and fuel.
Interacting with a lit campfire now presents as maintaining the fire; if the
player has wood it still adds fuel, and if not it watches/maintains the fire.
Native hooks also let future UI/actions explicitly clear the fire area or
contain the fire. Watched, cleared, contained, and extinguished fires reduce
risk, while neglected fires continue accumulating ignition and spread pressure.
Campfires expose native extinguish logic through `AAgrarianCampfire::Extinguish`.
Extinguishing clears remaining fuel, turns off replicated lit state, and reuses
the same visual update path as natural fuel depletion.