Skip to main content

stat.add

Overview

  • Adds the given value to a stat on the target character.

Metadata

FieldValue
DisplayAdd Stat
Categorystat
AccessScriptCheat
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)
stat_idnameyesStat ID (e.g. Hunger, Sleep)
valuefloatyesAmount to add

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('stat.add', {
entity_id: 0, // optional
stat_id: '',
value: 0.0,
});