Inventory functions

Introduction

ACSUtils provides extra functions to operate on inventory. Just like GiveInventory/TakeInventory and GiveMaxInventory/TakeMaxInventory, every function is provided in two variants: one operating on the activator and the other operating on the actor with the specified tid.

SetInventory

void SetInventory(str item, int count)

void SetActorIvnentory(int tid, str item, int count)

ToggleInventory

void ToggleInventory(str item)

void ToggleActorInventory(int tid, str item, int count)

GiveMaxInventory/TakeMaxInventory

void GiveMaxInventory(str item)

void TakeMaxInventory(str item)

void GiveMaxActorInventory(int tid, str item)

void TakeMaxActorInventory(int tid, str item)