Add shelter damage placeholder

This commit is contained in:
2026-05-18 11:19:10 -07:00
parent 01d439c415
commit e75ee716e0
5 changed files with 203 additions and 2 deletions
+5
View File
@@ -95,6 +95,11 @@ Early runtime systems should remain small and explicit:
- MVP primitive shelters use an open entrance and do not include an
interactive door. Door actors, locks, ownership permissions, and modular
openings are deferred to permanent structures.
- `AAgrarianShelterActor` includes a version 0.1 structure damage placeholder:
replicated current/max health, authority-only damage, repair, and
deconstruction hooks, `TakeDamage` integration, depletion destruction, and
persistent health state. This gives fire, weather, tools, and future
ownership systems a safe structure-health contract to extend.
- `UAgrarianBuildingPlacementComponent` owns the MVP placement preview. It
traces from the player view, snaps to the configured grid, validates distance
and collision, broadcasts Blueprint-readable preview state, and draws a