diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-07 15:42:00 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-07 15:42:00 -0400 |
commit | d79984b099c3f762b95d3b4257bef113d3a8d6ee (patch) | |
tree | bcb647c4734b9ddecb465f818e06efc899482f4e /proto/data.proto | |
parent | 8ab6132f99e9a033c170310b2d88a7312e46a153 (diff) | |
download | lingo2-archipelago-d79984b099c3f762b95d3b4257bef113d3a8d6ee.tar.gz lingo2-archipelago-d79984b099c3f762b95d3b4257bef113d3a8d6ee.tar.bz2 lingo2-archipelago-d79984b099c3f762b95d3b4257bef113d3a8d6ee.zip |
Added door groups
Diffstat (limited to 'proto/data.proto')
-rw-r--r-- | proto/data.proto | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/proto/data.proto b/proto/data.proto index 855c28c..84d14ef 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
@@ -29,6 +29,20 @@ enum DoorType { | |||
29 | GRAVESTONE = 6; | 29 | GRAVESTONE = 6; |
30 | } | 30 | } |
31 | 31 | ||
32 | enum DoorGroupType { | ||
33 | DOOR_GROUP_TYPE_UNKNOWN = 0; | ||
34 | |||
35 | // These doors border a worldport. They should be grouped when connections are | ||
36 | // not shuffled. | ||
37 | CONNECTOR = 1; | ||
38 | |||
39 | // Similar to CONNECTOR, but these doors are also ordinarily opened by solving | ||
40 | // the COLOR panel in the Control Center. These should be grouped when | ||
41 | // connections are not shuffled, but are not items at all when control center | ||
42 | // colors are not shuffled. | ||
43 | COLOR_CONNECTOR = 2; | ||
44 | } | ||
45 | |||
32 | enum AxisDirection { | 46 | enum AxisDirection { |
33 | AXIS_DIRECTION_UNKNOWN = 0; | 47 | AXIS_DIRECTION_UNKNOWN = 0; |
34 | 48 | ||
@@ -232,6 +246,14 @@ message Progressive { | |||
232 | repeated uint64 doors = 4; | 246 | repeated uint64 doors = 4; |
233 | } | 247 | } |
234 | 248 | ||
249 | message DoorGroup { | ||
250 | optional uint64 id = 1; | ||
251 | optional string name = 2; | ||
252 | optional uint64 ap_id = 3; | ||
253 | optional DoorGroupType type = 4; | ||
254 | repeated uint64 doors = 5; | ||
255 | } | ||
256 | |||
235 | message AllObjects { | 257 | message AllObjects { |
236 | repeated Map maps = 7; | 258 | repeated Map maps = 7; |
237 | repeated Room rooms = 1; | 259 | repeated Room rooms = 1; |
@@ -245,5 +267,6 @@ message AllObjects { | |||
245 | repeated Ending endings = 12; | 267 | repeated Ending endings = 12; |
246 | repeated Connection connections = 6; | 268 | repeated Connection connections = 6; |
247 | repeated Progressive progressives = 13; | 269 | repeated Progressive progressives = 13; |
270 | repeated DoorGroup door_groups = 14; | ||
248 | map<string, uint64> special_ids = 8; | 271 | map<string, uint64> special_ids = 8; |
249 | } | 272 | } |