I'm working on a mod that makes some changes to terrain, and one thing I'd like to do is make peaks passable - but only when a road has been built. I think this would require:
a) making peaks initially passable to workers, but no other units, then
b) making them passable again once roads have been built
If that's possible, one could make things even fancier by requiring a certain tech level before workers could enter peaks, and possibly giving some units (a la Civ 2 Alpine troops) the ability to enter even non-roaded peaks.
Has this or something similar been done (I searched but found no evidence)? If not, could it be done in XML? If python would be needed, do you think the mod could be made without significant overhead?
a) making peaks initially passable to workers, but no other units, then
b) making them passable again once roads have been built
If that's possible, one could make things even fancier by requiring a certain tech level before workers could enter peaks, and possibly giving some units (a la Civ 2 Alpine troops) the ability to enter even non-roaded peaks.
Has this or something similar been done (I searched but found no evidence)? If not, could it be done in XML? If python would be needed, do you think the mod could be made without significant overhead?