career.join
Overview
- Assigns the character to a career/job by career entity id or data-table id.
Metadata
| Field | Value |
|---|---|
| Display | Join Career |
| Category | career |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Character entity ID to employ (default: possessed) |
| career_entity_id | entityId | no | — | Career entity ID to join |
| career_dt_id | name | no | — | Career data-table ID to join when career_entity_id is omitted |
| job_id | name | yes | — | Job DataTable id within the career |
| start_rank | int | no | 0 | Initial career rank |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('career.join', {
entity_id: 0, // optional
career_entity_id: 0, // optional
career_dt_id: '', // optional
job_id: '',
start_rank: 0, // optional
});