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.proto57
1 files changed, 55 insertions, 2 deletions
diff --git a/proto/human.proto b/proto/human.proto index d48f687..c586599 100644 --- a/proto/human.proto +++ b/proto/human.proto
@@ -66,6 +66,21 @@ message HumanConnection {
66 // If true, this connection will only be logically allowed if the Daedalus 66 // If true, this connection will only be logically allowed if the Daedalus
67 // Roof Access option is enabled. 67 // Roof Access option is enabled.
68 optional bool roof_access = 7; 68 optional bool roof_access = 7;
69
70 // This means that the connection intentionally skips the target object's
71 // required door.
72 optional bool bypass_target_door = 8;
73
74 // This means that the connection should additionally require all purple
75 // letters when the Strict Purple Ending option is on.
76 optional bool purple_ending = 9;
77
78 // This means that the connection should additionally require all cyan letters
79 // when the Strict Cyan Ending option is on.
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;
69} 84}
70 85
71message HumanConnections { 86message HumanConnections {
@@ -89,12 +104,26 @@ message HumanDoor {
89 repeated KeyholderIdentifier keyholders = 10; 104 repeated KeyholderIdentifier keyholders = 10;
90 repeated RoomIdentifier rooms = 11; 105 repeated RoomIdentifier rooms = 11;
91 repeated DoorIdentifier doors = 12; 106 repeated DoorIdentifier doors = 12;
92 repeated string endings = 13; 107 optional bool white_ending = 13;
93 optional bool double_letters = 15; 108 optional bool double_letters = 15;
94 109
110 // Sender nodes to be added to the list of requirements for triggering the
111 // location. Only for senders that have no logic requirements.
112 repeated string senders = 16;
113
95 optional DoorType type = 4; 114 optional DoorType type = 4;
96 optional string location_room = 5; 115 optional string location_room = 5;
97 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;
98} 127}
99 128
100message HumanDoors { 129message HumanDoors {
@@ -134,9 +163,16 @@ message HumanPainting {
134 163
135message HumanPort { 164message HumanPort {
136 optional string name = 1; 165 optional string name = 1;
166 optional string display_name = 8;
137 optional string path = 2; 167 optional string path = 2;
138 168
139 optional string orientation = 3; 169 optional bool no_shuffle = 7;
170
171 // These specify how the player should be placed when a randomized entrance
172 // sends them to this port. "rotation" is in degrees and is counter-clockwise
173 // from the positive X axis.
174 optional Vec3d destination = 3;
175 optional double rotation = 6;
140 optional AxisDirection gravity = 5 [default = Y_MINUS]; 176 optional AxisDirection gravity = 5 [default = Y_MINUS];
141 177
142 optional DoorIdentifier required_door = 4; 178 optional DoorIdentifier required_door = 4;
@@ -190,7 +226,18 @@ message HumanRoom {
190 226
191message HumanMap { 227message HumanMap {
192 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.
193 repeated string excluded_nodes = 2; 239 repeated string excluded_nodes = 2;
240 repeated string custom_nodes = 5;
194} 241}
195 242
196message HumanProgressive { 243message HumanProgressive {
@@ -212,11 +259,17 @@ message HumanDoorGroups {
212 repeated HumanDoorGroup door_groups = 1; 259 repeated HumanDoorGroup door_groups = 1;
213} 260}
214 261
262message HumanGlobalMetadata {
263 repeated string special_names = 1;
264 optional VersionNumber version = 2;
265}
266
215message IdMappings { 267message IdMappings {
216 message RoomIds { 268 message RoomIds {
217 map<string, uint64> panels = 1; 269 map<string, uint64> panels = 1;
218 map<string, uint64> masteries = 2; 270 map<string, uint64> masteries = 2;
219 map<string, uint64> keyholders = 3; 271 map<string, uint64> keyholders = 3;
272 map<string, uint64> ports = 4;
220 } 273 }
221 274
222 message MapIds { 275 message MapIds {