about summary refs log tree commit diff stats
path: root/data/maps/daedalus/rooms/Pyramid 6.txtpb
blob: 3a7346be057257bc95d7bf52fef110f2687cbbf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
name: "Pyramid 6"
panel_display_name: "Pyramid"
panels {
  name: "TEA"
  path: "Panels/Pyramid/pyramid_6"
  clue: "tea"
  answer: "black"
  symbols: EXAMPLE
}
"o">= ARGV[1] panels = [] File.readlines(mappath).each do |line| line.match(/node name=\"(.*)\" parent=\"Panels\/(.*)\" instance/) do |m| panels << {"id" => m[2] + "/" + m[1]} end end File.write(outputpath, panels.to_yaml)