Make commands display in game chat (#297)

* Update friendly-fire.lua

* Update research.lua

* Update friendly-fire.lua

* Update speed.lua

* Update cheat-mode.lua

* Update bot-queue.lua

* Update train.lua

* Update pollution.lua

* Update commands.cfg

* Update commands.cfg

* Update commands.cfg

* Update cheat-mode.lua

* Update research.lua

* Update commands.cfg

* Update commands.cfg

* Update commands.cfg
This commit is contained in:
2024-06-06 03:33:56 +09:00
committed by GitHub
parent 8638504550
commit 779adff212
10 changed files with 48 additions and 36 deletions

View File

@@ -18,5 +18,6 @@ Commands.new_command('set-trains-to-automatic', 'Set All Trains to Automatic')
end
end
return Commands.success{'expcom-train.manual-result', format_number(count)}
game.print{'expcom-train.manual-result', player.name, format_number(count)}
return Commands.success
end)