diff options
| -rw-r--r-- | content/maps/room.json | 6 | ||||
| -rw-r--r-- | src/componentwrapper.rs | 2 | ||||
| -rw-r--r-- | src/world.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/content/maps/room.json b/content/maps/room.json index e652cd7..4af1532 100644 --- a/content/maps/room.json +++ b/content/maps/room.json @@ -38,12 +38,12 @@ "T": ["grass", "tree"], "f": ["grass", "fence"], "X": "rock", - "*": ["grass", "pebble"], - "o": ["grass", "stone"], + "*": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "pebble"}, "delay": 600}}], + "o": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "stone"}, "delay": 600}}], "%": {"type": "portal", "kwargs": {"destination": "broom", "dest_pos": "northentry"}}, "^": ["grass", "spiketrap"], "d": ["grass", "dummy"], - "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat", "save": false}, "amount": 3, "clan": "rats", "delay": 200}}], + "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat"}, "amount": 3, "clan": "rats", "delay": 200}}], " ": [] } } diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs index a03ab17..88597bf 100644 --- a/src/componentwrapper.rs +++ b/src/componentwrapper.rs @@ -138,7 +138,7 @@ components!( clan } }, - template, + template: template.unsaved(), last_spawn: Timestamp(0) } }; diff --git a/src/world.rs b/src/world.rs index 87dafb8..f428cc1 100644 --- a/src/world.rs +++ b/src/world.rs @@ -38,7 +38,7 @@ impl <'a, 'b>World<'a, 'b> { encyclopedia, players: HashMap::new(), rooms: hashmap!(purgatory::purgatory_id() => purgatory::create_purgatory()), - time: Timestamp(0) + time: Timestamp(1000000) } } |
