Packager

This device allows the computer to manipulate the Packager as well as any contained package!

This is an example of how to access the device.

local d = require("devices")
local packager = d:find("packager")
print(packager:getAddress())

API

Device name: packager

Methods

hasPackage():boolean
This method checks whether the Packager currently contains a package.

makePackage():boolean
This method creates a package from the connected storage.

getAddress():string
This method retrieves the current address of the Packager.

getPackageAddress():string
This method gets the target address of the package within the Packager.

setPackageAddress(address:string)
This method sets the target address of the package within the Packager.

getPackageItems():table
This method retrieves the item handler of the package as a table.

getPackageOrder():table
This method retrieves the order associated with the package if one exists.