summary refs log tree commit diff stats
path: root/proto
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-08-09 11:51:20 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-08-09 11:51:20 -0400
commit9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6 (patch)
tree6d58ffe2e9a60eac681b22b0cb0bd03baf74990c /proto
parent3fcc676cd3b9b3b24a8755612a459d498879b1df (diff)
downloadlingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.tar.gz
lingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.tar.bz2
lingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.zip
Added support for masteries
Also assigned IDs for the_butterfly, as well as already configured
letters.
Diffstat (limited to 'proto')
-rw-r--r--proto/common.proto5
-rw-r--r--proto/data.proto25
-rw-r--r--proto/human.proto2
3 files changed, 26 insertions, 6 deletions
diff --git a/proto/common.proto b/proto/common.proto index 03ad436..e300e94 100644 --- a/proto/common.proto +++ b/proto/common.proto
@@ -7,11 +7,6 @@ message Proxy {
7 string path = 2; 7 string path = 2;
8} 8}
9 9
10message Letter {
11 string key = 1;
12 bool double = 2;
13}
14
15enum DoorType { 10enum DoorType {
16 DOOR_TYPE_UNKNOWN = 0; 11 DOOR_TYPE_UNKNOWN = 0;
17 12
diff --git a/proto/data.proto b/proto/data.proto index bd8cdc3..dd7a2a3 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -83,6 +83,26 @@ message Port {
83 uint64 required_door = 6; 83 uint64 required_door = 6;
84} 84}
85 85
86message Letter {
87 uint64 id = 3;
88 uint64 ap_id = 5;
89 uint64 room_id = 4;
90
91 string key = 1;
92 bool double = 2;
93
94 string path = 6;
95}
96
97message Mastery {
98 uint64 id = 1;
99 uint64 ap_id = 2;
100 uint64 room_id = 3;
101
102 string name = 4;
103 string path = 5;
104}
105
86message Room { 106message Room {
87 uint64 id = 1; 107 uint64 id = 1;
88 uint64 map_id = 8; 108 uint64 map_id = 8;
@@ -91,9 +111,10 @@ message Room {
91 111
92 repeated uint64 panels = 4; 112 repeated uint64 panels = 4;
93 repeated uint64 paintings = 5; 113 repeated uint64 paintings = 5;
94 repeated Letter letters = 6; 114 repeated uint64 letters = 6;
95 repeated uint64 ports = 7; 115 repeated uint64 ports = 7;
96 repeated uint64 doors = 9; 116 repeated uint64 doors = 9;
117 repeated uint64 masteries = 10;
97} 118}
98 119
99message Map { 120message Map {
@@ -108,6 +129,8 @@ message AllObjects {
108 repeated Panel panels = 3; 129 repeated Panel panels = 3;
109 repeated Painting paintings = 4; 130 repeated Painting paintings = 4;
110 repeated Port ports = 5; 131 repeated Port ports = 5;
132 repeated Letter letters = 9;
133 repeated Mastery masteries = 10;
111 repeated Connection connections = 6; 134 repeated Connection connections = 6;
112 map<string, uint64> special_ids = 8; 135 map<string, uint64> special_ids = 8;
113} 136}
diff --git a/proto/human.proto b/proto/human.proto index 88aca38..3edd984 100644 --- a/proto/human.proto +++ b/proto/human.proto
@@ -153,6 +153,7 @@ message HumanRoom {
153message IdMappings { 153message IdMappings {
154 message RoomIds { 154 message RoomIds {
155 map<string, uint64> panels = 1; 155 map<string, uint64> panels = 1;
156 map<string, uint64> masteries = 2;
156 } 157 }
157 158
158 message MapIds { 159 message MapIds {
@@ -162,4 +163,5 @@ message IdMappings {
162 163
163 map<string, MapIds> maps = 1; 164 map<string, MapIds> maps = 1;
164 map<string, uint64> special = 2; 165 map<string, uint64> special = 2;
166 map<string, uint64> letters = 3;
165} 167}