Difference between revisions of "Vending Machine"
From Unofficial Stationeers Wiki
Line 18: | Line 18: | ||
| item_rec1 = [[Kit (Vending Machine)]] | | item_rec1 = [[Kit (Vending Machine)]] | ||
}} | }} | ||
− | + | ||
__TOC__ | __TOC__ | ||
+ | |||
+ | == Description == <!--T:1--> | ||
+ | The [[Vending Machine]] is a machine used to dispense items to players. The machine can hold up to 100 individual stacks of items. The machine's easy to use interface lets the user choose an item (displayed in the picture window) and dispense it with the press of a button. | ||
+ | <br>Can be also used to get the items purchased or sold to [[Traders]]. | ||
+ | |||
+ | <!--T:2--> | ||
{{Data Network Header}} | {{Data Network Header}} | ||
Revision as of 06:39, 10 July 2021
Constructing Options | Vending Machine |
---|---|
Properties | |
Stacks | No |
Recipe | |
Created With | Electronics Printer, Fabricator |
Cost | 20g Steel, 50g Gold, 10g Solder, 50g Electrum |
Holds 100 individual stacks of items. | |
Operation | |
---|---|
Power Usage | 5W |
Construction | |
Placed with | Kit (Vending Machine) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Vending Machine) |
Contents
Description
The Vending Machine is a machine used to dispense items to players. The machine can hold up to 100 individual stacks of items. The machine's easy to use interface lets the user choose an item (displayed in the picture window) and dispense it with the press of a button.
Can be also used to get the items purchased or sold to Traders.
Data Network Properties
These are all Data Network properties of this device.
Data Parameters
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Activate | Boolean | Not functional on this device |
Lock | Boolean | Locks the device for player interaction when set to 1. Unlocks it, when set to 0. |
On | Boolean | Turns the device on, when set >= 1. Turns it off, when set to <1. |
RequestHash | Integer | Write ItemHash to device to immediate output |
Data Outputs
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Power | Boolean | Returns whether the device is turned on and receives power. (0 for no, 1 for yes). |
Error | Boolean | Returns whether the device is flashing an error. (0 for no, 1 for yes). |
Activate | Boolean | Not functional on this device. |
Lock | Boolean | Reads if the device is locked. |
ImportCount | Integer | Incremented each time an item stack enter by the Import slot |
ExportCount | Integer | Incremented each time an item stack exit by the Export Slot |
Ratio | Integer | Storage space used in percentage. |
Quantity | Integer | Storage space used in whole numbers. |
PrefabHash | Integer | Returns ItemHash of device |
On | Boolean | Returns whether the device is turned on. (0 for no, 1 for yes) |
RequiredPower | Integer | Returns the current amount of power, required by the device, in watts. |
RequestHash | Integer | 0 unless actively written to |
Data Slots
These are all parameters, that can be read with a Slots Reader. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
Number | Name | Description |
---|---|---|
0 | Import | Import slot. |
1 | Export | Export slot. |
2-101 | Storage | Internal storage slots.o |
Name | Data Type | Description |
---|---|---|
Occupied | Boolean | Returns whether the slot occupied. (0 for no, 1 for yes). |
OccupantHash | Integer | Returns ItemHash of item in slot. |
Quantity | Integer | Size of stack. |
Damage | Integer | Item durability in percent. |
Class | Integer | Item class ID. |