Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I imagine you've already done a lot of debug on the hybrids already, but here goes.  I'm having trouble getting taurus blood to result in the endurance stat boost it should produce.  See pic of new offspring (father was taurus).  It doesn't seem to matter if Taurus father is PC or NPC (I tried with other offspring and none got the stat boost).  I can try with a Taurus mother too if that helps.


That is fascinating. The only race that you're seeing that issue with is Taurus? I checked the code and can't see anything obvious that would indicate why that bonus isn't applying. It appears the values for the combination of the other races are working fine for that person. Out of curiosity, can you add a point to endurance and see if that triggers it to update and show the +1?

I'll give it a try.  I have noticed that catches things up with the mental bonuses (Charm, etc.).

Ok, I tested some more.  Adding endurance didn't help jog things along; just maxed out with no bonus.  It's not just taurus, see examples below.

I did monkey with this code (lost the tabs only just now in the copy/paste to below), could that have messed it up?  I was trying to make it so sometimes mom or dad had more weighting in their offspring.  

[constructor.gd]
func build_genealogy(person, mother, father):
var percent = 0
var parentgenechance = rand_range(0,100)

for race in genealogies:
if parentgenechance >= 75:
person.genealogy[race] = round((mother.genealogy[race] * .4) + (father.genealogy[race] * .6))
if parentgenechance <= 25:
person.genealogy[race] = round((mother.genealogy[race] * .6) + (father.genealogy[race] * .4))
else:
person.genealogy[race] = round((mother.genealogy[race] + father.genealogy[race]) * .5)
percent += person.genealogy[race]

I also played with the stat bonuses themselves but only subtle changes (eg. .6 instead of .4 on existing stat bonus magnitudes only).  I'm doing all of this with pregnancy accelerated to 3 days btw.


One other observed bug in my playthru was an occasional offspring sex mismatch in naming (wrong sex name) and See Relatives description vs Inspect description / popup description on offspring.  The inspect screen / popup descriptions were aligned with behavior in sex/meet interactions.  I'm suspicious that the mismatch occurs as some character traits are set for the offspring during pregnancy and others at birth, but I haven't looked through the code to find out if I'm right.