feat: Added Map

- Implemented Map
- Partially implemented CLI interaction with map
- Added load_map test
This commit is contained in:
Alexey 2025-12-03 17:01:40 +03:00
commit b9f75e426c
6 changed files with 371 additions and 25 deletions

26
tests/main/map.toml Normal file
View file

@ -0,0 +1,26 @@
[[room]]
id = 0
children = [ 1, 2 ]
value = 0
name = "Entrance"
description = "Enter the dungeon"
[[room]]
id = 1
children = [ 0, 3 ]
value = 100
name = "Kitchen hall"
[[room]]
id = 2
children = [ 0 ]
value = 250
name = "Room"
description = "Simple room with no furniture"
[[room]]
id = 3
children = [ 1 ]
value = 175
name = "Kitchen"
description = "Knives are stored here"