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.
			
			
									
									
						Make items_per_trigger = 0 a special case
- protocol_1903
- Filter Inserter 
- Posts: 362
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Make items_per_trigger = 0 a special case
+1
			
			
									
									Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
						https://mods.factorio.com/user/protocol_1903
Re: Make items_per_trigger = 0 a special case
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)
			
			
									
									
						(and I object to the fact that this was poorly formulated.. I thought the multiple triggers was intentional)


