added rhd message that thadius suggested (#53)

* Create base-damage.cfg

* Update base-damage.cfg

* spellfix

grievers changed to griefers

* Create admin.cfg

needs editing

* Create announcements.cfg

* Update announcements.cfg

* needs translatoin

* needs translation

still in English

* needs translation

* needs translation

* Create inventory-search.cfg

* translation fixed

not much more to write

* translation fixed

* needs translation

* needs translation

* needs translation

* needs translation

* needs translation

* needs translation

* needs translation

* needs translation

* needs translation

* translation fixed

* unfinishied

* Translation mostly fixed

Couldnt find the right words to correctly translate the emotions and genuine feelings behind "loops" and #fear the aids", they are so genuine as they are now.

* translation fixed

* translation fixed

* translation fixed

* translation fixed

* translation fixed

* translation fixed

* hopefully correctly translated (read my comment)

not sure if "not enough credentials" is correctly translated. I supposed you meant not enough security clearance or somthing like that. I could have written (Access denied due to invalid rank= Tillgång nekas på grund av otillräcklig rang)

* translation fixed

* translation fixed

* translation fixed

* grammar fix

* grammer fix

Yeah, I copied the grammar error from original English file and made a similiar error in the swedish version.

* spell fix

* better grammar

* estetical language change

* added order pizza

* order pizza

* fix

* Update chat-bot.cfg

* spelfix

* Update auto-chat.lua

* added make-cofee

* added make cofee

* fix because I cant spell apperantly

* spell fix because I cant spell apperantly

* missing =

* 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

* mead and snaps added

* !mead please

* a fix

* !pass some snaps

* get-cocktail

* !make cocktail

* fix?

* fix?

* rhd (thadius suggestion)

* lhd message added

* Fixed Comment and indentation
This commit is contained in:
sakamakj
2018-05-20 12:11:11 +02:00
committed by Cooldude2606
parent 96b428ed37
commit 3a6f7d7788
2 changed files with 20 additions and 3 deletions

View File

@@ -26,7 +26,6 @@ local messages = {
['roundabouts']={'chat-bot.loops'},
['afk']=function(_player) local max=_player for _,player in pairs(game.connected_players) do if max.afk_time < player.afk_time then max=player end end return {'chat-bot.afk',max.name,tick_to_display_format(max.afk_time)} end
}
-- white spaces removed and made into lower
-- these are global chat commands that can be used
-- comands start with ! (all messages are also commands)
@@ -42,7 +41,9 @@ local commands = {
['aids']={'chat-bot.aids'},
['riot']={'chat-bot.riot'},
['lenny']={'chat-bot.lenny'},
-- jokes about food and drink
--Thadius suggestion
['rhd']={'chat-bot.lhd'},
--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
@@ -73,6 +74,20 @@ local commands = {
}: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,
['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
},
['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)
if self.data[2]==0 then game.print{'chat-bot.message',{'chat-bot.order-pizza-2',self.data[1]}}
elseif self.data[2]==1 then game.print{'chat-bot.message',{'chat-bot.order-pizza-3',self.data[1]}} self.reopen = false
end
self.data[2]=self.data[2] + 1
end):open() return {'chat-bot.order-pizza-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

@@ -37,4 +37,6 @@ get-snaps-3=schkål, my friends!
get-cocktail-1= 🍸 Inintiating mind reading unit... 🍸
get-cocktail-2= 🍸 Mixing favourite ingredients of __1__ 🍸
get-cocktail-3=🍸 __1__ your cocktail is done.🍸
food=Don't know what to make for dinner? Use a random recipe from the random dinner suggestion generator at http://www.whatthefuckshouldimakefordinner.com/
food=Dont know what to make for dinner? Use a random recipe from the random dinner suggestion generator at http://www.whatthefuckshouldimakefordinner.com/
lhd=All trains must be LHD!
food=Don't know what to make for dinner? Use a random recipe from the random dinner suggestion generator at http://www.whatthefuckshouldimakefordinner.com/