- Changed behaviour for non-admins. Now checks for spawners, biters and turrets but doesn't require walls and power structures to be destroyed for restart
- Added checks to limit non-admins from changing the scenario by using an argument after /restart. Now defaults to current scenario for non-admins.
Updated crash site /restart command so that guests and regulars can call it when map is cleared
- Only admin can abort, once the map is cleared.
- Guests and Regular can both call /restart when all enemy units and structures are dead
- Tested on S10 by running this command:
/c local surface=game.player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
entity.destroy()
end
- Need to merge into develop to test on live server in case conditions at the end of the game are different
- Thought about adding rocket launched condition but decided against it.
Originally proposed change to allow for a numerical surface_index to work with the diggy-clear-void debugging command. But found that command works as is by using the text 'redmew' as the surface index. Discarded proposed change and documented example use in comments to help clarify how to use.
* Recommended Diggy bot mining update for Factorio .18.27
* Resolve conflicts in this PR with diggy_hole.lua in PR 1061
* Include recent updates made to diggy_hole.lua in PR 1061
* Mining delay and particle tweaks
* Diggy updates for Factorio .18.27
* Updated with Soggs suggestions and tested again. Thanks Soggs.
* improved on_entity_died event handling
* Changes to on_entity_died event handling based on feedback
* Ensure loot is also suppressed for rocks that die by being damaged
* Remove unused local variable from simple_room_generator.lua
* Fix exploding reactor generating stone drops and freezing game. Using entity.destroy() again where it is better suited and for performance.
* Minor cleanup
* Readability
* Additional readibility
* Minor indentation cleanup