Editing Vending Machine
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Machines]] | [[Category:Machines]] | ||
− | |||
{{Itembox | {{Itembox | ||
| image = [[File:ItemKitVendingMachine.png]] | | image = [[File:ItemKitVendingMachine.png]] | ||
Line 11: | Line 10: | ||
{{Structurebox | {{Structurebox | ||
| name = Vending Machine | | name = Vending Machine | ||
− | | image = [[File: | + | | image = [[File:Vending Machine front.png]] |
| other = Holds 100 individual stacks of items. | | other = Holds 100 individual stacks of items. | ||
| power_usage = 5W | | power_usage = 5W | ||
Line 19: | Line 18: | ||
| item_rec1 = [[Kit (Vending Machine)]] | | item_rec1 = [[Kit (Vending Machine)]] | ||
}} | }} | ||
− | + | 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. | |
__TOC__ | __TOC__ | ||
+ | === Data Network Properties === | ||
+ | These are all [[:Category:Data Network|Data Network]] properties of this device. | ||
− | == | + | ==== Data Parameters ==== |
− | + | These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 47: | Line 38: | ||
|} | |} | ||
− | + | ==== Data Outputs ==== | |
+ | These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 59: | Line 51: | ||
|- | |- | ||
| Lock || Boolean || Reads if the device is locked. | | Lock || Boolean || Reads if the device is locked. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| Ratio || Integer || Storage space used in percentage. | | Ratio || Integer || Storage space used in percentage. | ||
|- | |- | ||
| Quantity || Integer || Storage space used in whole numbers. | | Quantity || Integer || Storage space used in whole numbers. | ||
− | |||
− | |||
|- | |- | ||
| On || Boolean || Returns whether the device is turned on. (0 for no, 1 for yes) | | On || Boolean || Returns whether the device is turned on. (0 for no, 1 for yes) | ||
Line 87: | Line 73: | ||
| 1 || Export || Export slot. | | 1 || Export || Export slot. | ||
|- | |- | ||
− | | 2-101 || Storage || Internal storage slots. | + | | 2-101 || Storage || Internal storage slots.o |
|} | |} | ||
Line 96: | Line 82: | ||
| Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). | ||
|- | |- | ||
− | | | + | | OccupiedHash || Integer || Returns [[ItemHash]] of item in slot. |
|- | |- | ||
| Quantity || Integer || Size of stack. | | Quantity || Integer || Size of stack. |