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 /util | |
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 'util')
-rw-r--r-- | util/generate_gamedata.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 5940480..3b57f76 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb | |||
@@ -30,6 +30,9 @@ end.map do |panel| | |||
30 | end | 30 | end |
31 | ret["copy_to_sign"] = "[\"" + copytos.join("\",\"") + "\"]" | 31 | ret["copy_to_sign"] = "[\"" + copytos.join("\",\"") + "\"]" |
32 | end | 32 | end |
33 | if panel.include? "achievement" | ||
34 | ret["achievement"] = "\"#{panel["achievement"]}\"" | ||
35 | end | ||
33 | ret | 36 | ret |
34 | end.map do |panel| | 37 | end.map do |panel| |
35 | "{" + panel.to_a.map do |element| | 38 | "{" + panel.to_a.map do |element| |