With that fig spawn after retaking land by rome will be problem, because sql qon't wait for that to happen and upgrade placeholder to plantation even if it will be not on roman territory. There will be then no event to check (we would need to scan every roman tile for plantation without a resource).
In regard to what happens if a 10-turn fig placeholder is captured/stolen, I don't care. It's an edge case which matters very little to anyone, and will in no way affect strategy unless it somehow becomes open for abuse.
It could not upgrade unless on Roman terrain, but then you have to decide what happens if it flips BACK to Roman.
- The 10 turn count restarts (complicated)
- It picks up where it left off with its turn count (as long as it has existed in Roman territory for 10 turns it will upgrade)
- the Fig placeholder is immediately removed when Rome loses the territory. No figs for you, under any condition.
Or, it could upgrade after 10 turns regardless of who owns it and where it is.
I think any of those three options is just find-and-dandy, we just need to say which one it is. I think that whatever is easiest to code is probably the best.
You wanted to make it so Fig doesn't spawn if the latifundium has been taken. I'm trying to resolve how that might work, but honestly I think making a mechanic that depends on tile ownership is causing way more problems than it fixes. I think that just going for a straight 10 turn timer, the placeholder upgrades to a plantation and doesn't give a rip where it is or who owns it is looking like the elegant solution.
Edit: or no timer at all! and have the plantation and figs spawn immediately on completion of a long and arduous 15-20 turn construction time on a latifundium.
We backed away from the long build time suggestion because it seemed unnecessary when we all agreed that fig spawning should have a delay. If the Fig spawning happens immediately then I think a long build time for latifundia is perfectly appropriate. It is analogous to a single worker building 2 hexes of improvements instead of 1.
These are all fine suggestions.