From 47ea1d30576d6a9e3fa43fd520df44d3c5e240a7 Mon Sep 17 00:00:00 2001 From: Etienne Samson Date: Sun, 26 Jan 2025 01:38:56 +0100 Subject: [PATCH] Clarify that containers, roads and walls are unowned structures --- api/source/StructureContainer.md | 2 ++ api/source/StructureRoad.md | 2 ++ api/source/StructureWall.md | 3 +++ 3 files changed, 7 insertions(+) diff --git a/api/source/StructureContainer.md b/api/source/StructureContainer.md index b701dd6b..253240fd 100644 --- a/api/source/StructureContainer.md +++ b/api/source/StructureContainer.md @@ -4,6 +4,8 @@ A small container that can be used to store resources. This is a walkable structure. All dropped resources automatically goes to the container at the same tile. +This structure is unowned, so it won't be returned in a `room.find(FIND_MY_STRUCTURES)` call. + diff --git a/api/source/StructureRoad.md b/api/source/StructureRoad.md index 9c31b0b5..b6cfacd8 100644 --- a/api/source/StructureRoad.md +++ b/api/source/StructureRoad.md @@ -4,6 +4,8 @@ Decreases movement cost to 1. Using roads allows creating creeps with less `MOVE` body parts. You can also build roads on top of natural terrain walls which are otherwise impassable. +This structure is unowned, so it won't be returned in a `room.find(FIND_MY_STRUCTURES)` call. +
diff --git a/api/source/StructureWall.md b/api/source/StructureWall.md index 805d71ce..5542709f 100644 --- a/api/source/StructureWall.md +++ b/api/source/StructureWall.md @@ -3,8 +3,11 @@ Blocks movement of all creeps. + Players can build destructible walls in controlled rooms. Some rooms also contain indestructible walls separating novice and respawn areas from the rest of the world or dividing novice / respawn areas into smaller sections. Indestructible walls have no `hits` property. + +This structure is unowned, so it won't be returned in a `room.find(FIND_MY_STRUCTURES)` call.