Oxygen Not Included

Oxygen Not Included

162 ratings
Default Building Settings
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Tweaks, UI
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
149.703 KB
5 Feb, 2020 @ 6:26pm
22 Feb, 2024 @ 4:26pm
13 Change Notes ( view )

Subscribe to download
Default Building Settings

In 1 collection by Aze
ONI Strict QOL Mods
33 items
Description
Alter the settings buildings have when you first build them!

There are some buildings that almost always get set differently than the default, this mod allows you to configure some of these to reduce the chances of forgetting and to minimize effort.



Features:
These can be configured or disabled through the mod's options screen.
  • Set atmo suit and jetpack checkpoints to default to Vacancy Only.
  • Set gas-permeable doors to Open.
  • Set storages to default to Sweep Only.
  • Set buildings to default to Repair Off.
  • Set switches to initialize to Inactive.
  • Set default range on smart batteries.
  • Set default thresholds for manual and coal/wood generators.
  • Set default range on reservoirs.



Like the Mod?
I've poured hundreds of hours into creating and supporting my mods because I love the game and the community. Knowing that people enjoy and appreciate them is what keeps me going.

If you're feeling generous, consider:
Found a Bug?
Please read this entire page[github.com] before going any further. If the instructions are not followed, I will not be able to fix your issue.

Source[github.com]
64 Comments
Aze  [author] 4 May, 2024 @ 7:04pm 
@Joren: Install Mod Updater. It's essential for modding this game.
Joren 4 May, 2024 @ 7:03pm 
Thanks, with that lead, I was able to figure out how to get it to update, and now it works!

I wasn't sure how to upload the full log, since I can't paste more than 1000 characters here. But when I looked at the log some more, I found this version: 2021.6.27.13

My copy of it was VERY out-of-date. I tried unsubscribing and resubscribing, but it was still the same. I tried unsubbing, launching the game, then quitting and subbing again, but that didn't work either. I did some googling, and found instructions to track down the mod files themselves and delete them. I restarted Steam, relaunched the game... and it crashed again -_-. So then I also verified all the files, restarted Steam again, and THEN it finally worked. I also loaded up my game and confirmed that newly built items have the right settings, so the mod is working great.

I really wish Steam would just let us click a button to redownload all our mods.

Thanks for your help diagnosing this problem that wasn't your fault!
Aze  [author] 4 May, 2024 @ 3:08pm 
@Joren: Could you please upload the full log? You're probably on an outdated mod version (this was fixed in 12/22...), and the log would confirm it. There's basically no way for this crash to be context sensitive, so it should be triggering on my end if a new variation had been introduced.
Joren 4 May, 2024 @ 2:48pm 
Sure, here's the exception in my Player.log file. I had to cut off a lot to keep it under the char count.

[21:36:32.410] [1] [ERROR] null Exception while loading mod Aze.DefaultBuildingSettings at C:/Users/USERNAME/OneDrive/Documents/Klei/OxygenNotIncluded/mods/Steam/1989737447.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=Build, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod [...etc...]
Aze  [author] 4 May, 2024 @ 10:27am 
@Joren: I just tested, and it's working fine for me. Could you provide a log?
Joren 2 May, 2024 @ 10:09am 
This is consistently crashing on startup for me.

Though admittedly I haven't tried disabling my other mods, and I'm not seeing a bunch of other comments about this, so it's possible that it's a conflict between certain mods that I have.
Aze  [author] 28 Feb, 2024 @ 5:47pm 
@Bardagh: It shouldn't affect previously placed buildings, just new placements.
Bardagh 28 Feb, 2024 @ 5:38pm 
I guess I'll just have to pay attention to when this gets updated & make sure to fix it before loading.
Aze  [author] 27 Feb, 2024 @ 4:30pm 
@Bardagh: Yeah, sorry. That's unavoidable. They should persist just fine until the next update.
Bardagh 26 Feb, 2024 @ 10:13pm 
The recent update reset my settings to default.