about summary refs log tree commit diff stats
path: root/util/generate_gamedata.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-21 13:12:50 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-21 13:12:50 -0400
commit711d326fa4585031b9d623541624826558bdf547 (patch)
tree14aad4560bfe0674098b96f859a62c63b693406b /util/generate_gamedata.rb
parent234388269696e3383631f4f0450b1096577d91cb (diff)
downloadlingo-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/generate_gamedata.rb')
-rw-r--r--util/generate_gamedata.rb3
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
34end.map do |panel| 37end.map do |panel|
35 "{" + panel.to_a.map do |element| 38 "{" + panel.to_a.map do |element|