summaryrefslogtreecommitdiff
path: root/src/defaultencyclopedia.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/defaultencyclopedia.rs')
-rw-r--r--src/defaultencyclopedia.rs14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/defaultencyclopedia.rs b/src/defaultencyclopedia.rs
index 252174d..b6ab6cc 100644
--- a/src/defaultencyclopedia.rs
+++ b/src/defaultencyclopedia.rs
@@ -145,7 +145,8 @@ pub fn default_encyclopedia() -> Encyclopedia {
"wound": {
"sprite": "wound",
"height": 0.25,
- "components": [["Volatile", {"delay": ["int", 4]}]]
+ "components": [["Volatile", {"delay": ["int", 4]}]],
+ "save": false
},
"rat": {
"sprite": "rat",
@@ -161,6 +162,17 @@ pub fn default_encyclopedia() -> Encyclopedia {
["Movable", {"cooldown": ["int", 3]}],
"Mortal"
]
+ },
+ "spawner": {
+ "arguments": [["template", "template", null], ["amount", "int", 1], ["delay", "int", 0], ["clan", "string", ""]],
+ "components": [
+ ["Spawner", {
+ "template": ["arg", "template"],
+ "amount": ["arg", "amount"],
+ "delay": ["arg", "delay"],
+ "clan": ["arg", "clan"]
+ }]
+ ]
}
})).unwrap()
}