Resource Sensor
A new automation sensor that outputs logic depending on selected materials, amount and count mode. Building is unlocked after Generic Sensors research and uses 25Kg of Refined metal.
There are 3 selectable counting modes:
- Distance Mode
Count materials around the sensor up until specified distance. - Room Mode
Count materials which are in the same room as the sensor. - Global Mode
Count materials that are located in the current active cluster. This mode only counts dupe-accessible resources.
Credits
Mod Art By 3GuB
Changelog
1.2.4
- Fixed 699077 build crash.
1.2.3
- Fixed Crash.
1.2.2
- Updated for 11/2024 QOL.
1.2.0
- Fixed distance not transferring with copy building settings.
- Fixed items not detecting below 1kg.
- Allow floating point inputs.
1.1.1
- Fixed UI Issue.
1.1.0
- Added an extra toggle that allows counting storage building contents in distance&room mode.
1.0.2
- Fixed incorrect readings when changing worlds.
1.0.1
- Fixed incorrect outputs in some situations (Credits to Caseycc for reporting&testing)
Source
Source code for this and my other mods are available at Github[github.com]
My Other Mods