Posted 11 September 2012 - 04:13 PM
I've not been using ComputerCraft long - however I already know Lua through Roblox. Therefore I'm not that familiar with the API's that ComputerCraft uses.
I've been looking though the API list and I can't seem to find an API that allows the computer to access the users inventory. I'm making a ticket system for minecarts, where the user has to pay to catch a ride :)/>/> My question is is there an existing API for this and if so where can I find information on how to use it?
I was thinking of using floppy disks with ID values on them created by a computer, this could make it like printed ticket, but I can't see a way for the user to be able to pay for it. If accessing the user's inventory isn't possible then I suppose it would make a nice challenging little API project :P/>/>
Thanks in advance!
~Gergy
I've been looking though the API list and I can't seem to find an API that allows the computer to access the users inventory. I'm making a ticket system for minecarts, where the user has to pay to catch a ride :)/>/> My question is is there an existing API for this and if so where can I find information on how to use it?
I was thinking of using floppy disks with ID values on them created by a computer, this could make it like printed ticket, but I can't see a way for the user to be able to pay for it. If accessing the user's inventory isn't possible then I suppose it would make a nice challenging little API project :P/>/>
Thanks in advance!
~Gergy