#ifndef TOOLS_VALIDATOR_STRUCTS_H_ #define TOOLS_VALIDATOR_STRUCTS_H_ #include #include #include #include "proto/human.pb.h" #include "util/identifiers.h" namespace com::fourisland::lingo2_archipelago { struct MalformedIdentifiers { std::vector paintings; std::vector panels; std::vector keyholders; bool HasAny() const { return !paintings.empty() || !panels.empty() || !keyholders.empty(); } }; struct GameNodeInfo { bool defined = false; int uses = 0; }; struct MapInfo { std::map game_nodes; }; struct RoomInfo { std::vector definitions; std::vector doors_referenced_by; std::vector panels_referenced_by; std::vector connections_referenced_by; }; struct DoorInfo { std::vector definitions; std::vector connections_referenced_by; std::vector doors_referenced_by; std::vector panels_referenced_by; std::vector paintings_referenced_by; std::vector ports_referenced_by; MalformedIdentifiers malformed_identifiers; }; struct PortInfo { std::vector definitions; std::vector connections_referenced_by; }; struct PaintingInfo { std::vector definitions; std::vector connections_referenced_by; std::vector doors_referenced_by; }; struct ProxyInfo { std::vector definitions; std::vector connections_referenced_by; std::vector doors_referenced_by; }; struct PanelInfo { std::vector definitions; std::vector connections_referenced_by; std::vector doors_referenced_by; std::map proxies; }; struct KeyholderInfo { std::vector definitions; std::vector doors_referenced_by; }; using LetterIdentifier = std::tuple; struct LetterInfo { std::vector defined_in; }; struct CollectedInfo { std::map maps; std::map rooms; std::map doors; std::map ports; std::map paintings; std::map panels; std::map keyholders; std::map letters; }; } // namespace com::fourisland::lingo2_archipelago #endif /* TOOLS_VALIDATOR_STRUCTS_H_ */ 7f08d552ba83eaf418bdded802ca079f5bc'>root/data/maps/the_jubilant/doors.txtpb
blob: 02db1ff7f92e73381c4bd7aac4e60132514f5c52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
doors {
  name: "J Door"
  type: EVENT
  panels { room: "Main Area" name: "GEMSTONE" }
  panels { room: "Main Area" name: "PULL" }
  panels { room: "Main Area" name: "LOIN" }
  panels { room: "Main Area" name: "SMALL" }
  panels { room: "Main Area" name: "HOP" }
  panels { room: "Main Area" name: "UNFAIR" }
  panels { room: "Main Area" name: "SPRINT" }
  panels { room: "Main Area" name: "MINOR" }
  panels { room: "Main Area" name: "BIRD" }
  panels { room: "Main Area" name: "TREE" }
  panels { room: "Main Area" name: "ORANGE" }
  panels { room: "Main Area" name: "QUEEN" }
}
doors {
  name: "Side Door"
  type: LOCATION_ONLY
  panels { room: "Main Area" name: "GEMSTONE" answer: "jade" }
  panels { room: "Main Area" name: "PULL" answer: "jerk" }
  panels { room: "Main Area" name: "LOIN" answer: "join" }
  panels { room: "Main Area" name: "SMALL" answer: "jumbo" }
  panels { room: "Main Area" name: "HOP" answer: "jump" }
  panels { room: "Main Area" name: "UNFAIR" answer: "just" }
  panels { room: "Main Area" name: "SPRINT" answer: "jog" }
  panels { room: "Main Area" name: "MINOR" answer: "major" }
  panels { room: "Main Area" name: "BIRD" answer: "jay" }
  panels { room: "Main Area" name: "TREE" answer: "jungle" }
  panels { room: "Main Area" name: "ORANGE" answer: "juice" }
  panels { room: "Main Area" name: "QUEEN" answer: "jack" }
  location_room: "Main Area"
}