安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													



 
														
													 
						 
						

 
			





You're right - there is no way to apply the effects to the Diving Suit Locker without overriding the Diving Suits themselves. :(
Anyways, I found some outdated code that I'd suggest updating:
-Update the <StatusEffect type="OnFailure">. The Barotrauma devs have added an "electricshock" Affliction, as well as a 50% probability of stun. This applies to Batteries, Charging Docks, and both Oxygen Tank Shelves (small one and legacy one).
-For both oxygentankshelf and oxygentankshelf2, the Barotrauma devs have added a ItemsUseInventoryPlacement="true" attribute to the <ItemContainer> element. This makes the layout of the tanks in the Oxygen Tank Shelf be drawn according to their position in the inventory. Now that it's disabled, the tanks are always drawn, at least on oxygentankshelf2, left-to-right, which looks less pretty.
In vanilla, Oxygen Tank Shelves pull 30 kW of energy, and Diving Suit Lockers pull 10 kW of energy.
In this mod, Oxygen Tank Shelves pull 10 kW energy when idle, and then +100 kW of energy per each oxygen tank it's charging. So, 110 kW for 1 tank charging; 210 kW for 2 tanks; 310 kW for 3 tanks.
However, Diving Suit Lockers do not have that behavior. They always pull 10 kW, regardless of whether the Oxygen Tank within the Diving Suit is full or not. One would expect the Diving Suit Locker to also pull 110 kW if it's charging the Oxygen Tank within the Diving Suit.
Would it be possible to program in that functionality as well?