Hi, I've been playing around with the modding tools for a bit and have been able to get some changes working in game. When playing around with legacy traits, it seems very simply to change specific values, and doable to create new bonuses that apply to cities or units broadly.
I'm wondering if it's possible to create a legacy trait that adds new adjacency bonuses to certain structures, like +3 food per adjacent building on administration center (a bonus applied to one building that selects all adjacent buildings) or +5 stability per adjacent garrison on garrison (a bonus applies to one building that selects only specific adjacent buildings)
If anyone knows how to do this, or if anyone has compiled more detailed information on how to do certain things with the editor, I would appreciate the help.
Report comment
Why do you report coolgrandma1962?
Are you sure you want to block coolgrandma1962 ?
BlockCancel
Are you sure you want to unblock coolgrandma1962 ?
There's a database table in I believe the settlements collection or one of the related ones that has records for various district bonuses, including adjacency bonuses from various legacy traits. I've yet to figure out how to create a new entry but I know it's possible. You should just be avmble to create the bonus (might be easier to duplicate an existing one and change the name and numerical values) and link the two.
As far as specifically how, I'll check back later and can describe it when I'm sitting in front of them if you haven't figured it out and nobody else has told you yet.
This is untested but I'll shoot you in the right direction.
A working example is the 1st food infrastructure (the horses one, not the jobs one) gives +1 food, +1 adjacency, theses are split into 2 different effects which can be found in database/settlement/constructibleinfrastructuredescriptor ; ...foodfamily01_01 , ...foodfamily01_synergy01
From these I was able to sort of set the harapan trait to +1 adjacentcy for all districts, so long as the validation applies. This is very much incomplete and untested but it should be useful.
This is untested but I'll shoot you in the right direction.
A working example is the 1st food infrastructure (the horses one, not the jobs one) gives +1 food, +1 adjacency, theses are split into 2 different effects which can be found in database/settlement/constructibleinfrastructuredescriptor ; ...foodfamily01_01 , ...foodfamily01_synergy01
From these I was able to sort of set the harapan trait to +1 adjacentcy for all districts, so long as the validation applies. This is very much incomplete and untested but it should be useful.
Thank you, I've been able to play around with this and I have gotten adjacency to work. However, I've only figured out how to have the adjacency applied to all districts (settlement?). I don't know how to have it apply only to to a particular type of building. Is there some kind of tool for selecting district type within validations?
Report comment
Why do you report coolgrandma1962?
Are you sure you want to block coolgrandma1962 ?
BlockCancel
Are you sure you want to unblock coolgrandma1962 ?
coolgrandma1962
Newcomer
coolgrandma1962
Newcomer
1 000g2g ptsReport comment
Why do you report coolgrandma1962?
Are you sure you want to block coolgrandma1962 ?
BlockCancelAre you sure you want to unblock coolgrandma1962 ?
UnblockCancelthethejeff
Newcomer
thethejeff
Newcomer
3 500g2g ptsReport comment
Why do you report thethejeff?
Are you sure you want to block thethejeff ?
BlockCancelAre you sure you want to unblock thethejeff ?
UnblockCancelitcouldbeaboat
Fresh
itcouldbeaboat
Fresh
21 400g2g ptsReport comment
Why do you report itcouldbeaboat?
Are you sure you want to block itcouldbeaboat ?
BlockCancelAre you sure you want to unblock itcouldbeaboat ?
UnblockCancelcoolgrandma1962
Newcomer
coolgrandma1962
Newcomer
1 000g2g ptsReport comment
Why do you report coolgrandma1962?
Are you sure you want to block coolgrandma1962 ?
BlockCancelAre you sure you want to unblock coolgrandma1962 ?
UnblockCancelBaroqueLinguist
Addict
BaroqueLinguist
Addict
6 100g2g ptsReport comment
Why do you report BaroqueLinguist?
Are you sure you want to block BaroqueLinguist ?
BlockCancelAre you sure you want to unblock BaroqueLinguist ?
UnblockCancel