VoidExpanse/scope-items

From AtomicTorchWiki


Items scope

Used to access items containers, add or remove items.

Visibility: Global.

List of functions

AddItem
Arguments Returns Example
  • int containerID, string item_type, int quantity

object with fields: item_id, xml_id, type, quantity

Description

Add item of specific type and quantity to the specified container ID. Returned object contains "type" field, which can have "item" or "resource" value.