diff options
| author | troido <troido@protonmail.com> | 2020-03-03 13:36:44 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-03 13:36:44 +0100 |
| commit | b2157791dfcaab18ec7f8ebb958341fe325cf419 (patch) | |
| tree | f94e638573878599b0ee108a0b06fbe1c8f69ef9 /src/defaultencyclopedia.rs | |
| parent | a8d0e075613cc973b66c37510103108362fe7d3d (diff) | |
added spawners an not-saved assemblages/templates
Diffstat (limited to 'src/defaultencyclopedia.rs')
| -rw-r--r-- | src/defaultencyclopedia.rs | 14 |
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() } |
