KINBARROW modding reference
v0.2.0+main.e011511f4 dataset 4a103dcdb658a75a

Effects and mechanisms

MagicItemMode

Used by MagicItem

This is a nested shape inside a content file. The catalog explains context validation and links real RON examples.

One selectable state within an independent item mode group.

FieldTypeRequiredDescription
activateItemModeTransitionrequired

Explicit transition used to select this mode.

deactivateItemModeTransitionoptional

Optional explicit transition used to clear this mode.

duration_secsintegeroptional

Duration from activation in world seconds; absent lasts until cleared.

effectsItemModeEffect[]required

Mechanical projections supplied while selected and eligible.

end_whenItemModeEnd[]default []

Events that clear rather than merely suppress this selection.

idstringrequired

Definition-local stable mode id.

selectable_from_inactivebooleandefault true

Whether this mode may be selected when no mode in its group is active. Modes that only represent adjustments can remain switch targets without becoming alternate activation entry points.

switchItemModeTransitionoptional

Optional transition used when replacing another active mode in this group. Absent reuses activate; authored controls can distinguish turning a device on from adjusting it while already active.

usage_budgetItemModeUsageBudgetoptional

Optional cumulative active-time budget for this group. Re-entering the mode spends only what remained before it was deactivated.

while_active_requiresItemModeRequirementoptional

Ongoing relationship after activation. Absent retains the activation requirement; this is explicit for modes that release a held item.