diff options
| author | troido <troido@protonmail.com> | 2020-04-13 12:03:44 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-13 12:03:44 +0200 |
| commit | 88d3414f523d01a0109604103e6aeb8b68a7fa20 (patch) | |
| tree | a102e4fa9d4b7acd164830295944e973aa4d6dac /content | |
| parent | 9bc90bcff5bec4fbb03a568f59e14b1b016e0e44 (diff) | |
grow is now also using build trigger/component
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 28 | ||||
| -rw-r--r-- | content/maps/room.json | 2 |
2 files changed, 18 insertions, 12 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 5ebc106..c47f738 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -234,8 +234,9 @@ ["Grow", { "delay": 600, "target_time": ["arg", "target_time"], - "into": ["template", "radishseedling"] - }] + "trigger": "change" + }], + ["Build", {"obj": ["template", "radishseedling"]}] ], "extract": { "target_time": ["Grow", "target_time"] @@ -251,8 +252,9 @@ ["Grow", { "delay": 600, "target_time": ["arg", "target_time"], - "into": ["template", "youngradishplant"] - }] + "trigger": "change" + }], + ["Build", {"obj": ["template", "youngradishplant"]}] ], "extract": { "target_time": ["Grow", "target_time"] @@ -268,8 +270,9 @@ ["Grow", { "delay": 600, "target_time": ["arg", "target_time"], - "into": ["template", "radishplant"] - }] + "trigger": "change" + }], + ["Build", {"obj": ["template", "radishplant"]}] ], "extract": { "target_time": ["Grow", "target_time"] @@ -330,8 +333,9 @@ ["Grow", { "delay": ["arg", "delay"], "target_time": ["arg", "target_time"], - "into": ["arg", "next"] - }] + "trigger": "change" + }], + ["Build", {"obj": ["arg", "next"]}] ], "extract": { "target_time": ["Grow", "target_time"] @@ -347,8 +351,9 @@ ["Grow", { "delay": ["arg", "delay"], "target_time": ["arg", "target_time"], - "into": ["arg", "next"] - }] + "trigger": "change" + }], + ["Build", {"obj": ["arg", "next"]}] ], "extract": { "target_time": ["Grow", "target_time"] @@ -361,8 +366,9 @@ ["Grow", { "delay": ["arg", "delay"], "target_time": ["arg", "target_time"], - "into": ["arg", "next"] + "trigger": "change" }], + ["Build", {"obj": ["arg", "next"]}], ["Visible", { "name": ["concat", [["string", "young"], ["arg", "crop"], ["string", "plant"]]], "sprite": "youngplant", diff --git a/content/maps/room.json b/content/maps/room.json index d092485..728ee4d 100644 --- a/content/maps/room.json +++ b/content/maps/room.json @@ -25,7 +25,7 @@ "1.......,,,,,VVV,,,~~~'''''''''''ffffff'''X", " X/,,,,.,,,,,VVV,,,~~~''''''''''''''''''''X", " XXXXX,.,XXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXX", - " %%% " + " %%% " ], "mapping": { "#": "wall", |
