feat: Added Map
- Implemented Map - Partially implemented CLI interaction with map - Added load_map test
This commit is contained in:
parent
dc94f2060c
commit
b9f75e426c
6 changed files with 371 additions and 25 deletions
26
tests/main/map.toml
Normal file
26
tests/main/map.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue