aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/map_linter.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-16 14:44:43 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-16 14:44:43 +0200
commitb71caa566e909d1592ecb11215b2fc11a2cbd806 (patch)
tree39acaf00c6be34811eeea096a0f4301acb45a319 /server/tools/src/map_linter.rs
parent17a01af0f34a918d028063665a507916c80867b8 (diff)
downloadhurrycurry-b71caa566e909d1592ecb11215b2fc11a2cbd806.tar
hurrycurry-b71caa566e909d1592ecb11215b2fc11a2cbd806.tar.bz2
hurrycurry-b71caa566e909d1592ecb11215b2fc11a2cbd806.tar.zst
Fix salad store cutting board being recipe exclusive
Diffstat (limited to 'server/tools/src/map_linter.rs')
-rw-r--r--server/tools/src/map_linter.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tools/src/map_linter.rs b/server/tools/src/map_linter.rs
index d4bf5c9a..ca0d54a1 100644
--- a/server/tools/src/map_linter.rs
+++ b/server/tools/src/map_linter.rs
@@ -169,6 +169,9 @@ pub fn check_map(map: &str) -> Result<()> {
if data.tile_walkable.contains(&tile) {
warnings.push(trm!("s.tool.map_linter.walkable", t = tile));
}
+ if data.tile_placeable_items.contains_key(&tile) {
+ warnings.push(trm!("s.tool.map_linter.exclusive", t = tile));
+ }
}
Exclusive => {
if !data.tile_placeable_items.contains_key(&tile) {