1.2.0 • Published 4 years ago
vendingm v1.2.0
V.1.0.0 This is a vending machine type module.
To add more items to the list do:
VM.machine.push({name:'Example', price:100})
To change an item do:
VM.machine[0].name = 'Example'
or
VM.machine[0].price = 100
To change the amount of money you have do:
VM.money = 100
And finally to activate the machine, do:
VM.func();
V.1.10:
Added the 'random' command.
VM.random(limit,true/false)
The second parameter indicates wether or not you'll get a rounded number. The limit will not be reached.
V.1.2.0 Fixed a major bug: -The package ACTUALLY works now.