I think the only way to detect the location of a fleet would be to have something checking whether the admiral is near a certain tile, for every naval port. There's not a "FleetIsDocked" condition, that I'm aware of.
Something like this (sorry for the scripting pseudocode, I'm not well-informed in this area):
Code:
for every possible port location for every single faction (probably only a few hundred checks):
Condition I_CharacterTypeNearTile romans_julii admiral, 1, x, y
add_money romans_julii 1000
Bookmarks