S-mod in some hullmods, Get some bonuses/penalties. Only work with the selected vanilla hullmods below so far because I don't know what other effects to give for the rest or it's just a good smod in the first place to not need one. I'm open to any suggestions and balance feedback. I would not call myself an expert on vanilla balance, but this is just my opinion of it.

**Instructions**If you don't like any of the changes, remove the script! It'll default back to vanilla behavior. For those mods in the Support Package section, you may have to look at the hullmod.csv for further instructions to remove them.

**Can be installed or uninstalled through saves!** It does conflict with any mod that modifies the vanilla hullmods, but I have not found any so far. There is no current conflict with Gacha S-Mods, Progressive S-Mods, or Trophy S-Mods.

Built-in bonuses can receive S-Mod bonuses by accessing the setting.json and enabling them.

**Incompatibility Issues**This mod is a semi-conversion of the following vanilla hullmods:

Accelerated Shields, Additional Berthing, Advanced Optics, Advanced Turret Gyro, Armored Weapon Mounts, Augmented Engines, Automated Repair Units, Auxiliary Fuel Tanks, Auxiliary Thrusters, Ballistic Rangefinder, Blast Doors, Converted Fighter Bay, Converted Hangar, Dedicated Targeting Core, ECCM Package, ECM Package, Efficiency Overhaul, Expanded Cargo Holds, Expanded Deck Crew, Expanded Magazine, Extended Shields, Faulty Automated Systems, Flux Coil Adjunct, Flux Distributor, Front Shield Conversion, High Resolution Sensors, Makeshift Shield Generator, Hardened Subsystem, Heavy Armor, Heavy Scatter Amplifier, Insulated Engine Assembly, Integrated Point Defense AI, Militarized Subsystems, Nav Relay, Omni Shield Conversion, Operation Centers, Reinforced Bulkheads, Resistant Flux Conduits, Rugged Construction, Shield Shunt, Solar Shielding, Stabilized Shields, and Unstable Injector

Any mod that interferes with these listed hullmods may mean you may not see the smod bonuses/penalties. What you may do is either delete the line of the corresponding hullmod in their hull_mod.csv or leave it as it is. No crashes should come from this mod.

**Credits**Thanks to PureTilt for sharing code!

Changelog

1.64

- Additional Berthing S-Mod Added: Doubled crew capacity bonus and negates maintenance cost!

- Advanced Weapon Mount S-Mod reworked: +10% RoF for non-missile weapons!

- Auxiliary Fuel Tanks S-Mod Added: Doubled fuel capacity bonus and negates maintenance cost!

- Converted Fighter Bay S-Mod should correctly adjust for logistic hullmod limit!

- ECM Package S-Mod adjusted: Removed ECM immunity and added +1% ECM Rating!

- ECCM Package S-Mod reworked: ECM and flare immunity!

- Expanded Cargo Holds S-Mod Added: Doubled cargo capacity bonus and negates maintenance cost!

1.63

- Added Rugged Construction buff from 0.96a (Reducing supply cost to recover from deployment by 50%)!

- Added Faulty Automated Systems buff from 0.96a (Increases crew requirement by 50% instead of 100%)!

- Added no_drop to Neural Integrator and Neural Interface modspecs should not longer drop from 0.96a changelog!

- Adjusted Flux Coil Adjunct S-Mod wording to avoid confusion!

- Adjusted HSA paragraphing!

- Fixed Extended Shield being capped at 20x instead of 12x originally!

- Fixed Shield Shunt bug of not providing the right s-mod effect!

- Unstable Injector S-Mod bonus scales on hull size (25/20/15/15) from 20!

1.62

- Adjusted Converted Hangar S-Mod to further revisions: increased recovered carrier replacement rate on cruiser and larger!

- Reworked Ballistic Rangefinder to 0.96a changes; removed s-mod effect!

1.61

- Fixed Advanced Turret Gyros S-Mod applying a 20x mult instead of a +20% bonus vs frigates!

- Reworked Converted Hangar completely to a possible change by Alex! Feel free to revert, built-in Converted Hangars are unaffected.

- Converted Fighter Bays S-Mod also reduces supplies to maintain.

- Operation Centers S-Mod also reduces supplies to maintain.

1.6

- Advanced Turret Gyros reworked to 0.96a current change: damage bonus vs fighter/missiles and damage bonus vs smaller ship sizes of the ship!

- Converted Fighter Bay S-Mod will also reduce deployment point of the ship!

- Efficiency Overhaul S-Mod should properly detect if Phantom is a civilian ship and other ships!

- Expanded Deck Crews S-Mod reworked: +25% faster replacement rate!

- High-Resolution Sensors: Changed cost to 4/6/9/15 (was: 9/9/9/15) and gave s-mod effect with 0.96a changelog!

- Nav Relay S-Mod reworked: Adds maneuverability based on the total nav rating of your fleet. Fighters gain +20% top speed and maneuverability!

- Shield Conversion Omni S-Mod reworked: No longer reduces shield arcs!

- Shield Shunt re-added as an S-Mod bonus with 0.96a changelog: Increasing the armor bonus to +30% armor!

- Recovery Shuttle reworked: Reduces the rate at which the fighter replacement rate decreases due to fighter losses by 40% when engaging! (You gain -50% when on recall in vanilla behavior!)

- Unstable Injector reworked: Increases the ship's zero-flux engine boost to top speed by 20!

1.54

- Accelerated Shield S-Mod no longer has beam damage reduction!

- Accelerated Shield S-Mod now increases shield deployment and turn rate by +400%!

- Front Shield Conversion S-Mod now adds +25% extra arc!

- Omni Shield Conversion S-Mod now increases damage reduction taken by shield to 8%!

- Adaptive Phase Coils S-Mod provides 25% speed and acceleration while phased instead of reducing flux usage from phase cloak activation!

- Advanced Optic S-Mod no longer provides +5% Beam damage!

- Automated Repair Units S-Mod reduces CR loss from deployment and restore 15% hull and armor damage taken during combat at the end of combat instead of a hull damage reduction!

- ECM Package S-Mod grants +50% target leading accuracy to both fighters and ships!

- Heavy Armor's armor penalty when smodded decreased: 150/300/400/500 -> 150/250/350/450!

- Hardened Shield S-Mod now increases damage reduction taken by shield to 22%!

- Hardened Subsystem S-Mod now reduces malfunction chances instead of providing increased CR reduction!

- High Scatter Amplifier S-Mod now adds +5% Beam damage!

- Nav Relay S-Mod now provides +20% top speed to fighters!

- Operation Center S-Mod reworked: Granting DP reduction, ECM, and Nav rating when installed on the Flagship!

1.53

- Fixed S-Modded Reinforced Bulkhead bug with dmods!

- Fixed S-Modded Efficiency Overhaul not applying its bonuses properly!

1.52

- Converted Fighter Bay S-Mod adds 100/200/250/300 Armor and +5% flux stats and an additional +2% per built-in cargo bay!

- Efficiency Overhaul S-Mod has two new bonuses depending if the ship is civilian or combat: Reduced logistic usage or increased recovery and repair rates!

- Extended Shield S-Mod converts excess shield arc beyond 360 arc up to 480 arc capped into flux capacity scaling on shield upkeep!

- Fixed S-Mod ECM Package not providing immunity to weapon range penalty reduction from Electronic Warfare!

- Fixed ECCM Package not providing weapon range penalty reduction from Electronic Warfare (Vanilla fix!)

1.51

- Advanced Optic S-Mod now replaces 200 bonus range with 200 base range increase!

- Converted Hangar S-Mod should properly display stat changes!

- Extended Shield S-Mod converts excess shield arc beyond 360 arc into flux capacity scaling on shield upkeep!

1.5

- Accelerated Shield S-Mod beam damage reduction increased from -15% to -20%!

- Armored Weapon Mount S-Mod no longer increases armor by an additional 5%, but a flat +5 per weapon mount!

- Blast Door S-Mod now reduces armor damage taken by -10%!

- ECM Package S-Mod now grants immunity to Electronic Warfare penalties!

- Insulated Engine Assembly S-Mod no longer grants additional hull integrity, but greatly reduces sensor profiles!

- Flux Coil Adjunct S-Mod reworked: Adds 400/800/1200/2000 flux capacity and doubles flux dissipation when overloaded!

- Flux Distributor S-Mod adds 15/30/40/50 flux dissipation and also reduces flux generated by missile weapons by -5%!

- Nav Relay S-Mod now grants +5% Top Speed to Fighters of that Ship!

- Reinforced Bulkhead S-Mod reworked: Adds 250/400/500/1000 hull integrity and reduce effects of D-mods by 50% (stacks with Rugged Construction)!

- Resistant Flux Conduit S-Mod no longer increase EMP dmg reduction, but reduces overload duration by -20%!

- Stabilized Shields S-Mod hard flux dissipation reduced from 15% to 12%!

1.4

- S-Mod Accelerated Shield no longer reduces high explosive damage and instead grants a -15% beam damage reduction taken by shields!

- S-Mod Advanced Turret Gyro no longer grants recoil reduction and instead grants +100% target leading autoaccuracy!

- S-Mod Adaptive Phase Coils reworked: Reduces flux usage from activating phase cloak by -75% and reduces phase cooldown by -25%!

- Added S-Mod bonus for Augmented Drive Field: reduces fuel consumption by 30%!

- Added S-Mod bonus for Ballistic Rangefinder: Grants any non-large ballistic weapons their bonuses regardless of what slot they're mounted on!

- S-Mod Efficiency Overhaul grants +20% max CR instead of +10% max CR!

- S-Mod Expanded Magazines reworked: Ammo capacity bonus increased to +100% and grants +50% reloading speed of ballistic and energy when there is no nearby significant enemy presence!

- S-Mod Extended Shield no longer reduces kinetic damage and instead grants 120-degree arc of shields!

- S-Mod HSA no longer increase base range threshold by 100 and instead reduces the range reduction to -25%!

- S-Mod Insulated Engine Assembly reworked: +100% more engine health and +5% hull integrity!

- S-Mod IPDAI now adds +50% damage to fighters!

- S-Mod Makeshift Shield Generator removes the top speed reduction as well as grants an omni-directional shield with -20% upkeep and +10% improved efficiency!

- S-Mod Operation Centers reworked: grants fighters +15% top speed and +33% target leading accuracy!

- S-Mod Reinforced Bulkhead now adds 50 armor for damage reduction calculation instead of 30 armor!

- S-Mod Solar Shielding's Energy Dmg reduction increased to -33%!

1.33

- Removed Shield Shunt S-Mod

- Changed Resistant Flux Conduits

- Changed High Scatter Amplifier

1.32

- Fixed Hardened Subsystem's bug

- Fixed Armored Weapon Mount's tooltip

1.31

- Fixed Militarized Subsystem

- Added Phase Adaptive Coils

1.3 - New Smods!

- There is now a setting in setting.json you must set to TRUE for built-in hullmods to function like S-Mods.

- Removed Assault and Escort Package from selection (bonuses transferred to Militarized Subsystem)

- Temporarily removed Augmented Drive Field S-Mod for the time being.

- A lot of hullmods got changed. Check the forum thread to see what changed mostly.

1.2 - New Smods!

- Augmented Drive Field now has an S-Mod Bonus: reduces the ship's sensor profile by 20%.

- Automated Repair Unit now repairs 1% of your hull integrity if it's below 40%.

- Converted Fighter Bay now has an S-Mod Bonus: Adds +80 Armor and +40 Flux Dissipation per built-in cargo bay.

- Converted Hangar now has an S-Mod Bonus: Buffed Fighter Speed and Reduced Fighter Damage Taken.

- High Scatter Amplified now has an S-Mod Bonus: -30% Range on non-PD Beams and a -20% Range on PD Beams.

- Militarized Subsystems get their bonus amplified to 1.5x.

- Assault Package gets its bonus amplified to 1.5x.

- Escort Package gets its bonus amplified to 1.5x.

1.1 - GitHub release

- Oopsy fixed a CTD bug!

- Built-in Hullmods now incur their respective S-Mod Bonus.

- Adjusted description that you don't need to memorize what S-Mod Bonus it has without S-Modding!

- Accelerated Shields S-mod Modifier increased: 1.50x -> 2.00x.

- Advanced Optics now has an S-Mod Bonus: +5% Beam Damage.

- Advanced Turret Gyro S-mod Modifier increased: 1.00x -> 2.66x.

- Automated Repair Unit S-mod Modifier increased: 1.50x -> 1.60x.

- Blast Door S-mod Modifier Reduced Crew Casualties increased: 1.00x -> 1.50x

- ECCM Package now has an S-Mod Bonus: Part of a bonus can now be applied to fighters and bombers with missiles.

- Efficiency Overhaul now has an S-Mod Bonus: +10% Max CR.

- Expanded Deck Crews now has an S-mod Bonus: 1.5x modifier

- Extended Shields S-mod Modifier increased: 1.50x -> 1.75x.

- Built-in Heavy Armor do not suffer from smod penalties.

- Heavy Armor's armor penalty when smodded increased: 150/300/400/500 -> 125/250/325/400.

- Heavy Armor's additional manueverability penalty when smodded removed. DONE

- Hardened Shields no longer has an S-Mod Bonus and Penalty.

- Flux Distributor now has an S-Mod Bonus: Reduces flux cost from weapons by -4%. DONE

- Fixed Unstable Injector Bug

1.0 - release