Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Tablet
- local GERTi = require("GERTiClient")
- local socket = GERTi.openSocket(0.4, true, 1)
- local serialize = require("serialization")
- print("Input Fluid Type: milk,sewage")
- local fluid = io.read()
- print("Input Amount To Order Max=256000")
- local order = io.read("n")
- if fluid=="milk" or fluid=="sewage" then
- print("Fluid Type", fluid)
- else
- print("Incorrect Input")
- end
- print("Order Amount", order)
- table = {["amount"] = order, ["type"] = fluid}
- serTable = serialize.serialize(table)
- socket:write(serTable)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement