Close the NPC gear-fit section
Full build / Import + headless tests (push) Successful in 34s
Full build / Full desktop build + optional release (push) Skipped

Move the completed gear section to DONE.md and record the hooded-portrait
follow-up. An explicit --portrait-type now overrides the hooded-subject skip,
though the day roster has no types 5-7 yet. Headless 229/229.
This commit is contained in:
zwitschi committed 2026-11-01 18:12:37 +01:00
1 parent 151630e957
commit 26d64baa01
4 files changed
+58 -44

No files matched your search

+6 -1
View File
@@ -318,7 +318,12 @@ func _faces_covered(npc: Node3D) -> bool:
var profile = brain.get("profile")
if profile == null:
return false
return int(profile.get("npc_type")) in HOODED_TYPES
var npc_type := int(profile.get("npc_type"))
# An explicit --portrait-type is a deliberate request to inspect headgear,
# including a hood; the default crowd selection still avoids covered faces.
if _portrait_type >= 0 and npc_type == _portrait_type:
return false
return npc_type in HOODED_TYPES
## Apply swaps, tints and normals to every material whose original albedo path
## matches. Called once per stage; materials are visited through the tree.