Skip to main content

bag.add_item

Overview

  • Adds stacked items to the bag by object data table ID.

Metadata

FieldValue
DisplayAdd Item To Bag
Categorybag
AccessUserCheat
ScopeB2Authority
Tags—
AliasesAddItemToBag, household.add_item

Parameters

NameTypeRequiredDefaultDescription
object_idnameyes—Object data table ID
countintyes—Number of items
entity_identityIdno—Character that receives the items (default: possessed)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('bag.add_item', {
object_id: '',
count: 0,
entity_id: 0, // optional
});