Oxygen Not Included

Oxygen Not Included

64 ratings
Resource Sensor
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.098 MB
Jan 2, 2023 @ 1:09pm
Nov 25 @ 2:26am
10 Change Notes ( view )

Subscribe to download
Resource Sensor

Description
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
50 Comments
bartoszkozlowski3 Dec 1 @ 11:20am 
Sensor shows the range the whole time when distance mode is selected.
MiserableGamer Nov 27 @ 6:54am 
When I click on an active resource sensor, it shows the range it's currently set to with a ghosted tile grid - this remains active after deselecting the sensor
DAV Nov 25 @ 11:32am 
Thank you for the update :steamthumbsup:
Jaggid Edje Nov 25 @ 9:27am 
Thank you for the update! I use this sensor quite a bit so I was really missing it.
Oniwabanshu Nov 25 @ 6:46am 
Thank you so much.
Rubacava  [author] Nov 25 @ 2:27am 
Released an update. Sorry for the delay i was away from the mods for a while. Let me know if there are issues.
Oniwabanshu Nov 24 @ 6:19pm 
"MissingMethodException" I think it is beyond my knowledge.
Oniwabanshu Nov 24 @ 6:16pm 
Will this need something more than recompiling?
I might just give it a try... my colony's autonomy depends on this mod by now.
pnijak Nov 22 @ 1:17pm 
they need to update it with the change made to how cells work.
Estebandido1232 Nov 22 @ 6:23am 
Wont work for me either after Nov 2025 QoL update