aboutsummaryrefslogtreecommitdiff
path: root/server/src/data.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-20 02:16:41 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:21:49 +0200
commitc78665e4fd83a64a67a6747ec9429c74a3d4a466 (patch)
tree6d0714808ca3c3fb9a3ca652770668058f5f89cc /server/src/data.rs
parent935dc832d02ba49ad50cbbaee333ab2dacd3226d (diff)
downloadhurrycurry-c78665e4fd83a64a67a6747ec9429c74a3d4a466.tar
hurrycurry-c78665e4fd83a64a67a6747ec9429c74a3d4a466.tar.bz2
hurrycurry-c78665e4fd83a64a67a6747ec9429c74a3d4a466.tar.zst
generate dot graph from recipes
Diffstat (limited to 'server/src/data.rs')
-rw-r--r--server/src/data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/data.rs b/server/src/data.rs
index e59b8b35..fd268cb5 100644
--- a/server/src/data.rs
+++ b/server/src/data.rs
@@ -52,8 +52,8 @@ pub struct Demand {
pub struct Gamedata {
recipes: Vec<Recipe>,
pub demands: Vec<Demand>,
- item_names: Vec<String>,
- tile_names: Vec<String>,
+ pub item_names: Vec<String>,
+ pub tile_names: Vec<String>,
#[serde(skip)]
pub initial_map: HashMap<IVec2, TileIndex>,
pub chef_spawn: Vec2,