Originally posted by J Bytheway
Can't you just remove the advance from all the players who have it?
Can't you just remove the advance from all the players who have it?



Code:
HandleEvent(CreateImprovement) 'RemoveSubNeralAds' post { if (HasAdvance(player[0], ID_ADVANCE_SUBNEURAL_ADS)) { RemoveAdvance(player[0], AdvanceDB(ADVANCE_SUBNEURAL_ADS)); } }
Prevent the building of regular improvements over the wonders. I tried this code:
Code:
HandleEvent(CreateImprovement) 'DontLetPlaceImpsOverCities' pre { // Does not work :( if(TileHasWonder(location[0]) == 1 // only works for slic placements || TileHasCity (location[0]) == 1) { return STOP; } }

The best solution i came up to was to dont try to stop the placement but preventing the exclusion of the Imp: All wonders and cities Imps are OceanATM and none of the regular imps can exclude this type of TI. Wich means we have to place the port in another place (suggestion: OceanMine). Bad solution yet a solution.
Leave a comment: