- Sep 24, 2017
- 280
- 1,126
thank you for the kind helpThe 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:
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:
Replace it with the line(preserving the leading tabs):Code:if tempslave == null || tempslave.away.duration != 0 || tempslave.sleep in ['jail','farm']:
Save the file and in theory the issue should be resolved. This fix is temporary as any time you press Apply in the Mods menu it will be erased.Code:if tempslave == null || !globals.slaves.has(tempslave) || tempslave.away.duration != 0 || tempslave.sleep in ['jail','farm']:
two other bugs I hope someone could help with (they also appeared only after installing the mod):
1. leveling a slave through elevating their grade doesn't work, the elevating works fine but the leveling doesn't happen (all 3 auto-saves got corrupted, and had to reload from a very old save).
2. setting the game to only generates males or females doesn't work on people rescued from bandits, it only works on bandits, I would appreciate if I can change that.