From 9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 9 Aug 2025 11:51:20 -0400 Subject: Added support for masteries Also assigned IDs for the_butterfly, as well as already configured letters. --- proto/common.proto | 5 ----- proto/data.proto | 25 ++++++++++++++++++++++++- proto/human.proto | 2 ++ 3 files changed, 26 insertions(+), 6 deletions(-) (limited to 'proto') 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 { string path = 2; } -message Letter { - string key = 1; - bool double = 2; -} - enum DoorType { DOOR_TYPE_UNKNOWN = 0; 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 { uint64 required_door = 6; } +message Letter { + uint64 id = 3; + uint64 ap_id = 5; + uint64 room_id = 4; + + string key = 1; + bool double = 2; + + string path = 6; +} + +message Mastery { + uint64 id = 1; + uint64 ap_id = 2; + uint64 room_id = 3; + + string name = 4; + string path = 5; +} + message Room { uint64 id = 1; uint64 map_id = 8; @@ -91,9 +111,10 @@ message Room { repeated uint64 panels = 4; repeated uint64 paintings = 5; - repeated Letter letters = 6; + repeated uint64 letters = 6; repeated uint64 ports = 7; repeated uint64 doors = 9; + repeated uint64 masteries = 10; } message Map { @@ -108,6 +129,8 @@ message AllObjects { repeated Panel panels = 3; repeated Painting paintings = 4; repeated Port ports = 5; + repeated Letter letters = 9; + repeated Mastery masteries = 10; repeated Connection connections = 6; map special_ids = 8; } 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 { message IdMappings { message RoomIds { map panels = 1; + map masteries = 2; } message MapIds { @@ -162,4 +163,5 @@ message IdMappings { map maps = 1; map special = 2; + map letters = 3; } -- cgit 1.4.1