1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
James Gillham
71f6fede74 Add combat robots to corpse remover. 2021-02-06 15:56:03 +00:00
James Gillham
a46435ec00 Fix desync when changing global.config.biter_corpse_remover.max_queue_size 2021-01-20 17:10:21 +00:00
James Gillham
98b39b93bf Updated corpse remover to remove worms. 2021-01-12 16:51:30 +00:00
Jayefuu
0a4355eb2c Updated corpse remover to only remove biter corpses 2021-01-12 08:33:44 +00:00
James Gillham
21ec6fb120 Change biter corpse remover.
The biter corpse remover was attempting to be clever about removing corpses and only remove them when they exceeded a certain threshold per chunk. For some reason it is no longer working and I can't figure out why.
So I replaced it with a simpler approach. Now we keep track of the corpses in a queue. When the queue size exceeds the threshold we remove and destroy the oldest corpse.
2021-01-10 15:45:28 +00:00
grilledham
bf5c4ffdd4 use next to check if table is empty + fast_remove -> remove 2019-06-18 12:17:24 +01:00
grilledham
d1ba1660df rename biter_corpse_util -> biter_corpse_remover 2019-06-13 22:28:14 +01:00