IIITotal Conquest

Aqueduct for mod makers

Districts

data\rtwr_slots.txt

Reload with rtwr_slots reload. Each town has a few districts by size. District buildings need a free one, then follow the town's size by themselves. Other buildings appear by chance. The AI follows the same rules.

rtwr_slots.txt
slots 1 1 2 2 3 3
max 4
slots_add 1 text "A great city" when settlement Rome
chain district_trade
placeholder empty_district_1 empty_district_2
grow district_trade trade_quarter trade_quarter trade_district trade_district trade_city trade_city
spawn market chance 0.8 without 0.08 district district_trade when settlement_min town
limit_without 1
LineDoes
slots <village> <town> <large_town> <city> <large_city> <huge_city>districts by size
chain <chain>...buildings that take a district
count <chain>...take one, but a script builds them
placeholder <chain>...the empty-district buildings, up to 8
grow <chain> <level by size>... [factions ...] [when ...]the level at each size; - leaves it; the first matching line decides
spawn <chain> chance <p> [without <p>] [district ...] [factions ...] [when ...]a chance each turn
supplied <upkeep> <hidden resource>set while an rtwr_needs.txt upkeep is paid

Each chain needs a hidden resource slot_<chain> in descr_sm_resources.txt, required by its first level:

export_descr_buildings.txt
trader requires factions { romans_julii, } and hidden_resource slot_district_trade

Conditions: districts_free > 0. An event can force one: console_command rtwr_spawn local market.