Random commander & province name functionality appears to be working well.
Now toying with some rough tool scripting support. Nothing fancy, but here are some sample scripts:
Code:
=====================================
Sample script: "MarkNoStartTool.mfs"
# Mark all provinces nostart
:TOOL
Mark all NoStart
:SELECT ALL PROVINCES
:THEN
nostart = TRUE
=====================================
Sample script: "NoIndependentsTool.mfs"
# Make NI map (No Independents)
:TOOL
Make NI Map
:SELECT ALL PROVINCES
:THEN
poptype = 99
=====================================
Sample script: "MuddySeasTool.mfs"
# Make seas unattractive
:TOOL
Muddy Seas
:SELECT PROVINCES WHERE
tsea = TRUE
:THEN
#kill is equiv to #land (clears province)
kill = TRUE
poptype = 99
population = 0
The above scripts will likely come with MF. The following sample just gives a broader picture of what should be possible:
Code:
=====================================
Sample script: "SampleTool.mfs"
#sample script...
#comment line is ignored
:TOOL
Sample Tool
:SELECT PROVINCES WHERE
tplain = TRUE
nostart = FALSE
:THEN
#province data modified
knownfeature = 268
temple = TRUE
lab = TRUE
nostart = TRUE
:SELECT PROVINCES WHERE
tforest = TRUE
:THEN
#commander added to province
comtype = 521
comname = "Bob"
bodyguard = 433
bodyguardcount = 12
item = "Thunder Whip"
Still a work in progress, but the idea is for you to be able to write your own simple tools and have them appear in a menu within Map Forge. Additional language elements may appear depending upon time and ease of implementation. I hope to be able to add simple functions for random selections. For example: 10-12 bodyguards, commander type 521,262,333 etc.
Thoughts?