Posted 01 September 2014 - 04:49 PM
Hey all!
I'm trying to do a bakery with a terminal that sends the signal to a turtle, which will bake the bred.
I want, that the customer can choose how many breds he wants. So I did this:
Simple, but I think useful.
When the customer put in for example: "4", then "4" will be sent to the turtle. And what to do now on the turtle? I already put some chests in a room and the turtle already knows how it can get there^^
But how can I programme it that only the given amount will be smelt?
Thanks for help :wub:/>
I'm trying to do a bakery with a terminal that sends the signal to a turtle, which will bake the bred.
I want, that the customer can choose how many breds he wants. So I did this:
print("Wie viel Brot soll ich machen?")
local anzahl = io.read()
rednet.send(13,anzahl)
Simple, but I think useful.
When the customer put in for example: "4", then "4" will be sent to the turtle. And what to do now on the turtle? I already put some chests in a room and the turtle already knows how it can get there^^
But how can I programme it that only the given amount will be smelt?
Thanks for help :wub:/>