Auto Trash


Allows saving of different logistic request setups Enable autotrash only in certain logistic networks Load your spidertron with different setups with a single click Load one or more preset after respawning Trash unrequested items

Content
3 months ago
0.13 - 1.1
42.8K
Logistic network

b [fixed] bug? "Set trash to requests" does not work

2 years ago

The "Set trash to requests" option does not work for items with requests set to 0.
Example:
1) add "iron plates" item with values: requests=0, trash=800
2) select the "Set trash to requests" action
3) the action was ignored for "iron plates"

PS. it still work for items with requests > 0, so I dont know is it a bug.
Anyway could fix it, or add an additional same option for requests = 0.

7 months ago

I would like the same thing to be possible. Looking at the code it has been always like this, trash will be set to request only if request is great than zero.

The check is in this line, I've tried changing ">" to ">=" and it works.
https://github.com/Choumiko/AutoTrash/blob/bf709192b02a5d7489e6c77f35035d98bc69fad8/scripts/gui.lua#L470

7 months ago

i did the same, but author does not fix this :)

7 months ago

Sad. I'll try to make a script to locally patch installed mods to avoid modifying and uploading mods just for this kind of modifications.

3 months ago

Changed it for the new version.

Might be a few days until I release it. Getting back into Factorio modding after 3 years is kind of hard.

New response