From fa81f03509aa1300613c62e3a7b32db1183cd5c8 Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 7 Feb 2020 20:28:01 +0100 Subject: added floors --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.rs') 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": { -- cgit