Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Halfkin Race Reputation Bonus

A topic by terminusz created 50 days ago Views: 154 Replies: 3
Viewing posts 1 to 3

So I already had a topic with this problem but now with Ank's Bug Fix I don't actually know how to fix that it doesnt give me the +15 for the cities.

Here is the part of the mainmenu.gd that contains the code for that:

###---Added by Expansion---### Ank BugFix v4
elif player.race.find("Halfkin"):
for i in globals.state.reputation:
globals.state.reputation[i] += 15
###---End Expansion---###
else:
globals.state.reputation.wimborn += 30


So I don't know if the 'else' part is for there for a reason or just accidentally left it there although even if I remove it just doesn't give me the +30  for Wimborn anymore  so how to fix this to give me the +15?

Okay found the fix for it., It should be :

###---Added by Expansion---### Ank BugFix v4
elif player.race.find("Halfkin") >= 0:
for i in globals.state.reputation:
globals.state.reputation[i] += 15
###---End Expansion---###

On an unrelated note what language is this game use because I would love to get more into it (at first glance it looks like javascript  but I'm not sure since I'm not really into programming yet.)

It uses gdscript, which is very similar to Python. That's actually a change from within my code, I'll make the fix for AricExpansion v.0.9.4