Survivalist: Invisible Strain

Survivalist: Invisible Strain

55 ratings
SIS Auto Gear Up
   
Award
Favorite
Favorited
Unfavorite
Tags: IsMod
File Size
Posted
Updated
951.287 KB
4 Jun, 2024 @ 4:06am
22 Jul, 2024 @ 8:49am
3 Change Notes ( view )

Subscribe to download
SIS Auto Gear Up

Description
Change Notes
  • Fixed crash after newest update.

What is this?
This mod will make characters automatically gear up weapons and clothing when they pickup items, or when items are removed from their inventory. It can affect the player, the player community, and the NPCs. There's different settings to control how the characters will gear up.

When gearing up their weapons, characters will choose the weapon with the highest damage and the longest range. And when gearing up their clothing they will choose the clothing with the most insulation or least dampness. For gearing up their armor, they will choose the one with the most protection.

By the default behaviour, only the player (or players in coop) and the community members will automatically gear up. They will gear up their melee weapons and their clothing, but not ammo weapons.

Settings
The settings file can be found inside the mods folder under "Settings_AutoGearUp.xml".
  • EnabledForPlayer. Whether gearing up is active for the player. (default true)
  • EnabledForPlayerCommunity. Whether gearing up is active for player community members. (default true)
  • EnabledForNPCs. Whether gearing up is active for NPCS (other communities, refugees, bandits). (default false)
  • EquipEnoughAmmoThreshold. The amount of ammo a character needs to have to consider an ammo weapon as valid. (default 10)
  • EquipEnoughSkillThreshold. The number of skill points needed to decide to equip a melee weapon over a ranged one and vice-versa. (default 2)
  • GearUpWeapon. Whether characters will gear up weapons. (default true)
  • GearUpMeleeWeapon. Whether characters will gear up melee weapons. (default true)
  • GearUpMeleeWeaponWhenPickedUp. Gear up when items add to inventory. (default true)
  • GearUpMeleeWeaponWhenRemoved. Gear up when items removed from inventory. (default true)
  • EquipMeleeWhenNoneEquipped. Equip picked up melee weapon if no weapon equipped. (default true)
  • EquipMeleeOverRangedWhenSkillHigher. Equip melee weapon over ranged if better HandToHand skill than firearm/archery skill. (default true)
  • EquipMeleeOverRangedWhenNoAmmo. Equip melee weapon when not enough ammo for ranged weapon in inventory. (default true)
  • GearUpAmmoWeapon. Whether characters will gear up ammo weapons. (default false)
  • GearUpRangedWeaponOnPickedUp. Gear up when picked up item. (default true)
  • GearUpRangedWeaponOnRemoved. Gear up when items removed from inventory. (default true)
  • EquipRangedWhenNoneEquipped. Equip picked up ammo weapon if no weapon equipped. (default true)
  • GearUpClothing. Whether characters will gear up their clothing (default true)
  • WearClothingWithBestInsulation. Prioritize clothing with best insulation. (default true)
  • WearClothingWithLeastDampness. Prioritize clothing with least dampness. (default true)
  • CanGearUpTopClothing. Can gear up top clothing, shirts, jackets. (default true)
  • CanGearUpBottomClothing. Can gear up pants. (default true)
  • CanGearUpHatClothing. Can gear up hats. (default true)
  • CanGearUpShoesClothing. Can gear up shoes. (default true)
  • CanGearUpGlassesClothing. Can gear up glasses. (default true)
  • GearUpArmor. Whether characters will gear up their armor. (default true)

Compatibility
Shouldn't have any incompatibilities. Report any issues in the comments section!

Credits
Erikem, Luo2430, and Bob!
14 Comments
A Tutorial Boss 29 May @ 7:42am 
Is this working on current beta branch?
Wish Granter 2 Mar @ 6:03am 
Hey there, I dont know where else to ask this, but may you consider/ does it work to make a mod that forces inventory resets on traders after max level? Its absurdely annoying constantely having to buy all the tents and pickaxes off them to clear their inventory, and you can barely ever resell that stuff wasting hundreds of gold.
Billy O'Brian 23 Sep, 2024 @ 8:43am 
Thank you. It worked. :)
SweetCaptn  [author] 23 Sep, 2024 @ 7:58am 
Run the mod once, it will auto generate it for you.
Billy O'Brian 23 Sep, 2024 @ 7:55am 
There is no "settings_AutogGearUp.xml" file in the mod folder..
Wish Granter 22 Jul, 2024 @ 9:19am 
I try it later on. Thank you!
SweetCaptn  [author] 22 Jul, 2024 @ 8:51am 
Should be fixed now!
Wish Granter 20 Jul, 2024 @ 3:00pm 
Thank you.
May I ask if this mod is safe to be added midgame?
Otherwise I just wait and play something else till monday.
SweetCaptn  [author] 20 Jul, 2024 @ 2:51pm 
Ah! thank you for the in-depth reports, I'll upload the fix on Monday
Wish Granter 20 Jul, 2024 @ 1:13pm 
Did some further testing and can confirm its indeed the new publicbeta branch.
When switching between the stable 209 and beta 210 it immidantely crashes with the error.
Switching back it works again.

I assume the new AI logic of community members fleeing when not having ranged weapons collides with your your logic path of equipping/ using preferred weapon types.