household_biz.hire_employee
Overview
- Hires a character as an employee of a household business.
Metadata
| Field | Value |
|---|---|
| Display | Hire Employee |
| Category | household_biz |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| candidate_id | entityId | yes | — | Character entity id to hire |
| salary_level | string | no | Normal | Salary level (VeryLow/Low/Normal/High/VeryHigh) |
| work_outfit_type | string | no | Default | Work outfit preset type |
| role_name_text_id | string | no | — | Role display name text id |
| ignore_schedule_conflict | bool | no | false | Whether to ignore work schedule conflicts |
| household_biz_id | entityId | no | — | Target HouseholdBiz entity id (default: possessed) |
Usage
await inzoi.cli.execute('household_biz.hire_employee', {
candidate_id: 0,
salary_level: 'Normal', // optional
work_outfit_type: 'Default', // optional
role_name_text_id: '', // optional
ignore_schedule_conflict: false, // optional
household_biz_id: 0, // optional
});