summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-07 20:28:01 +0100
committertroido <troido@protonmail.com>2020-02-07 20:28:01 +0100
commitfa81f03509aa1300613c62e3a7b32db1183cd5c8 (patch)
tree0258c669ea0a81b8e98a4b5fc14cc5139d49bedc /src/main.rs
parent8be2749edf97b200281a2c67f97ed8835f5c6d88 (diff)
added floors
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 7db7dd9..66c6fcc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -72,7 +72,7 @@ fn gen_room<'a, 'b>() -> Room<'a, 'b> {
let roomtemplate = RoomTemplate::from_json(&json!({
"width": 42,
"height": 22,
- "spawn": [35, 5],
+ "spawn": [5, 15],
"field": [
"##########################################",
"#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#",
@@ -133,7 +133,8 @@ fn default_assemblages() -> Encyclopedia {
["string", "ground"]
]],
"height": ["float", 0.1]
- }]
+ }],
+ ["Floor", {}]
]
},
"player": {