summaryrefslogtreecommitdiff
path: root/content/encyclopediae/default_encyclopedia.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-13 14:16:35 +0200
committertroido <troido@protonmail.com>2020-04-13 14:16:35 +0200
commitee200f3003acdfdfde1a746246a7a4669188eb18 (patch)
treeb15ac6b53f52e72b586c529fba550368e1ca6f68 /content/encyclopediae/default_encyclopedia.json
parentab67714238c162646af10334715c6de41939c83f (diff)
spawners now also use timer component and triggers
Diffstat (limited to 'content/encyclopediae/default_encyclopedia.json')
-rw-r--r--content/encyclopediae/default_encyclopedia.json10
1 files changed, 7 insertions, 3 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"]
}]
]
},