diff options
| author | troido <troido@protonmail.com> | 2020-03-04 19:47:00 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-04 19:47:00 +0100 |
| commit | 022e439a6677b9865b7a3287dbd197d86266f8ef (patch) | |
| tree | 00c8cd7c08fe29cf9f6652b0082f2b13617e426c /content | |
| parent | f8364fb636a8e9276939ae8523966b038388e4ff (diff) | |
implemented growth
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 56a0998..a94f388 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -78,7 +78,7 @@ ["Item", { "ent": ["template", "pebble"], "name": ["string", "pebble"], - "action": ["action", ["eat", 1]] + "action": ["action", ["none", null]] }] ], "sprite": "pebble", @@ -86,7 +86,11 @@ }, "stone": { "components": [ - ["Item", {"ent": ["template", "stone"], "name": ["string", "stone"], "action": ["action", ["build", "builtwall"]]}] + ["Item", { + "ent": ["template", "stone"], + "name": ["string", "stone"], + "action": ["action", ["build", "builtwall"]] + }] ], "sprite": "stone", "height": 0.4 @@ -192,11 +196,36 @@ "radishseed": { "sprite": "seed", "height": 0.2, - "name": "radishseed" + "name": "radishseed", + "components": [ + ["Item", { + "ent": ["template", "radishseed"], + "name": ["string", "radishseed"], + "action": ["action", ["build", "plantedradishseed"]] + }] + ] + }, + "plantedradishseed": { + "sprite": "seed", + "height": 0.05, + "name": "seed", + "components": [ + ["Grow", { + "delay": ["int", 200], + "into": ["template", "radishplant"] + }] + ] }, "radishes": { "sprite": "food", "height": 0.3, - "name": "radishes" + "name": "radishes", + "components": [ + ["Item", { + "ent": ["template", "radishes"], + "name": ["string", "radishes"], + "action": ["action", ["eat", 1]] + }] + ] } } |
