Add !evolution command (#63)

* Add !evolution to auto-chat.lua

* Add !evolution to chat-bot.cfg

* Fixed syntax error and converted to two decimal places
This commit is contained in:
JCA122204
2018-05-30 18:37:22 -04:00
committed by Cooldude2606
parent 7584cd9a9a
commit bea1b8643b
2 changed files with 3 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ local commands = {
['aids']={'chat-bot.aids'},
['riot']={'chat-bot.riot'},
['lenny']={'chat-bot.lenny'},
['evolution']=function(player) return {'chat_bot.current-evolution',string.format('%.2f',game.forces['enemy'].evolution_factor)} end,
--Jokes about food and drink
['whattoeat']={'chat-bot.food'},
['makepopcorn']=function(player) Server.new_thread{

View File

@@ -15,6 +15,7 @@ softmod=A softmod is a custom scenario that runs on this server, example is the
blame=Blame __1__ for what just happend!
afk=Your afk? Look at __1__, that player has been afk for: __2__
links=To see links open the readme and click links.
current-evolution=Current evolution factor is __1__
magic=Fear the admin magic (ノ゚∀゚)ノ⌒・*:.。. .。.:*・゜゚・*☆
aids=≖ ‿ ≖ Fear the aids of a public server ≖ ‿ ≖
riot=(admins) ┬┴┬┴┤ᵒ_ᵒ)├┬┴┬┴ \(´ω` )/\ (  ´)/\ ( ´ω`)/ (rest of server)
@@ -40,4 +41,4 @@ get-cocktail-3=🍸 __1__ your cocktail is done.🍸
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/
get-popcorn-1=Heating the oil and waiting for the popping sound...
get-popcorn-2=__1__ your popcorn is finished. Lean backwards and watch the drama unfold.
get-popcorn-2=__1__ your popcorn is finished. Lean backwards and watch the drama unfold.