- Nov 23, 2017
- 56
- 22
So it's a hack, but there's an issue with some of the serums that try to call hair_colour_change_on_turn if you're playing the Beta.
The original code was just:
I changed it to
Without that change was getting divide float by zero errors sometimes. Attaching my _serum_traits_ren.py file in a rar which you can just unzip it into the game\major_game_classes\serum_related\serums and replace the existing if anyone else runs into the same problem I did.
The original code was just:
Code:
change_per_turn = 1.0 / (serum.duration - 1)
Code:
if (serum.duration == 1):
serum.duration = 2;
change_per_turn = 1.0 / (serum.duration - 1)