Enemy Self Preservation

Mod, 1.1, 1.2, 1.3, 1.4


BE AWARE THAT THIS MOD WILL DECREASE COMBAT DIFFICULTY SIGNIFICANTLY.

Humanoid enemies are no longer suicidal and will flee from combat when they are in a significant amount of pain.

It is designed to be used with my other mod Faction Raid Cooldown, but can be used standalone.

Also I highly recommend using No One Left Behind as well.


MechanicsBy default the base pai...

Author: Murmur

Created: 24 Feb, 2020 @ 1:57pm

Updated: 7 Oct, 2022 @ 10:04pm

Subscribers: 40117


Size (unpacked) : 0.292 MB

BE AWARE THAT THIS MOD WILL DECREASE COMBAT DIFFICULTY SIGNIFICANTLY.

Humanoid enemies are no longer suicidal and will flee from combat when they are in a significant amount of pain.

It is designed to be used with my other mod Faction Raid Cooldown, but can be used standalone.

Also I highly recommend using No One Left Behind as well.


Mechanics
By default the base pain level = 25%, but you can set this to whatever you want in the mod settings menu.

A regular humanoid will flee if their pain exceeds the pain level.
A humanoid with the 'Wimp' trait will flee when they receive any injury.

If over half the raid is fleeing/has fled, the rest of the raid will flee.

Your colonists, animals and mechanoids are not affected.


Compatibility
Uses harmony for maximum compatibility but I've added some stuff to the 'pawn damaged' code so if you run into any weird issues try moving this mod around in your mod load order.


Feeling generous?
[ko-fi.com]

How do I download and install mods?

Simply click the blue button above. It will open the file hosting page with the mod repacked by us from the official source.

How do I install this mod?

See the 'How to install' tab.

Is this mod safe to use?

The mods are repacked as is, without any additional software, malware, or bloatware added. To check for viruses, use a reliable antivirus or upload the archive to a website like virustotal.com. Anyway, It's always a good practice to keep backups of your saves in case of mod incompatibility .

There is a folder in the .zip archive. To install the mod, move the entire folder (not just its contents) into 'Mods' folder located under your RimWorld root isntallation folder.
So, for steam version of the game, the path would look like this: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
For any other distribution, firstly locate your rimworld installation path and then unpack the archive into the 'Mods' folder.
Then enable the mod in the game mods menu by double clicking on its name and restart the game