From 1d81570d217e7827ad089f07272bfa668a172c3d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 23 Oct 2025 12:28:39 -0400 Subject: Allow validator to ignore custom nodes --- proto/human.proto | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'proto/human.proto') diff --git a/proto/human.proto b/proto/human.proto index 41fce45..df33a5e 100644 --- a/proto/human.proto +++ b/proto/human.proto @@ -221,9 +221,18 @@ message HumanRoom { message HumanMap { optional string display_name = 1; - repeated string excluded_nodes = 2; - optional PortIdentifier worldport_entrance = 3; optional MapType type = 4; + + optional PortIdentifier worldport_entrance = 3; + + // These two fields are used by the validator and nothing else. excluded_nodes + // are objects in the tscn that are intentionally not mentioned in the txtpb. + // custom_nodes are the reverse of that; objects that are mentioned in the + // txtpb but not present in the tscn. These are generally created dynamically + // by the game mod, but may also be used for places where the validator is + // just wrong about the contents of the map file. + repeated string excluded_nodes = 2; + repeated string custom_nodes = 5; } message HumanProgressive { -- cgit 1.4.1