aboutsummaryrefslogtreecommitdiff
path: root/server/protocol/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-30 02:08:54 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-30 02:08:54 +0200
commitd2c793ec7632a5da8065fd52436cfd676cc96a7b (patch)
tree3868f0f858bc9766925723b6479315bacde4b040 /server/protocol/src/lib.rs
parent5033c326094edc1ff4234b994e95d987cb937fc4 (diff)
downloadhurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar
hurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar.bz2
hurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar.zst
Tile placeable items client side and interactable empty special case
Diffstat (limited to 'server/protocol/src/lib.rs')
-rw-r--r--server/protocol/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index 00ef62d7..66f41a6e 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -87,6 +87,7 @@ pub struct Gamedata {
pub tile_names: Vec<String>,
pub tile_walkable: HashSet<TileIndex>,
pub tile_placeable_items: BTreeMap<TileIndex, HashSet<ItemIndex>>,
+ pub tile_interactable_empty: HashSet<TileIndex>,
pub maps: Vec<(String, MapMetadata)>,
pub bot_algos: Vec<String>,
pub recipes: Vec<Recipe>,