diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-21 13:12:50 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-21 13:12:50 -0400 |
commit | 711d326fa4585031b9d623541624826558bdf547 (patch) | |
tree | 14aad4560bfe0674098b96f859a62c63b693406b /Archipelago/client.gd | |
parent | 234388269696e3383631f4f0450b1096577d91cb (diff) | |
download | lingo-archipelago-711d326fa4585031b9d623541624826558bdf547.tar.gz lingo-archipelago-711d326fa4585031b9d623541624826558bdf547.tar.bz2 lingo-archipelago-711d326fa4585031b9d623541624826558bdf547.zip |
Report achievements to AP using data storage (for tracker)
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 0326ffb..d7074f5 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -540,6 +540,12 @@ func sendLocation(loc_id): | |||
540 | _held_locations.append(loc_id) | 540 | _held_locations.append(loc_id) |
541 | 541 | ||
542 | 542 | ||
543 | func setValue(key, value): | ||
544 | sendMessage( | ||
545 | [{"cmd": "Set", "key": key, "operations": [{"operation": "replace", "value": value}]}] | ||
546 | ) | ||
547 | |||
548 | |||
543 | func completedGoal(): | 549 | func completedGoal(): |
544 | sendMessage([{"cmd": "StatusUpdate", "status": 30}]) # CLIENT_GOAL | 550 | sendMessage([{"cmd": "StatusUpdate", "status": 30}]) # CLIENT_GOAL |
545 | 551 | ||