I didn’t rewrite that entire portion but did heavily modify it. There are two separate locations that have to be changed to alter the cost. What are you trying to make that cost?
Viewing post in Aric's Expansion Rebred
Breeder - of course, plays as normal
Commander - extra xp and learning points for slaves; however slaves cost more
Lab Master - Free Lab; more modification = higher selling price; slaves faster disobedience
Cultist - can create slaves (cost a lot of mana)
As well as modifications to existing classes
It just seems the vanilla Mansion.gd is a house of glass.