Ankmairdor
Member
- May 1, 2019
- 275
- 156
- 219
The random events only choose a slave from the mansion to be the center of the event, however there is a bug that allows prior slaves to be the secondary slave in events as no filter was added to exclude such persons. That prior slave is selected using the central slave's "relations" list (different from "relativesdata"). Thus there are three ways to fix the issue:does anyone play with aric's mod, I need help with a slave not part of my mansion but I get their random events its so annoying, any quick way to solve it through save file or some mod script?
I'm used to changing or removing relationships through save file but never occupation or anything mansion related
1. Capture or kill the prior slave, which is wandering somewhere in the map, probably near where it was released.
2. Edit the save file to delete the relation between all mansion slaves and that prior slave by using their name to find their id.
3. Add a filter so that slaves must be in the mansion to be included in events.
To add the filter, open the text file ".../files/scripts/dailyevents.gd" in the Strive program folder and find the line:
Code:
if tempslave == null || tempslave.away.duration != 0 || tempslave.sleep in ['jail','farm']:
Code:
if tempslave == null || !globals.slaves.has(tempslave) || tempslave.away.duration != 0 || tempslave.sleep in ['jail','farm']: