IIITotal Conquest

Aqueduct for mod makers

Engine fixes

These need no setup. Each can be switched off, see Settings.

What you may now rely on

BeforeNowExample
add_soldiers used the wrong maximum and corrupted memoryit uses the unit's full sizeadd_soldiers this 50 max all 0 0
create_unit couldn't start a fleetmakes ships at the settlement's portcreate_unit Arretium "naval triremes" 3
upgrade_building could make duplicatessets the level, no duplicateupgrade_building Rome forum
destroy_building with a ship queued crashedworksdestroy_building "local" port
Only 255 building chains could be orderedany number
Build costs were cut at 65,535whole; for all uses see belowcost 100000
not I_CompareCounter did nothingnegates, if you switch it onScript conditions and counters
Map object sounds never matchedthe stratmap sound file worksdescr_soundbank_stratmap_object.txt

For building costs above 65,535 everywhere (lists, refunds, repairs), not just orders:

aqueduct.ini
[building_costs]
enabled=1

add_soldiers takes percentages: <settlement|character> <percent> <max|current> <unit|all> <how_many> <sort>. With a unit type, give a number before the sort: "roman hastati" 1 random.

Limits lifted

LimitNow
255 counter labels on a settlement broke the saveloads
65,536 objects in a save never finished loadingset [object_table] mode=on
An AI under 7 regions couldn't invade AI superfaction membersit can
An AI army walked even when sailing was fasterit sails
Superfaction members couldn't demand protectoratesthey can
Only one gathering attack per faction marchedall march

Crashes and freezes fixed

Your script doesn't need to work around any of these any more.