Problem solved, it seems... After some tests, the "generate_stock" was broken because of this part :
The added lines broke it, I don't know why :
After removing them it works correctly...
Code:
!Makes it harder to train in both gladiatrix and pet or pony since they use opposing skills - crushboss
if stock["gladiatrix"] > 2: stock["pet"] = 0 & stock["dressage"] = 0
if stock["pet"] > 2 or stock["dressage"] > 2: stock["gladiatrix"] = 0
if stock["gladiatrix_affinity"] = 1: stock["pet_affinity"] = 0 & stock["dressage_affinity"] = 0 & stock["cowSK_affinity"] = 0
if stock["pet_affinity"] = 1 or stock["dressage_affinity"] = 1: stock["gladiatrix_affinity"] = 0
Code:
!Makes it harder to train in both gladiatrix and pet or pony since they use opposing skills - crushboss
if stock["gladiatrix"] > 2: stock["pet"] = 0 & stock["dressage"] = 0 & stock["cow"] = 0
if stock["pet"] > 2 or stock["dressage"] > 2 or stock ["cow"] > 2: stock["gladiatrix"] = 0
if stock["gladiatrix_affinity"] = 1: stock["pet_affinity"] = 0 & stock["dressage_affinity"] = 0 & stock["cow_affinity"] = 0
if stock["pet_affinity"] = 1 or stock["dressage_affinity"] or stock["cow_affinity"] = 1: stock["gladiatrix_affinity"] = 0