[mod request] lower chances or remove berserk

Started by rambo, June 15, 2017, 06:26:42 AM

Previous topic - Next topic

delheit

I looked around at the files but I'm not sure how to do this. However I would recommend the more mental breaks mod here If you haven't heard of it. It lowers the chances of berserk and adds some other mental interesting breaks. But if you only want berserk lowered maybe  the author of more mental breaks can tell us how to.

If this is all old news to you sorry, just trying to be helpful.

Thirite

Put this in a Patches folder within a mod folder and you're good to go.

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
  <Operation Class="PatchOperationReplace">
    <xpath>/MentalBreakDef/MentalBreakDef[defName = "Berserk"]/baseCommonality</xpath>
    <value>0.5</value> <!-- or whatever you want. Base is 1.5 -->
  </Operation>

</Patch>

rambo

Thanks russian cat soldier thing but does it remove it or lowers the chance ?

rambo

Quote from: delheit on June 15, 2017, 07:11:14 AM
I looked around at the files but I'm not sure how to do this. However I would recommend the more mental breaks mod here If you haven't heard of it. It lowers the chances of berserk and adds some other mental interesting breaks. But if you only want berserk lowered maybe  the author of more mental breaks can tell us how to.

If this is all old news to you sorry, just trying to be helpful.
Thanks ill be using it

delheit

Quote from: Thirite on June 15, 2017, 07:30:30 AM
Put this in a Patches folder within a mod folder and you're good to go.

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
  <Operation Class="PatchOperationReplace">
    <xpath>/MentalBreakDef/MentalBreakDef[defName = "Berserk"]/baseCommonality</xpath>
    <value>0.5</value> <!-- or whatever you want. Base is 1.5 -->
  </Operation>

</Patch>


Awesome thanks Thirite

Thirite

Quote from: rambo on June 15, 2017, 01:09:08 PM
Thanks russian cat soldier thing but does it remove it or lowers the chance ?
It lowers the chances of it happening to a third- if you wanted to make it never happen just change the value from 0.5 to 0.