Capture current source, content data, tests, asset licenses, and original-specification traceability. Original implementation remains incomplete. The accepted matching UI generation passed 154 suites and 12,253 checks, with eight rendered staff-contract screens reviewed. Latest native Windows and full-original acceptance remain outstanding.
14 lines
1.1 KiB
GDScript
14 lines
1.1 KiB
GDScript
extends "res://tests/ui/test_cleaning_gameplay.gd"
|
|
## Recruitment values are pending; this is a registered character fixture,
|
|
## not evidence of Fine being available from the normal recruitment screen.
|
|
func cleaner_id() -> StringName: return &"heroine_fine"
|
|
func work_ticks() -> int: return 3
|
|
func hire_cleaner(_main: Control) -> void:
|
|
expect(runtime.submit_command(&"register_staff", {&"staff_id":cleaner_id(), &"role_id":&"cleaner", &"options":{&"employment_kind":&"UNIQUE", &"current_cell":Vector3i(-8,0,0)}}).is_success(), "register unique Fine test fixture")
|
|
var worker: StaffRuntime=runtime.staff_service.get_staff(cleaner_id())
|
|
expect(FacilityCleaningBridge.work_units_per_minute(worker)==3,"original Fine cleans at triple rate")
|
|
var ordinary:=StaffRuntime.new().configure(&"heroine_fine",&"cleaner")
|
|
expect(FacilityCleaningBridge.work_units_per_minute(ordinary)==1,"ordinary worker cannot inherit unique effect by name")
|
|
var different_role:=StaffRuntime.new().configure(cleaner_id(),&"porter",{&"employment_kind":&"UNIQUE"})
|
|
expect(FacilityCleaningBridge.work_units_per_minute(different_role)==1,"Fine identity does not accelerate unrelated roles")
|