about summary refs log tree commit diff stats
path: root/proto/human.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/human.proto')
-rw-r--r--proto/human.proto30
1 files changed, 28 insertions, 2 deletions
diff --git a/proto/human.proto b/proto/human.proto index 748cf33..c586599 100644 --- a/proto/human.proto +++ b/proto/human.proto
@@ -78,6 +78,9 @@ 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 only exists when doors are not shuffled.
83 optional bool vanilla_only = 11;
81} 84}
82 85
83message HumanConnections { 86message HumanConnections {
@@ -101,7 +104,7 @@ message HumanDoor {
101 repeated KeyholderIdentifier keyholders = 10; 104 repeated KeyholderIdentifier keyholders = 10;
102 repeated RoomIdentifier rooms = 11; 105 repeated RoomIdentifier rooms = 11;
103 repeated DoorIdentifier doors = 12; 106 repeated DoorIdentifier doors = 12;
104 repeated string endings = 13; 107 optional bool white_ending = 13;
105 optional bool double_letters = 15; 108 optional bool double_letters = 15;
106 109
107 // Sender nodes to be added to the list of requirements for triggering the 110 // Sender nodes to be added to the list of requirements for triggering the
@@ -111,6 +114,16 @@ message HumanDoor {
111 optional DoorType type = 4; 114 optional DoorType type = 4;
112 optional string location_room = 5; 115 optional string location_room = 5;
113 optional string location_name = 14; 116 optional string location_name = 14;
117
118 // Non-item doors that are latched will stay open once opened, even if the
119 // opening trigger is deactivated. This applies to EVENT/LOCATION_ONLY doors,
120 // as well as item-locked doors when not shuffling doors.
121 optional bool latch = 17;
122
123 // If true, the client will treat this door like a location, even though no
124 // location is created for it in the generator. This helps provide backwards
125 // compatability with older worlds.
126 optional bool legacy_location = 18;
114} 127}
115 128
116message HumanDoors { 129message HumanDoors {
@@ -150,6 +163,7 @@ message HumanPainting {
150 163
151message HumanPort { 164message HumanPort {
152 optional string name = 1; 165 optional string name = 1;
166 optional string display_name = 8;
153 optional string path = 2; 167 optional string path = 2;
154 168
155 optional bool no_shuffle = 7; 169 optional bool no_shuffle = 7;
@@ -212,7 +226,18 @@ message HumanRoom {
212 226
213message HumanMap { 227message HumanMap {
214 optional string display_name = 1; 228 optional string display_name = 1;
229 optional MapType type = 4;
230
231 optional PortIdentifier worldport_entrance = 3;
232
233 // These two fields are used by the validator and nothing else. excluded_nodes
234 // are objects in the tscn that are intentionally not mentioned in the txtpb.
235 // custom_nodes are the reverse of that; objects that are mentioned in the
236 // txtpb but not present in the tscn. These are generally created dynamically
237 // by the game mod, but may also be used for places where the validator is
238 // just wrong about the contents of the map file.
215 repeated string excluded_nodes = 2; 239 repeated string excluded_nodes = 2;
240 repeated string custom_nodes = 5;
216} 241}
217 242
218message HumanProgressive { 243message HumanProgressive {
@@ -236,7 +261,7 @@ message HumanDoorGroups {
236 261
237message HumanGlobalMetadata { 262message HumanGlobalMetadata {
238 repeated string special_names = 1; 263 repeated string special_names = 1;
239 optional uint64 version = 2; 264 optional VersionNumber version = 2;
240} 265}
241 266
242message IdMappings { 267message IdMappings {
@@ -244,6 +269,7 @@ message IdMappings {
244 map<string, uint64> panels = 1; 269 map<string, uint64> panels = 1;
245 map<string, uint64> masteries = 2; 270 map<string, uint64> masteries = 2;
246 map<string, uint64> keyholders = 3; 271 map<string, uint64> keyholders = 3;
272 map<string, uint64> ports = 4;
247 } 273 }
248 274
249 message MapIds { 275 message MapIds {