mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
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:
1 parent
8638504550
commit
779adff212
10 files changed
+48
-36
No files matched your search
@@ -20,5 +20,6 @@ Commands.new_command('bot-queue-set', 'Set bot queue')
|
||||
:register(function(player, amount)
|
||||
player.force.max_successful_attempts_per_tick_per_construction_queue = 3 * amount
|
||||
player.force.max_failed_attempts_per_tick_per_construction_queue = 1 * amount
|
||||
return Commands.success{'expcom-bot-queue.result', 3 * amount, 1 * amount}
|
||||
game.print{'expcom-bot-queue.result', player.name, 3 * amount, 1 * amount}
|
||||
return Commands.success
|
||||
end)
|
||||
Reference in new issue
Block a user