I don't know what I did wrong, I've been struggling with this for a while now. I think the problem may be in the building_upgrades_junction table, but I don't know what I've done wrong. I've come to this conclusion after fiddling around with a working mod's (the Sekigahara campaign) building_upgrades_junction table, simply making a few changes caused a ctd when i tried to make the Osaka and Odawara castle chains build-able from the other vanilla castle chain.
Use this as a template. I created a completely new building called Nanban Trade Port Buddhist. This mod allows Buddhist clans to now build trade ports from the get go, instead of waiting for the event. You'll noticed I also copied the original Nanban Trade Port encyclopedia file and renamed it to Nanban Trade Port Buddhist so that the new building has an encyclopedia entry. Match up your columns with mine and see if there's something missing.
Don't ask me now to create encyclopedias though, lol.
Last edited by Bad213Boy; March 10, 2013 at 08:58 AM.