code wiki / (root) / nx_modesty_profile.nx

nx_modesty_profile.nx

buildroot/runtime/nx_modesty_profile.nx

18625 B468 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_modesty_profile.nx -- sealed-enum catalog of modesty standards. CAPABILITY_COMPLETENESS: FULL (for the 16 starter profiles; additional cultural standards register via the catalog extension path documented in NISHI_OCCLUSION_AND_MODESTY_ ENGINEERING.md) User direction 2026-05-16: "i want to take advantage of nsfw flagging by using it as engineering so we can make sure occlusion isnt happening and other things so she is how she wants to be in situations like how ancient people had different modesty standards etc" The substrate's distinctive offer over existing NSFW classifiers: - Per-anatomical-region required-coverage thresholds in Q10 - Sealed-enum catalog of culturally-specific profiles - Subject-chosen profile (not platform-imposed) - Composes with nx_occlusion_grade (queued) -> nx_modesty_match to produce a sealed match verdict per profile genealogy_id: substrate_modesty_engineering_2026_05_16 lineage_id: nx_modesty_profile_v1

dependencies 3 imports · 1 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_modesty_profile.nx nx_catalog_id_lookup.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nx

imported by: nx_catalog_id_lookup.nx

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_modesty_profile_get nx_modesty_profile_is_vali sys_mmap _mp_build_western_casual _mp_alloc_required sys_mmap ↻ _mp_build_western_formal _mp_alloc_required ↻ _mp_build_western_beach _mp_alloc_required ↻ _mp_build_modern_lingerie _mp_alloc_required ↻ _mp_build_victorian _mp_alloc_required ↻ _mp_build_greek_male_athle _mp_alloc_required ↻ _mp_build_greek_female_ath _mp_alloc_required ↻ _mp_build_roman_public _mp_alloc_required ↻ _mp_build_renaissance_nobi _mp_alloc_required ↻ _mp_build_heian_court _mp_alloc_required ↻ _mp_build_islamic_hijab _mp_alloc_required ↻ _mp_build_islamic_niqab _mp_build_islamic_hijab ↻ _mp_build_hindu_sari _mp_alloc_required ↻ _mp_build_medical_professi _mp_alloc_required ↻ _mp_build_artistic_renaiss _mp_alloc_required ↻ _mp_build_athletic_dance _mp_alloc_required ↻ nx_modesty_required_covera nx_region_is_valid nx_region_is_valid ↻

structs

99struct NxModestyProfile

consts

27const NX_MAGIC_1024: i64 = 1024
29const NX_MP_Q10: nx_int = 1024
37const NX_REGION_HAIR: nx_int = 0
38const NX_REGION_FACE_UPPER: nx_int = 1 // forehead, eyes, nose, cheeks
39const NX_REGION_FACE_LOWER: nx_int = 2 // mouth, chin (covered by niqab)
40const NX_REGION_NECK: nx_int = 3
41const NX_REGION_SHOULDERS: nx_int = 4
42const NX_REGION_CHEST_FULL: nx_int = 5 // entire chest area
43const NX_REGION_NIPPLE_F: nx_int = 6 // female nipple specifically
44const NX_REGION_NIPPLE_M: nx_int = 7 // male nipple
45const NX_REGION_MIDRIFF: nx_int = 8 // abdomen / belly
46const NX_REGION_BACK_UPPER: nx_int = 9
47const NX_REGION_BACK_LOWER: nx_int = 10
48const NX_REGION_BUTTOCKS: nx_int = 11
49const NX_REGION_GROIN: nx_int = 12 // pubic / pelvic
50const NX_REGION_GENITALIA: nx_int = 13 // genitals proper
51const NX_REGION_ARMPITS: nx_int = 14
52const NX_REGION_UPPER_ARMS: nx_int = 15
53const NX_REGION_FOREARMS: nx_int = 16
54const NX_REGION_HANDS: nx_int = 17
55const NX_REGION_THIGHS: nx_int = 18
56const NX_REGION_KNEES: nx_int = 19
57const NX_REGION_CALVES: nx_int = 20
58const NX_REGION_ANKLES: nx_int = 21
59const NX_REGION_FEET: nx_int = 22
60const NX_REGION_N_KINDS: nx_int = 23
70const NX_MODESTY_MODERN_WESTERN_CASUAL: nx_int = 0
71const NX_MODESTY_MODERN_WESTERN_FORMAL: nx_int = 1
72const NX_MODESTY_MODERN_WESTERN_BEACH: nx_int = 2
73const NX_MODESTY_MODERN_LINGERIE: nx_int = 3
74const NX_MODESTY_VICTORIAN: nx_int = 4
75const NX_MODESTY_ANCIENT_GREEK_ATHLETIC_M: nx_int = 5
76const NX_MODESTY_ANCIENT_GREEK_ATHLETIC_F: nx_int = 6
77const NX_MODESTY_ANCIENT_ROMAN_PUBLIC: nx_int = 7
78const NX_MODESTY_RENAISSANCE_NOBILITY: nx_int = 8
79const NX_MODESTY_HEIAN_COURT: nx_int = 9
80const NX_MODESTY_ISLAMIC_HIJAB: nx_int = 10
81const NX_MODESTY_ISLAMIC_NIQAB: nx_int = 11
82const NX_MODESTY_HINDU_SARI: nx_int = 12
83const NX_MODESTY_MEDICAL_PROFESSIONAL: nx_int = 13
84const NX_MODESTY_ARTISTIC_NUDE_RENAISSANCE: nx_int = 14
85const NX_MODESTY_ATHLETIC_DANCE: nx_int = 15
86const NX_MODESTY_N_PROFILES: nx_int = 16
105const NX_MP_PROFILE_BYTES: nx_size = 24

functions

62func nx_region_is_valid(r: nx_int) -> nx_int
88func nx_modesty_profile_is_valid(p: nx_int) -> nx_int
112func _mp_alloc_required() -> *nx_int
123func _mp_build_western_casual() -> *nx_int
132func _mp_build_western_formal() -> *nx_int
142func _mp_build_western_beach() -> *nx_int
150func _mp_build_modern_lingerie() -> *nx_int
158func _mp_build_victorian() -> *nx_int
178func _mp_build_greek_male_athletic() -> *nx_int
183func _mp_build_greek_female_athletic() -> *nx_int
193func _mp_build_roman_public() -> *nx_int
206func _mp_build_renaissance_nobility() -> *nx_int
217func _mp_build_heian_court() -> *nx_int
239func _mp_build_islamic_hijab() -> *nx_int
260func _mp_build_islamic_niqab() -> *nx_int
266func _mp_build_hindu_sari() -> *nx_int
277func _mp_build_medical_professional() -> *nx_int
289func _mp_build_artistic_renaissance() -> *nx_int
295func _mp_build_athletic_dance() -> *nx_int
307func nx_modesty_profile_get(profile_id: nx_int) -> *NxModestyProfile
382func nx_modesty_required_coverage(profile: *NxModestyProfile,
called by 1: main calls 1: nx_region_is_valid
390func main() -> nx_int