Add fire suppression hooks
This commit is contained in:
@@ -376,6 +376,14 @@ 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.
|
||||
|
||||
Fire suppression uses explicit server-side hooks on `AAgrarianCampfire`.
|
||||
`ApplyFireSuppression` is the shared entry point, with named wrappers for water,
|
||||
dirt/sand, cleared firebreaks, and future tools. Suppression raises
|
||||
`FireSuppressionPressure`, reduces ignition risk, reduces active fire intensity,
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user