Oxygen Not Included

Oxygen Not Included

63 ratings
Resource Sensor
   
Award
Favorite
Favorited
Unfavorite
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
2.097 MB
2 Jan, 2023 @ 1:09pm
29 Nov, 2024 @ 5:30pm
9 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.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
42 Comments
pnijak 3 hours ago 
they need to update it with the change made to how cells work.
Estebandido1232 10 hours ago 
Wont work for me either after Nov 2025 QoL update
Neavo 21 Nov @ 3:21am 
wait for update for u57
Oniwabanshu 20 Nov @ 9:09pm 
Can confirm DAV's assessment.
DAV 20 Nov @ 10:57am 
Hi, seems to not be working anymore with the 2025.11.20 update :(
It is throwing a error:
Error in LogicResourceSensorComplete.DistanceVisualizer.OnSpawn at (152.50, 83.01, -19.50)

System.MissingMethodException: Method not found: int .CellChangeMonitor.RegisterCellChangedHandler(UnityEngine.Transform,System.Action,string)
at KMonoBehaviour.Spawn () [0x0005d] in <eeaae6bd36c2418387bac55a246d67a2>:0
Build: U57-700348-SCRPD
MiserableGamer 20 Nov @ 4:34am 
Would be great to include gases and liquids in storage too?
zaunfinkrc 20 Aug @ 2:33am 
This is fantastic and makes ensurign dupes on other asteroids have enough resources at the start so much easier (among a TON of other things).

That being said: would it be possible for you to make a liquid version? I like making sure certain processes only run when I have more than x Water etc.
Davinci 16 Jul @ 10:36am 
I can't see any mode selection options on the sensor
暮秦 10 Jul @ 10:27pm 
keep X 。perfect!
cedaroo 10 Jun @ 2:18pm 
So useful! Thank you!