The section ai/admiral/ignore is currently the only one, wherein areas are identified not by a province id contained within them but by their name from file db/Province.csv .
This is an inconsistency which I would like to fix and obviously there are two ways to go about it:
------
Now, I am a modder myself (even if nowadays I typically rather invest my free time into improving the hard code) and from my point of view, referring to areas by name is a useless feature:
A modder seeking to add to an area block or to change an area in a trigger condition would have to look up the desired area's name from in-game or via province in Province.csv . In the former case, manual transscription is necessary, in the latter case the "showid" console command can provide the province id - which is always shorter - before one can use that id to find the area name in Province.csv and copy&paste it.
Thus, addressing areas by province id seems to always be faster for modification and therefore I would deem 2. unnecessary. But of course, modders will have to adapt the affected section of their ai files once.
Would be nice to get a few opinions on this.
This is an inconsistency which I would like to fix and obviously there are two ways to go about it:
- make this block use province ids like the rest
- do 1. but also allow areas to be optionally be referred to by name everywhere
------
Now, I am a modder myself (even if nowadays I typically rather invest my free time into improving the hard code) and from my point of view, referring to areas by name is a useless feature:
A modder seeking to add to an area block or to change an area in a trigger condition would have to look up the desired area's name from in-game or via province in Province.csv . In the former case, manual transscription is necessary, in the latter case the "showid" console command can provide the province id - which is always shorter - before one can use that id to find the area name in Province.csv and copy&paste it.
Thus, addressing areas by province id seems to always be faster for modification and therefore I would deem 2. unnecessary. But of course, modders will have to adapt the affected section of their ai files once.
Would be nice to get a few opinions on this.