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{