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 6: | Line 5: | ||
| createdwith = [[Electronics Printer]], [[Fabricator]] | | createdwith = [[Electronics Printer]], [[Fabricator]] | ||
| constructs = Vending Machine | | constructs = Vending Machine | ||
− | | cost = 20g [[Steel]], 50g [[Gold]], 10g [[Solder]], 50g | + | | cost = 20g [[Steel]], 50g [[Gold]], 10g [[Solder]], 50g Electrum |
| stacks = No | | stacks = No | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
− | | name | + | | name = Vending Machine |
− | | image | + | | image = [[File:Vending Machine front.png]] |
− | | | + | | placement = Free (forced right side up) |
− | + | | powerusage = 5W | |
− | + | | dectool = [[Hand Drill]] | |
− | | | + | | other = Holds 100 individual stacks of items. |
− | | | ||
− | | | ||
}} | }} | ||
+ | == Description == | ||
+ | Vending Machine that can hold 100 individual stacks of items.<br> | ||
+ | Has an easy to use interface with display picture to retrieve said items. | ||
− | + | === Data Network Properties === | |
+ | <div class="toccolours mw-collapsible mw-collapsed"> | ||
+ | These are all [[:Category:Data Network|Data Network]] properties of this device. | ||
+ | <div class="mw-collapsible-content"> | ||
− | == | + | ==== 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 44: | Line 37: | ||
| On || Boolean || Turns the device on, when set >= 1. Turns it off, when set to <1. | | On || Boolean || Turns the device on, when set >= 1. Turns it off, when set to <1. | ||
|- | |- | ||
− | | | + | | Requesthash || Integer || Write [[Itemhash]] to device to immediatly output |
|} | |} | ||
− | + | ==== 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 53: | ||
|- | |- | ||
| 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) | ||
|- | |- | ||
− | | | + | | ImportQuantity || Integer || Returns the amount of items in the import slot of the device |
|- | |- | ||
− | | | + | | ImportSlotOccupant || Boolean || Returns whether there is something (stuck) in the import slot of the device. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | | ExportQuantity || Integer || Returns the amount of items in the export slot of the device. | |
|- | |- | ||
− | | | + | | ExportSlotOccupant || Boolean || Returns whether there is something (stuck) in the export slot of the device. |
|- | |- | ||
− | | | + | | RequiredPower || Integer || Returns the current amount of power, required by the device, in watts. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | Exportslothash || Integer || Returns hash of item in exportslot. |
|- | |- | ||
− | | | + | | Importslothash || Integer || Returns hash of item in importslot. |
|- | |- | ||
− | | | + | | Requesthash || Integer || 0 unless actively written to |
|} | |} | ||
+ | </div> | ||
+ | </div> |