* coffee

* make coffee

* make coffee

* food

I find it quite funny that arty would pin that message on discord and it is still there.

* food

I wonder how long that pin will stay about the random food suggestion generator...

* food changed to what to eat

* food changed to whattoeat

* Update chat-bot.cfg

* Coffee on twise
This commit is contained in:
sakamakj
2018-05-19 13:08:18 +02:00
committed by Cooldude2606
parent 6b8fef74fb
commit 0d52010d45
2 changed files with 10 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ local commands = {
['aids']={'chat-bot.aids'},
['riot']={'chat-bot.riot'},
['lenny']={'chat-bot.lenny'},
-- jokes about food and drink
['whattoeat']={'chat-bot.food'},
['orderpizza']=function(player) Server.new_thread{
timeout=math.floor(180*(math.random()+0.5)),data={player.name,0}, reopen=true
}:on_event('timeout',function(self)
@@ -50,6 +52,11 @@ local commands = {
end
self.data[2]=self.data[2]+1
end):open() return {'chat-bot.order-pizza-1'} end,
['makecoffee']=function(player) Server.new_thread{
timeout=math.floor(180*(math.random()+0.5)),data=player.name
}:on_event('timeout',function(self)
if self.data then game.print{'chat-bot.message',{'chat-bot.make-coffee-2',self.data}} end
end):open() return {'chat-bot.make-coffee-1'} end,
['maketea']=function(player) Server.new_thread{
timeout=math.floor(180*(math.random()+0.5)),data=player.name
}:on_event('timeout',function(self)

View File

@@ -25,5 +25,8 @@ make-tea-2= ☕ __1__ your tea is done! ☕
order-pizza-1= 🍕 Finding nearest pizza supplier... 🍕
order-pizza-2= 🍕 Figuring out the favourite pizza of __1__ 🍕
order-pizza-3= 🍕 __1__ your pizza is here! 🍕
make-coffee-1= ☕ Boiling the water and grinding the coffee beans... ☕
make-coffee-2= ☕ __1__ we ran out of coffe beans! Have some tea instead. ☕
get-beer-1= 🍺 Pouring A Glass 🍺
get-beer-2= 🍻 Chears Mate 🍻
what-to-eat = Dont know what to make for dinner? Use a random recipe from the random dinner suggestion generator at http://www.whatthefuckshouldimakefordinner.com/