I'm trying to give a city-state I've made a suzerain bonus of +1 Production and +1 Food from fishing boats, and an additional +1 Food if adjacent to ocean to those same fishing boats, however something doesn't seem to work, and having worked on this thing for hours my brain just can't take it anymore
The city-state is Tórshavn, and it's suzerain description is not up to date. Relevant code can be found in Zob_Sweden_CS_Defines.sql of the linked mod
EDIT: Looks like the file didn't upload, will link from google drive
EDIT2: Here's the download
EDIT3: Seems that in the Requirements table, "adjacent to ocean" was accidentally set to "tile is ocean", should be
However this change didn't have an effect on the bonus so this isn't the only fix needed, but I can't seem to find it
EDIT4: Oh boy, turns out all I needed was a good night's sleep. I had accidentally written "YieltType" instead of "YieldType"... no wonder it didn't work (works now)
The city-state is Tórshavn, and it's suzerain description is not up to date. Relevant code can be found in Zob_Sweden_CS_Defines.sql of the linked mod
EDIT: Looks like the file didn't upload, will link from google drive
EDIT2: Here's the download
EDIT3: Seems that in the Requirements table, "adjacent to ocean" was accidentally set to "tile is ocean", should be
Code:
('REQUIRES_ADJACENT_PLOT_HAS_ZOB_OCEAN', 'REQUIREMENT_PLOT_ADJACENT_TERRAIN_TYPE_MATCHES')
EDIT4: Oh boy, turns out all I needed was a good night's sleep. I had accidentally written "YieltType" instead of "YieldType"... no wonder it didn't work (works now)
Last edited: