Shop Jobs
Overview
Description
A Shop Job is a data type that describes how a peon job works, this is everything in the game from simply moving around to more complex tasks like seeking out items and querying the world around the peon.
Shop Job Properties
job.neededItems
- Data Type: table[string]
- Description
- A
| Variable | DataType | Description |
|---|---|---|
| pos | table{x, y} | Shop Equipment position in world coordinates |
| data | table[string] | A place to store information that can be stored, recalled and manipulate. See Binary Data File Layout for implementation specs |
Shop Job Functions
-
job:hasRequiredItems()
- Checks to see if all the item's set via job.neededItems