Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Race Reputation Problem

A topic by WolfLynd created Nov 05, 2019 Views: 387 Replies: 1
Viewing posts 1 to 2

Hey so I just installed Arics Expansion Rebred and changed in the mainmenu.gd  elif player.race.find("Halfkin"):   to    elif player.race.find("Halfkin") >= 0:

to fix the halfkin reputation error because otherwise I would get +30 to wimborn instead of getting +15 to all of it, but it for some reason didn't do anyting instead even the demon race doesn't get the negative reputation what could be the problem?

(1 edit)

First, it is generally best to either mention Arics Expansion in the title or add this to his thread, as the author will be the most knowledgeable of issues cause by the mod and may not have time to search all the threads.  As I believe this case to be barely related to the mod, it is fine.

Second, if you changed the file after a backup was made, but before the mod was applied, then the changes would be erased when the file was replaced with the backup.

Third: using "globals.state.reputation.values()" is an error from vanilla that I had missed, as ".values()" creates an array containing duplicates of the values (dictionary structure is "key : value").  Thus the changes to reputations have no effect on the original array.

The basic resolution would be to use:

        for i in globals.state.reputation:
            globals.state.reputation[i] -= 10