From dbae1ea0a0b1946b3ccf7d8033139050f1106695 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 8 Feb 2026 11:42:28 -0500 Subject: Proto changes for custom mint ending --- data/maps/control_center/connections.txtpb | 1 + proto/data.proto | 1 + proto/human.proto | 4 ++++ tools/datapacker/main.cpp | 5 +++++ 4 files changed, 11 insertions(+) diff --git a/data/maps/control_center/connections.txtpb b/data/maps/control_center/connections.txtpb index 432d39d..5dc2890 100644 --- a/data/maps/control_center/connections.txtpb +++ b/data/maps/control_center/connections.txtpb @@ -17,6 +17,7 @@ connections { from_room: "Main Area" to_room: "Mint Ending" door { name: "Mint Ending Door" } + mint_ending: true } connections { from_room: "Main Area" diff --git a/proto/data.proto b/proto/data.proto index e053942..619b3d3 100644 --- a/proto/data.proto +++ b/proto/data.proto @@ -136,6 +136,7 @@ message Connection { optional bool roof_access = 7; optional bool purple_ending = 8; optional bool cyan_ending = 9; + optional bool mint_ending = 11; optional bool vanilla_only = 10; } diff --git a/proto/human.proto b/proto/human.proto index 6c98d3f..5cd8ce7 100644 --- a/proto/human.proto +++ b/proto/human.proto @@ -79,6 +79,10 @@ message HumanConnection { // when the Strict Cyan Ending option is on. optional bool cyan_ending = 10; + // This means that the connection should additionally require being able to + // type a specific text string when Custom Mint Ending is on. + optional bool mint_ending = 12; + // This means that the connection only exists when doors are not shuffled. optional bool vanilla_only = 11; } diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 7313fee..4ecde74 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp @@ -533,6 +533,11 @@ class DataPacker { r_connection.set_cyan_ending(human_connection.cyan_ending()); } + if (human_connection.has_mint_ending()) { + f_connection.set_mint_ending(human_connection.mint_ending()); + r_connection.set_mint_ending(human_connection.mint_ending()); + } + if (human_connection.has_vanilla_only()) { f_connection.set_vanilla_only(human_connection.vanilla_only()); r_connection.set_vanilla_only(human_connection.vanilla_only()); -- cgit 1.4.1