Barotrauma

Barotrauma

Not enough ratings
Immersive Repairs Lua patch Fixed+Rebalanced
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
171.317 KB
7 Apr @ 10:38am
1 Change Note ( view )

Subscribe to download
Immersive Repairs Lua patch Fixed+Rebalanced

Description
ironic_and_dead is the original author of Immersive Repairs Lua patch . This patch only fixes random crashes and improves some aspects of the mod.

📌 Main Changes
  • ✅ Added Nil-value protection (reduces lags and crashes)
  • 🔧 Rebalanced engine wear and oil consumption system
  • ⚙ Improved propeller mechanics
  • 📈 Smooth wear values thanks to linear interpolation
  • 🚀 Minor code optimization




🔧 Detailed Changes
Feature
Description
🛡️ Error protection
Fixed possible Nil-values causing lags and crashes
⚖️ Engine balance
• Oil now consumed when moving in ANY direction (original only right)
• Engine doesn't break at low thrust (less than 4)
🌀 Smooth values
Engine wear and oil consumption now change smoothly without sudden jumps
🔩 Propellers
• Automatically removed at 0% durability
• 20% slower to break underwater




📊 Comparison Table
Thrust
Original Oil Consumption
New Oil Consumption
Original Engine Break (no oil)
New Engine Break (no oil)
10
0.02
0.01
1.0
0.20
20
0.02
0.02
1.0
0.40
30
0.04
0.03
1.5
0.60
40
0.04
0.04
1.5
0.80
50
0.04
0.05
1.5
1.00
60
0.06
0.06
2.0
1.20
70
0.06
0.07
2.0
1.40
80
0.08
0.08
2.5
1.60
90
0.08
0.09
2.5
1.80
100
0.10
0.10
3.0
2.00




Important Information
2 Comments
Mr. Orgasm 13 Sep @ 9:29am 
Почему бы не списаться с автором мода Immersive Repairs насчёт этого мода?
ThePhantomX64 25 Jun @ 3:38pm 
thanks for the replaces along with it using Lua for performance