Skip to main content

career.can_promote

Overview

  • Returns whether the character has a Business career and is eligible for promotion (rank below max). Non-mutating; safe to poll.

Metadata

FieldValue
DisplayCan Promote
Categorycareer
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
entity_identityIdyesTarget entity id
has_careerboolyesWhether the character has a Business career
can_promoteboolyesWhether the character is eligible for promotion
rankintyesCurrent career rank (-1 if none)
max_rankintyesMaximum career rank (-1 if none)

Usage

await inzoi.cli.execute('career.can_promote', {
entity_id: 0, // optional
});