Total players online: 23



Take the Tour | Site Map

Name

checkResource — Checks for a minimum of a resource in a specific container.

Synopsis

call craft.txt checkResource { container } { resource } { count } { stackable }

Author

WarLocke

Parameters

Table 85. checkResource parameters

NameDescription
containerID of container to check.
resourceResource type
countNumber required for #true return
stackableIs item stackable?

Description

Checks for a minimum of a resource in a specific container.

Returns

%return (#true or #false)

Changes

%count, findItem's system variables