Page 1 of 1

Box alarm

Posted: Mon Feb 27, 2023 12:04 am
by Chris1983
Hi, is there a way to make an alarm sound if a box gets full. Thanks

Re: Box alarm

Posted: Mon Feb 27, 2023 12:47 am
by astroshak
Yes; but how easy/complicated it is depends on the use of the box.

You can connect an alarm to a box with a wire and set the alarm that way. A wooden box holds 1600 Yellow Belts, so you can set the alarm to sound when Yellow Belts >= or just = 1600.

But what you cannot do (in vanilla) is set it so that when you have 16 full stacks of whatever (800 iron ore OR 160 Beacons OR 3200 Electronic Circuits) without a lot of circuitry. You would need to connect the box to a whole bunch of Decider Combinators, each one checking for a full box’s inventory of each item in the game that you expect to get into that box. Then have each Decider Combinator output a virtual signal (say, Green = 1) and have them all output to the alarm. At this point the alarm would just be set to sound off whenever Green >= 1.

If the box would be of mixed items, say any number of Yellow Belts, Splitters, and Undergrounds, then the circuit logic becomes a lot more complicated. And, probably not with it.

Re: Box alarm

Posted: Mon Feb 27, 2023 4:39 pm
by ptx0
i don't think the above comment described how to actually do it very well.

1. craft a speaker
2. craft a green or red wire. doesn't matter which.
3. connect chest to speaker with the wire you crafted
4. click the speaker, set a condition for "item type" less than your desired amount
5. you can set playback to global which will ensure you hear it everywhere
6. add a name and an icon for it to show up in the alerts section

Re: Box alarm

Posted: Mon Feb 27, 2023 8:07 pm
by atomizer
OP: please, ignore this post - ptx0 answered this perfectly.
rube goldberg it up