summaryrefslogtreecommitdiff
path: root/src/defaultencyclopedia.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-03 14:55:45 +0100
committertroido <troido@protonmail.com>2020-03-03 14:55:45 +0100
commitc51585be254795be90626dbc376663b1be8b5bf5 (patch)
treef172d05e4ef3c9df62006c627f3f53bc4176985f /src/defaultencyclopedia.rs
parentc30c92c23a269e5ff28946d3522e68338696ac94 (diff)
dummies respawn too; fixed problems with respawn delay
Diffstat (limited to 'src/defaultencyclopedia.rs')
-rw-r--r--src/defaultencyclopedia.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/defaultencyclopedia.rs b/src/defaultencyclopedia.rs
index b6ab6cc..5e9222e 100644
--- a/src/defaultencyclopedia.rs
+++ b/src/defaultencyclopedia.rs
@@ -164,13 +164,14 @@ pub fn default_encyclopedia() -> Encyclopedia {
]
},
"spawner": {
- "arguments": [["template", "template", null], ["amount", "int", 1], ["delay", "int", 0], ["clan", "string", ""]],
+ "arguments": [["template", "template", null], ["amount", "int", 1], ["delay", "int", 0], ["clan", "string", ""], ["initial_spawn", "bool", true]],
"components": [
["Spawner", {
"template": ["arg", "template"],
"amount": ["arg", "amount"],
"delay": ["arg", "delay"],
- "clan": ["arg", "clan"]
+ "clan": ["arg", "clan"],
+ "initial_spawn": ["arg", "initial_spawn"]
}]
]
}