summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json10
-rw-r--r--content/maps/room.json2
2 files changed, 8 insertions, 4 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index f95de5e..68acc02 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -193,12 +193,16 @@
"spawner": {
"arguments": [["template", "template"], ["amount", "int", 1], ["delay", "int", 0], ["clan", "string", ""], ["initial_spawn", "bool", true]],
"components": [
+ ["Timer", {
+ "delay": ["arg", "delay"],
+ "spread": 0.9,
+ "trigger": "spawn",
+ "target_time": 0
+ }],
["Spawner", {
"template": ["arg", "template"],
"amount": ["arg", "amount"],
- "delay": ["arg", "delay"],
- "clan": ["arg", "clan"],
- "initial_spawn": ["arg", "initial_spawn"]
+ "clan": ["arg", "clan"]
}]
]
},
diff --git a/content/maps/room.json b/content/maps/room.json
index 728ee4d..41663fc 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": 3, "clan": "rats", "delay": 200}}],
+ "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat"}, "amount": 10, "clan": "rats", "delay": 20}}],
"V": ["grass", "radishplant"],
"/": ["grass", "sword"],
"D": ["ground", "closeddoor"],