Ludeon Forums

RimWorld => Mods => Help => Topic started by: Pandora on August 23, 2015, 11:35:49 AM

Title: Incidents
Post by: Pandora on August 23, 2015, 11:35:49 AM
I've created a trading mod, which adds 12 new traders. However, their frequency is high. This often means that there are more custom traders than vanilla traders. Is there a way to reduce this? I've noticed that in the IncidentDef, there is <chance>, would creating a new IncidentDef and increasing the chance, mean that a) more traders arrive or b)more custom traders arrive? Also, would a new IncidentDef require a .dll?
Title: Re: Incidents
Post by: Orion on October 02, 2015, 01:51:56 PM
A higher chance will make more traders arrive. What you want to change / add is     
<minRefireDays>360</minRefireDays>

This is the amount of days before it may happen again (in this example, one three years).

You don't need a dll to add a new IncidentDef.
Title: Re: Incidents
Post by: SlimeCrusher on October 02, 2015, 02:00:08 PM
Actually that's about 3 years, a year ingame is only 120 days (12 months per year, 10 days each).
Title: Re: Incidents
Post by: Orion on October 02, 2015, 02:01:13 PM
Ah, I didn't know. Thanks for the correction!