Search found 2 matches
- Wed Mar 23, 2016 12:14 pm
- Forum: Ideas and Requests For Mods
- Topic: Mod to turn peaceful_mode OFF after X minutes?
- Replies: 11
- Views: 3189
Re: Mod to turn peaceful_mode OFF after X minutes?
function print_all(text) for _, v in pairs(game.players) do v.print(text) end end script.on_init(function() game.peaceful_mode = true game.forces.enemy.kill_all_units() end) script.on_event(defines.events.on_tick, function(event) if event.tick == 60 * 60 * 120 then print_all("warning1") e...
- Wed Mar 23, 2016 12:12 pm
- Forum: Ideas and Requests For Mods
- Topic: Mod to turn peaceful_mode OFF after X minutes?
- Replies: 11
- Views: 3189
Re: Mod to turn peaceful_mode OFF after X minutes?
+++ - Supporting that!
Another Suggestion by myself is to add a command to activate/deactivate the peacful mode manually.
Another Suggestion by myself is to add a command to activate/deactivate the peacful mode manually.