diff options
| author | troido <troido@protonmail.com> | 2020-03-04 12:15:58 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-04 12:15:58 +0100 |
| commit | 21919636f95a1214b7ed1a3e4aa6527f45b9d073 (patch) | |
| tree | dfe7a465cdf81048c3ac04b5719571bb0192791f /content | |
| parent | daae8b511291b8cc854a8747e64e76c6ff2d462e (diff) | |
interacting now works
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 9 | ||||
| -rw-r--r-- | content/maps/room.json | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 0a4bb97..c1b8c1e 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -178,5 +178,14 @@ "sprite": ["concat", [["string", "emptyletter-"], ["arg", "char"]]], "height": ["float", 1.0] }]] + }, + "radishplant": { + "sprite": "smallplant", + "name": "radishplant", + "height": 0.5, + "components": [ + ["Interactable", {"action": ["string", "harvest"]}], + "Mortal" + ] } } diff --git a/content/maps/room.json b/content/maps/room.json index fe99559..16e6230 100644 --- a/content/maps/room.json +++ b/content/maps/room.json @@ -17,13 +17,13 @@ "X,^,,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X", "X,,,,,.............bbb...........++++#,,,X", "X,**,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X", - "X,*,*,.,,,,,,,,,,,,~~~,,,T,,,T,,#++++#,,,X", + "X,*,*,.,,,,,V,,V,,,~~~,,,T,,,T,,#++++#,,,X", "X,,*,,.,,,,,,,,,,,,~~~,,,,,,,,,,######,,,X", "X,oo,,.,,,d,,,,,,,~~~~,,,,,,,,,,f,,,,f,,,X", "X,,*,,.,,,,,,,,,,,~~~''''''''''''''''f'''X", - "X*,,,,.,,,d,,,,,,,~~~'''''''''''f''''f'''X", - "X,,,,,.,,,,,,,,,,,~~~'''''''''''ffffff'''X", - "X,,,,,.,,,,,,,,,,,~~~''''''''''''''''''''X", + "X*,,,,.,,,d,VVV,,,~~~'''''''''''f''''f'''X", + "X,,,,,.,,,,,VVV,,,~~~'''''''''''ffffff'''X", + "X,,,,,.,,,,,VVV,,,~~~''''''''''''''''''''X", "XXXXX,.,XXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXX", " %%% " ], @@ -44,6 +44,7 @@ "^": ["grass", "spiketrap"], "d": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "dummy"}, "delay": 100}}], "r": ["grass", {"type": "spawner", "kwargs": {"template": {"type": "rat"}, "amount": 3, "clan": "rats", "delay": 200}}], + "V": ["grass", "radishplant"], " ": [] } } |
