Extract character config policy

This commit is contained in:
2026-06-27 00:56:23 +02:00
parent 50d0ffa7e3
commit 6a3f88ef59
6 changed files with 824 additions and 547 deletions
+26 -22
View File
@@ -3,57 +3,61 @@ from __future__ import annotations
import json
try:
from .character_config import (
build_characteristics_config_json,
build_hair_config_json,
character_age_choices,
character_body_choices,
character_descriptor_detail_choices,
character_eye_color_choices,
character_hair_color_choices,
character_hair_length_choices,
character_hair_style_choices,
character_label_choices,
character_man_body_choices,
character_presence_choices,
character_woman_body_choices,
)
from .prompt_builder import (
build_character_manual_config_json,
build_character_profile_json,
build_character_slot_json,
character_ethnicity_choices,
character_figure_choices,
character_hardcore_clothing_state_choices,
character_hardcore_clothing_values,
character_profile_choices,
character_softcore_outfit_source_choices,
character_softcore_outfit_values,
load_character_profile_json,
)
except ImportError: # Allows local smoke tests from the repository root.
from character_config import (
build_characteristics_config_json,
build_hair_config_json,
character_age_choices,
character_body_choices,
character_descriptor_detail_choices,
character_ethnicity_choices,
character_eye_color_choices,
character_figure_choices,
character_hair_color_choices,
character_hair_length_choices,
character_hair_style_choices,
character_hardcore_clothing_state_choices,
character_hardcore_clothing_values,
character_label_choices,
character_man_body_choices,
character_presence_choices,
character_profile_choices,
character_softcore_outfit_source_choices,
character_softcore_outfit_values,
character_woman_body_choices,
load_character_profile_json,
)
except ImportError: # Allows local smoke tests from the repository root.
from prompt_builder import (
build_character_manual_config_json,
build_character_profile_json,
build_character_slot_json,
build_characteristics_config_json,
build_hair_config_json,
character_age_choices,
character_body_choices,
character_descriptor_detail_choices,
character_ethnicity_choices,
character_eye_color_choices,
character_figure_choices,
character_hair_color_choices,
character_hair_length_choices,
character_hair_style_choices,
character_hardcore_clothing_state_choices,
character_hardcore_clothing_values,
character_label_choices,
character_man_body_choices,
character_presence_choices,
character_profile_choices,
character_softcore_outfit_source_choices,
character_softcore_outfit_values,
character_woman_body_choices,
load_character_profile_json,
)