Make items_per_trigger = 0 a special case

Things that we aren't going to implement
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 105
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Make items_per_trigger = 0 a special case

Post by PennyJim »

Currently SpoiltoTrigger::items_per_trigger only allows positive values.
My hope is that setting it to 0 would allow us to indicate that we only want it to trigger at most once per stack.

I'm playing with the idea of a script trigger to allow a stack to very specifically decay (spoil) in half. Problem being, that with a very large stack, it'll trigger it so so many times... My method can't even do all that good of an early return to mitigate it.
protocol_1903
Fast Inserter
Fast Inserter
Posts: 210
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Make items_per_trigger = 0 a special case

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 105
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: Make items_per_trigger = 0 a special case

Post by PennyJim »

Completed as of 2.0.42 with 127568

(and I object to the fact that this was poorly formulated.. I thought the multiple triggers was intentional)
Post Reply

Return to “Won't implement”