about summary refs log tree commit diff stats
path: root/util
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-04-19 22:00:39 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-19 22:00:39 -0400
commit62904f7943498efe9a041b2d42cbc9dae48a4c7d (patch)
tree3f7c3ee9f26cf9e4bbdb910e02e833715dfb0f81 /util
parent5406ebc4486340bb5d158ffa864bf2e60ffb410d (diff)
downloadlingo-archipelago-62904f7943498efe9a041b2d42cbc9dae48a4c7d.tar.gz
lingo-archipelago-62904f7943498efe9a041b2d42cbc9dae48a4c7d.tar.bz2
lingo-archipelago-62904f7943498efe9a041b2d42cbc9dae48a4c7d.zip
Signs get updated in panel shuffle mode
Palindromes room is fixed now too.
Diffstat (limited to 'util')
-rw-r--r--util/generate_gamedata.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 7f4216f..5940480 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb
@@ -22,7 +22,13 @@ end.map do |panel|
22 ret["link"] = "\"#{panel["link"]}\"" 22 ret["link"] = "\"#{panel["link"]}\""
23 end 23 end
24 if panel.include? "copy_to_sign" 24 if panel.include? "copy_to_sign"
25 ret["copy_to_sign"] = "\"#{panel["copy_to_sign"]}\"" 25 copytos = []
26 if panel["copy_to_sign"].kind_of? String
27 copytos = [panel["copy_to_sign"]]
28 else
29 copytos = panel["copy_to_sign"]
30 end
31 ret["copy_to_sign"] = "[\"" + copytos.join("\",\"") + "\"]"
26 end 32 end
27 ret 33 ret
28end.map do |panel| 34end.map do |panel|