From 1409c832a6d69ffa8abdb33cd6352217e15fec21 Mon Sep 17 00:00:00 2001 From: Vaino Kauppila Date: Thu, 30 Jul 2026 13:00:27 +0300 Subject: Add Cut Test map; document ClaimsStructures is not a placement gate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New map entry in data/maps.lua: "Cut Test" — a narrow 2-wide X-braced tower with a reactor on top, for testing the mount-radius / collapse victory mechanic. - Comment in build_graph.cpp documenting that ClaimsStructures in Forts game data is a territory-claiming flag, not a placement-legality rule. - Update CLAUDE.md M5 status to done: devices on strut graph, fire damages devices. Co-Authored-By: Claude --- src/game/build_graph.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/game/build_graph.cpp b/src/game/build_graph.cpp index 2398b9c..b4c75d7 100644 --- a/src/game/build_graph.cpp +++ b/src/game/build_graph.cpp @@ -540,6 +540,11 @@ void BuildGraph::break_node(int node_id) { // Devices mounted on the strut graph // ============================================================================= + +// NOTE: ClaimsStructures in Forts game data is a territory/team-claiming flag, +// not a placement-legality rule. Do NOT add a strut-proximity placement gate +// without new evidence. Every device snaps onto the nearest strut; unmounted +// devices die only from weapon damage, which is acceptable. int BuildGraph::mount_device(int na, int nb, int device_type, int team, float hp) { if (na < 0 || na >= (int)nodes.size()) return -1; if (nb < 0 || nb >= (int)nodes.size()) return -1; -- cgit v1.3