Radial Measuring Tool Mod?

kalgarath

Chieftain
Joined
Feb 20, 2025
Messages
1
Hey All, with the AI being super aggressive with settling in MY area I was looking for a mod like the Radial Measuring Tool mod by Zer13 for Civ6. It is a nifty overlay that allows you to see what tiles a city would occupy, and calculated yields too. I found it so very helpful, especially when you were trying to place cities in heavy mountain areas or in island chains. Would really love to see something like this for Civ7...
 
Should be possible, I can give you some stuff I found to get you started.

JavaScript:
plots = city.Growth?.getGrowthDomain(false); //The function takes a boolean (T/F) and returns the plots available to expand to if true otherwise it gives all workable plots if false. (All workable plots means all tiles a city would occupy) [This is just an array of plot locations.]
city?.Yields?.calculateAllBuildingsPlacements(); //This will give you an object you are going to want the changeDetails element to calculate the changes.

import YieldsLensLayer from '/base-standard/ui/lenses/layer/yields-layer.js';
class YOUR_CLASS extends YieldsLensLayer { ... } //Extend yields-layer to get the updated yield info (after disasters or other events).
 
Back
Top Bottom