From 4cc950f2227d82c6a6b2f85247738f4aaf80c7db Mon Sep 17 00:00:00 2001 From: Joshua Deville Date: Wed, 8 Jul 2026 15:30:33 -0400 Subject: [PATCH] Implement hull damage/repair on BP_ShipPawn DamageHull and RepairHull custom events (this MCP plugin's Blueprint graph builder can't author formal parameterized Functions yet, only CustomEvents, so amounts are fixed rather than passed in): - DamageHull: Hull -= 10, clamped to 0. - RepairHull: if StorageAmount > 0, consumes 1 storage and restores 20 hull (clamped to MaxHull); otherwise no-ops. Bound to H/R test keys with on-screen PrintString feedback, since there's no HUD yet to show the actual Hull/Storage values. No real damage trigger (e.g. collision) wired up yet -- nothing to collide with in the level yet. Smoke-tested in PIE: no runtime errors. --- Content/Blueprints/BP_ShipPawn.uasset | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content/Blueprints/BP_ShipPawn.uasset b/Content/Blueprints/BP_ShipPawn.uasset index 800c2a2..f63cf3a 100644 --- a/Content/Blueprints/BP_ShipPawn.uasset +++ b/Content/Blueprints/BP_ShipPawn.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:762fa8e60dc9ad5e5ca0c086c5f9c2beed7c34126b84d8a8747d15ac94be3df3 -size 96468 +oid sha256:4c04d72a35196bf3177aec37c3c00b68719e8361515b5a0b4a1be095b604546c +size 179843