Persist active fire spread state

This commit is contained in:
2026-05-19 12:25:41 -07:00
parent 6b43a234cf
commit dbb911038a
4 changed files with 80 additions and 1 deletions
+7
View File
@@ -384,6 +384,13 @@ shrinks spread radius, and lets water/rain also drain fuel. Wet weather
contributes passive suppression pressure so rain and storms naturally slow
dangerous fires before later UI and inventory actions call the same hooks.
Active grass, forest, and structure fire state persists with campfires through
the existing `UAgrarianPersistentActorComponent` provider path. Save records now
carry ignition flags, ignition risk scores, fire intensities, spread radius, and
suppression pressure so save/load recovery can restore active or partially
suppressed fires without resetting the world to a safe state or corrupting the
campfire's fuel, cooking, weather, and maintenance state.
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.