diff options
| author | troido <troido@protonmail.com> | 2020-04-13 15:13:36 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-13 15:13:36 +0200 |
| commit | e8088a736a48cfb650df7f7a8f69e3e91922ca57 (patch) | |
| tree | 95f2738dd10aa7250fd6416f598340c4aec8710e /content | |
| parent | 2d4cabc768968a215556f7a4ed81a728d3b6e120 (diff) | |
added if conditions in assemblages
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 4 | ||||
| -rw-r--r-- | content/maps/room.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 68acc02..ac25482 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -195,9 +195,9 @@ "components": [ ["Timer", { "delay": ["arg", "delay"], - "spread": 0.9, + "spread": 0.1, "trigger": "spawn", - "target_time": 0 + "target_time": ["if", [["arg", "initial_spawn"], 0, -1]] }], ["Spawner", { "template": ["arg", "template"], diff --git a/content/maps/room.json b/content/maps/room.json index 41663fc..ec4533f 100644 --- a/content/maps/room.json +++ b/content/maps/room.json @@ -44,7 +44,7 @@ "1": {"type": "portal", "kwargs": {"destination": "smallview"}}, "^": ["grass", "spiketrap"], "d": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "dummy"}, "delay": 100}}], - "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat"}, "amount": 10, "clan": "rats", "delay": 20}}], + "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat"}, "amount": 3, "clan": "rats", "delay": 200, "initial_spawn": false}}], "V": ["grass", "radishplant"], "/": ["grass", "sword"], "D": ["ground", "closeddoor"], |
