From 7f82beb120e222ace6c258fc3982b5988f9ae070 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 2 Sep 2025 14:09:35 -0400 Subject: Added keyholder sanity --- proto/data.proto | 2 ++ proto/human.proto | 8 ++++++++ 2 files changed, 10 insertions(+) (limited to 'proto') diff --git a/proto/data.proto b/proto/data.proto index b627e83..9cdf5fd 100644 --- a/proto/data.proto +++ b/proto/data.proto @@ -162,10 +162,12 @@ message Port { message KeyholderData { optional uint64 id = 1; + optional uint64 ap_id = 6; optional uint64 room_id = 2; optional string name = 3; optional string path = 4; + optional string key = 5; } message Letter { diff --git a/proto/human.proto b/proto/human.proto index 8d882da..e0378cc 100644 --- a/proto/human.proto +++ b/proto/human.proto @@ -142,6 +142,13 @@ message HumanPort { message HumanKeyholder { optional string name = 1; optional string path = 2; + + // If this is set, the keyholder will become a location when keyholder shuffle + // is enabled. This value specifies the key that is required to clear the + // location. It should be the same as the key needed for Green Ending. The + // only cases when this shouldn't be set is the two disappearing keyholders in + // The Congruent. + optional string key = 3; } message HumanLetter { @@ -196,6 +203,7 @@ message IdMappings { message RoomIds { map panels = 1; map masteries = 2; + map keyholders = 3; } message MapIds { -- cgit 1.4.1