DISABLE belts when specific item is on them?

Place to get help with not working mods / modding interface.
Wolbobus
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 04, 2024 9:10 pm
Contact:

DISABLE belts when specific item is on them?

Post by Wolbobus »

Would it be possible to have specific items DISABLE/STOP a belt from functioning when they are on the belt? To make an item "unbeltable".

I'm rather new to modding and especially scripting. Thanks!
Natha
Fast Inserter
Fast Inserter
Posts: 230
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: DISABLE belts when specific item is on them?

Post by Natha »

You can set https://lua-api.factorio.com/latest/cla ... tml#active based on the items on it (using transport line to read items)
Post Reply

Return to “Modding help”