refactor(client): remove archetype selection, fix Randomise→Randomize

- Remove character_select.tscn and character_select.gd entirely
  (Smuggler/Detective archetypes removed per v0.2 pivot)
- New Game goes straight to character creation
- Rename Randomise→Randomize throughout (US English convention)
- Add *.import and *.uid to client gitignore (import artifacts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 18:18:47 +01:00
co-authored by Claude Opus 4.6
parent 92209f85e6
commit 145d8fec17
8 changed files with 32 additions and 344 deletions
+7 -7
View File
@@ -114,7 +114,7 @@ const RECENT_SLOTS := 9
@onready var _cam_angle_btn: Button = $Layout/PreviewPanel/PreviewOverlay/CamAngleBtn
@onready var _tab_container: TabContainer = $Layout/TabPanel/TabContainer
@onready var _footer_back: Button = $Footer/BackBtn
@onready var _footer_randomise: Button = $Footer/RandomiseBtn
@onready var _footer_randomize: Button = $Footer/RandomizeBtn
@onready var _footer_start: Button = $Footer/StartBtn
@onready var _modal_root: Control = $ColorPickerModal
@@ -179,7 +179,7 @@ var _modal_recent_btns: Array[Button] = []
var _clothing_dock_container: Control = null
var _accessory_dock_container: Control = null
# --- Cached asset scan results (populated once during tab build, reused by randomise) ---
# --- Cached asset scan results (populated once during tab build, reused by randomize) ---
var _cached_hair_ids: Array = []
var _cached_head_ids: Array = []
@@ -212,11 +212,11 @@ func _ready() -> void:
_rotate_right_btn.pressed.connect(_on_rotate_right)
_cam_angle_btn.pressed.connect(_on_cam_angle_toggle)
_footer_back.pressed.connect(_on_back)
_footer_randomise.pressed.connect(_on_randomise)
_footer_randomize.pressed.connect(_on_randomize)
_footer_start.pressed.connect(_on_start)
_footer_back.text = UIStrings.get_text("character_creation.btn_back")
_footer_randomise.text = UIStrings.get_text("character_creation.btn_randomise")
_footer_randomize.text = UIStrings.get_text("character_creation.btn_randomize")
_footer_start.text = UIStrings.get_text("character_creation.btn_start")
_rotate_left_btn.text = UIStrings.get_text("character_creation.btn_rotate_left")
_rotate_right_btn.text = UIStrings.get_text("character_creation.btn_rotate_right")
@@ -1117,7 +1117,7 @@ func _input(event: InputEvent) -> void:
_on_rotate_right()
get_viewport().set_input_as_handled()
KEY_R:
_on_randomise()
_on_randomize()
get_viewport().set_input_as_handled()
KEY_ENTER, KEY_KP_ENTER:
_on_start()
@@ -1147,10 +1147,10 @@ func _on_start() -> void:
# =============================================================================
# Randomise
# Randomize
# =============================================================================
func _on_randomise() -> void:
func _on_randomize() -> void:
var all_types := CharacterVisualDescriptor.BodyType.values()
_descriptor.body_type = all_types[randi() % all_types.size()]
_descriptor.skin_tone = randi() % CharacterVisual.SKIN_TONES.size()