Barotrauma

Barotrauma

137 ratings
Unlimited O2 Bottles (Oct 2021) ABANDONED
3
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.985 MB
7 Aug, 2020 @ 8:10pm
7 Dec, 2021 @ 12:22am
9 Change Notes ( view )

Subscribe to download
Unlimited O2 Bottles (Oct 2021) ABANDONED

Description
ABANDON SHIP

Hi folks,

I'll no longer be providing updates to this mod. As far as I know it still works as of 20/03/22 (at least, no one has complained about it not working since the last few updates).

Anyone is free to take these files and update them and publish a new version in the future. Crediting me would be nice but not required, this wasn't exactly rocket surgery.

Happy fishing,

Tom

The Mod
This mod adds unlimited oxygen and unlimited oxygenite bottle items stamped with hot pink infinity symbols for easy identification. They can be put in diving masks or the diving suit variants and don't consume oxygen.

The unlimited oxygen bottles are sold at the trader. Unlimited oxygenite bottles are not sold. Both versions can be crafted at a fabricator using the same resources as a normal bottle of that type, both types will deconstruct like normal bottles, so you can deconstruct or fabricate both ways at no cost.

The intention was for the player to buy or make unlimited bottles and put them in all the diving suits/diving masks on the ship. The AI will grab from these to get an unlimited suit/mask. When the player grabs a suit/mask, swap out the unlimited bottle for normal bottles. The unlimited bottles can go into any regular containers including the shelves below the diving suits. That said, if you want to use them for yourself too nothing is stopping you.

Unlimited bottles can be used in welders and cutters but are consumed as normal and will explode in the wrong tool. They can refill in the O2 generator.


Questions
Can this be added to an ongoing campaign?
Yes.

Can this safely be removed from a campaign?
Yes, as far as I know. There will be error messages about the missing items the first time you load. Any unlimited bottles will vanish into the ether, but it should continue.

Does the unlimited bottles work for players as well?
Yes. It’s the honour system. The FBI are not currently investigating unauthorised unlimited bottle usage.

The unlimited bottles fit in plasma cutters/welders. Are they unlimited for tools too?
No. The unlimited bottles will be consumed or explode like normal bottles. If you deplete an unlimited oxygen bottle you can refill it in an O2 generator. If you deplete an unlimited oxygenite bottle you have my respect but no oxygenite.


Other Mods
The unlimited bottles DO NOT work with mods that add new diving gear. You will suffocate.

Any mod that makes changes to the vanilla diving gear, adds or changes oxygen sources vanilla gear use will conflict with this mod. Either you'll suffocate trying to use the unlimited bottles, or the other mod won't work and you'll suffocate using their items.

It is easy to make compatibility patches. I've given instructions in the comments, dated 8th September 2021.

Feel free to make compatibility patches, or include compatibility for this mod into your mod.
81 Comments
inject  [author] 19 Mar, 2022 @ 3:57pm 
Making a comment to make this more visible. I'll no longer be providing updates going forward. See the mod description for sightly more info.
inject  [author] 7 Dec, 2021 @ 12:32am 
Cheers, updated and added.
Ai 6 Dec, 2021 @ 9:38pm 
The PUC suit is also not able to use the oxygen and oxygenite tanks.
Ai 5 Dec, 2021 @ 10:41pm 
Found a possible bug. Both the unlimited oxygen tank and oxygenite tank do not work with the Slip Suit Diving Suit. The combat, normal, and abyss diving suit works fine still.
inject  [author] 3 Dec, 2021 @ 9:25pm 
Update pushed! Thanks for pointing it out. If other oxygen related new items were added I'm unaware, let me know and I'll add them.

I put items in files named the same as the vanilla files, so I can find them after updates.

Make a new xml file, name it whatever, add opening <Override> <Items> tags, leave some blank lines, make closing </Items> </Override> tags, then put your <Item> ... </Item> in between. You can have multiple items, items from different files, doesn't matter.. Add your new file to filelist.xml, making sure to duplicate one of the existing lines starting with Item, save, should be right to go.
Emlorp 3 Dec, 2021 @ 9:06pm 
Okay, I would love to review how you get it to work since i couldnt figure it out I may just be a noob with no knowledge and using examples didnt work so hopefully seeing the correction will :)
inject  [author] 3 Dec, 2021 @ 9:04pm 
Thanks. I'll update in a few minutes anyhow, hold tight.
Emlorp 3 Dec, 2021 @ 9:02pm 
@Tommo I found it here \Content\Items\Jobgear\Assistant\assistant_talent_items.xml
I added copied the entire code to an xml named same thing into your mod folder to try and make a patch in a set location but when I added it as you said basically copied your files but deleted all items and pasted in the clown mask code adding the contain items and status effect but nothing worked it seems
inject  [author] 3 Dec, 2021 @ 8:54pm 
@Emlorp I didn't know there was a clown mask that could take oxygen bottles, how long has that been in the game?. Where is it in the files, I couldn't find it after a brief look.

If you've made a new .xml file, you need to add it to filelist.xml in the mod's base directory. Copy one of the existing lines that ends in .xml, paste it anywhere in that list on its own line, change the name to match your new file.

@Spartan Draco The first version of this mod didn't have special oxygen bottles, it had red diving suits that were new items therefore didn't overwrite the vanilla ones. It was cumbersome, if you left one normal suit for yourself and replaced the others for bots, bots could still take it. That ended like... a year ago? IDK, it's been a while.
Emlorp 3 Dec, 2021 @ 5:23pm 
Edit: I found the item but when trying to make an override to add the items the game doesnt seem to load the new xml if i drop it into your mod package