Add MVP gathering audio hooks

This commit is contained in:
2026-05-19 12:06:14 -07:00
parent bb5ed3883b
commit 47cd7a5479
5 changed files with 100 additions and 1 deletions
+7
View File
@@ -323,6 +323,13 @@ slots. Cadence is state-aware and driven by horizontal movement, so the MVP can
remain silent until placeholder or final surface-aware cues are assigned while
still giving designers a real hook for step audio in packaged builds.
Gathering audio is owned by `AAgrarianResourceNode`. Successful
server-authoritative harvests call a multicast placeholder cue so nearby
clients can hear the action without trusting client-side gathering requests.
Each resource node exposes `GatheringSound` and `DepletedGatheringSound` slots,
with a spatialized `GatheringAudioComponent`; the system remains silent until
resource-specific placeholder or final cues are assigned.
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.