Page 1 of 1
Can I make a chest where slots can be filtered?
Posted: Sat Sep 11, 2021 4:56 am
by mrvn
In a cargo wagon I can set a filter for every slot and then only that item can be placed in that slot.
Can I make a chest that has the same filter option or do I have to make a proxy object that turns into a cargo wagon on a rail?
Re: Can I make a chest where slots can be filtered?
Posted: Sat Sep 11, 2021 8:49 am
by steinio
A car and tank have also filtered slots.
Abuse the prototypes for your needs.
Re: Can I make a chest where slots can be filtered?
Posted: Sat Sep 11, 2021 8:50 pm
by mrvn
But car and tank then blink with out of fuel. Unless I set them to some infinite fuel source. But then they can drive around so set speed to zero?
It would really be much cleaner if the standard container prototype had a flag to allow filters.
Re: Can I make a chest where slots can be filtered?
Posted: Sun Sep 12, 2021 12:47 am
by PFQNiet
Set `render_no_power_icon = false` on the vehicle's burner prototype.
While it might feel "dirty", a lot of great mods are entirely made based on this "use prototypes for things they weren't necessarily intended for."
Re: Can I make a chest where slots can be filtered?
Posted: Sun Sep 12, 2021 10:21 am
by mrvn
Afaik a car has some UPS overhead and I'm thinking of having A LOT of those filtered chests. But needs must when the Devil drives.