diff options
Diffstat (limited to 'proto/human.proto')
| -rw-r--r-- | proto/human.proto | 57 |
1 files changed, 54 insertions, 3 deletions
| diff --git a/proto/human.proto b/proto/human.proto index c247edf..5cd8ce7 100644 --- a/proto/human.proto +++ b/proto/human.proto | |||
| @@ -78,6 +78,13 @@ message HumanConnection { | |||
| 78 | // This means that the connection should additionally require all cyan letters | 78 | // This means that the connection should additionally require all cyan letters |
| 79 | // when the Strict Cyan Ending option is on. | 79 | // when the Strict Cyan Ending option is on. |
| 80 | optional bool cyan_ending = 10; | 80 | optional bool cyan_ending = 10; |
| 81 | |||
| 82 | // This means that the connection should additionally require being able to | ||
| 83 | // type a specific text string when Custom Mint Ending is on. | ||
| 84 | optional bool mint_ending = 12; | ||
| 85 | |||
| 86 | // This means that the connection only exists when doors are not shuffled. | ||
| 87 | optional bool vanilla_only = 11; | ||
| 81 | } | 88 | } |
| 82 | 89 | ||
| 83 | message HumanConnections { | 90 | message HumanConnections { |
| @@ -101,7 +108,7 @@ message HumanDoor { | |||
| 101 | repeated KeyholderIdentifier keyholders = 10; | 108 | repeated KeyholderIdentifier keyholders = 10; |
| 102 | repeated RoomIdentifier rooms = 11; | 109 | repeated RoomIdentifier rooms = 11; |
| 103 | repeated DoorIdentifier doors = 12; | 110 | repeated DoorIdentifier doors = 12; |
| 104 | repeated string endings = 13; | 111 | optional bool white_ending = 13; |
| 105 | optional bool double_letters = 15; | 112 | optional bool double_letters = 15; |
| 106 | 113 | ||
| 107 | // Sender nodes to be added to the list of requirements for triggering the | 114 | // Sender nodes to be added to the list of requirements for triggering the |
| @@ -111,6 +118,19 @@ message HumanDoor { | |||
| 111 | optional DoorType type = 4; | 118 | optional DoorType type = 4; |
| 112 | optional string location_room = 5; | 119 | optional string location_room = 5; |
| 113 | optional string location_name = 14; | 120 | optional string location_name = 14; |
| 121 | |||
| 122 | // Non-item doors that are latched will stay open once opened, even if the | ||
| 123 | // opening trigger is deactivated. This applies to EVENT/LOCATION_ONLY doors, | ||
| 124 | // as well as item-locked doors when not shuffling doors. | ||
| 125 | optional bool latch = 17; | ||
| 126 | |||
| 127 | // If true, the client will treat this door like a location, even though no | ||
| 128 | // location is created for it in the generator. This helps provide backwards | ||
| 129 | // compatability with older worlds. | ||
| 130 | optional bool legacy_location = 18; | ||
| 131 | |||
| 132 | optional bool daedalus_only_allow = 19; | ||
| 133 | optional bool daedalus_only_always_item = 20; | ||
| 114 | } | 134 | } |
| 115 | 135 | ||
| 116 | message HumanDoors { | 136 | message HumanDoors { |
| @@ -130,6 +150,8 @@ message HumanPanel { | |||
| 130 | optional DoorIdentifier required_door = 7; | 150 | optional DoorIdentifier required_door = 7; |
| 131 | optional RoomIdentifier required_room = 8; | 151 | optional RoomIdentifier required_room = 8; |
| 132 | 152 | ||
| 153 | optional bool exclude_from_panelsanity = 10; | ||
| 154 | |||
| 133 | optional string display_name = 9; | 155 | optional string display_name = 9; |
| 134 | } | 156 | } |
| 135 | 157 | ||
| @@ -150,9 +172,16 @@ message HumanPainting { | |||
| 150 | 172 | ||
| 151 | message HumanPort { | 173 | message HumanPort { |
| 152 | optional string name = 1; | 174 | optional string name = 1; |
| 175 | optional string display_name = 8; | ||
| 153 | optional string path = 2; | 176 | optional string path = 2; |
| 154 | 177 | ||
| 155 | optional string orientation = 3; | 178 | optional bool no_shuffle = 7; |
| 179 | |||
| 180 | // These specify how the player should be placed when a randomized entrance | ||
| 181 | // sends them to this port. "rotation" is in degrees and is counter-clockwise | ||
| 182 | // from the positive X axis. | ||
| 183 | optional Vec3d destination = 3; | ||
| 184 | optional double rotation = 6; | ||
| 156 | optional AxisDirection gravity = 5 [default = Y_MINUS]; | 185 | optional AxisDirection gravity = 5 [default = Y_MINUS]; |
| 157 | 186 | ||
| 158 | optional DoorIdentifier required_door = 4; | 187 | optional DoorIdentifier required_door = 4; |
| @@ -195,6 +224,8 @@ message HumanRoom { | |||
| 195 | // doors generated from panels in the same area. | 224 | // doors generated from panels in the same area. |
| 196 | optional string panel_display_name = 10; | 225 | optional string panel_display_name = 10; |
| 197 | 226 | ||
| 227 | optional bool daedalus_only_allow = 11; | ||
| 228 | |||
| 198 | repeated HumanPanel panels = 3; | 229 | repeated HumanPanel panels = 3; |
| 199 | repeated HumanPainting paintings = 4; | 230 | repeated HumanPainting paintings = 4; |
| 200 | repeated HumanLetter letters = 5; | 231 | repeated HumanLetter letters = 5; |
| @@ -206,7 +237,23 @@ message HumanRoom { | |||
| 206 | 237 | ||
| 207 | message HumanMap { | 238 | message HumanMap { |
| 208 | optional string display_name = 1; | 239 | optional string display_name = 1; |
| 240 | optional MapType type = 4; | ||
| 241 | |||
| 242 | optional DaedalusOnlyMode daedalus_only_mode = 6; | ||
| 243 | |||
| 244 | optional PortIdentifier worldport_entrance = 3; | ||
| 245 | optional string rte_room = 7; | ||
| 246 | optional Vec3d rte_trigger_pos = 8; | ||
| 247 | optional Vec3d rte_trigger_scale = 9; | ||
| 248 | |||
| 249 | // These two fields are used by the validator and nothing else. excluded_nodes | ||
| 250 | // are objects in the tscn that are intentionally not mentioned in the txtpb. | ||
| 251 | // custom_nodes are the reverse of that; objects that are mentioned in the | ||
| 252 | // txtpb but not present in the tscn. These are generally created dynamically | ||
| 253 | // by the game mod, but may also be used for places where the validator is | ||
| 254 | // just wrong about the contents of the map file. | ||
| 209 | repeated string excluded_nodes = 2; | 255 | repeated string excluded_nodes = 2; |
| 256 | repeated string custom_nodes = 5; | ||
| 210 | } | 257 | } |
| 211 | 258 | ||
| 212 | message HumanProgressive { | 259 | message HumanProgressive { |
| @@ -222,6 +269,8 @@ message HumanDoorGroup { | |||
| 222 | optional string name = 1; | 269 | optional string name = 1; |
| 223 | optional DoorGroupType type = 2; | 270 | optional DoorGroupType type = 2; |
| 224 | repeated DoorIdentifier doors = 3; | 271 | repeated DoorIdentifier doors = 3; |
| 272 | |||
| 273 | optional bool daedalus_only_always_item = 4; | ||
| 225 | } | 274 | } |
| 226 | 275 | ||
| 227 | message HumanDoorGroups { | 276 | message HumanDoorGroups { |
| @@ -230,7 +279,7 @@ message HumanDoorGroups { | |||
| 230 | 279 | ||
| 231 | message HumanGlobalMetadata { | 280 | message HumanGlobalMetadata { |
| 232 | repeated string special_names = 1; | 281 | repeated string special_names = 1; |
| 233 | optional uint64 version = 2; | 282 | optional VersionNumber version = 2; |
| 234 | } | 283 | } |
| 235 | 284 | ||
| 236 | message IdMappings { | 285 | message IdMappings { |
| @@ -238,11 +287,13 @@ message IdMappings { | |||
| 238 | map<string, uint64> panels = 1; | 287 | map<string, uint64> panels = 1; |
| 239 | map<string, uint64> masteries = 2; | 288 | map<string, uint64> masteries = 2; |
| 240 | map<string, uint64> keyholders = 3; | 289 | map<string, uint64> keyholders = 3; |
| 290 | map<string, uint64> ports = 4; | ||
| 241 | } | 291 | } |
| 242 | 292 | ||
| 243 | message MapIds { | 293 | message MapIds { |
| 244 | map<string, uint64> doors = 1; | 294 | map<string, uint64> doors = 1; |
| 245 | map<string, RoomIds> rooms = 2; | 295 | map<string, RoomIds> rooms = 2; |
| 296 | optional uint64 rte = 3; | ||
| 246 | } | 297 | } |
| 247 | 298 | ||
| 248 | map<string, MapIds> maps = 1; | 299 | map<string, MapIds> maps = 1; |
