Units and armies Buildings Characters Counters and the log Messages Money, cultures, provinces Empire resources Trade resources Script UI, decisions, cards Villages, towns, districts Peoples AI and the Crown For tests
Type these in the console, or use console_command in a script:
campaign script console_command rtwr_money romans_julii 5000
<a|b> means one or the other, and [x] is optional. In a script, local or local_settlement means the event's settlement or character. this means the one selected. Counters must be declared first. A refused command answers with an err: line.
Units and armies
Command Example Does create_unitcreate_unit Arretium "naval triremes" 3now also makes a fleet at a settlement's port create_unit_outsidecreate_unit_outside Rome "roman hastati" 30units on free tiles outside, in armies of 20 create_army_atcreate_army_at romans_julii 100 120 "roman hastati" 5an army with a captain near x,y create_navy_atcreate_navy_at romans_julii 90 80 "naval triremes" 3a fleet near x,y create_navy_forcreate_navy_for "Flavius Julius" "naval triremes" 3a fleet for an admiral at sea with none rtwr_army_beginrtwr_army_begin Romeuntil rtwr_army_end, create_unit_outside makes one new army rtwr_army_endrtwr_army_endrtwr_remove_unitsrtwr_remove_units romans_julii "roman hastati"removes every unit of the type rtwr_garrison_unitsrtwr_garrison_units Rome my_counterunits in the garrison, to a counter rtwr_faction_unitsrtwr_faction_units romans_julii my_counter landthe faction's units: land, ships, all rtwr_armies_nearrtwr_armies_near 100 120 5 my_counter romans_juliiarmies within a radius ai_army_targetai_army_target "Flavius Julius" Capuaan AI general marches there each turn; none ends it
Buildings
Command Example Does upgrade_buildingupgrade_building Rome forumsets the chain to that level, no duplicate rtwr_orderrtwr_order Rome trader 500builds it, or refunds the owner if it's there rtwr_upgrade_firstrtwr_upgrade_first Rome 500 trader marketthe first from level found becomes its to, else a refund
Characters
Command Example Does remove_ancillaryremove_ancillary local drunken_uncletakes an ancillary, its effects too rtwr_spousesrtwr_spouses fixchecks spouse and father links; fix clears bad ones rtwr_deedsrtwr_deeds listthe family's deeds to the log
Counters and the log
Command Example Does rtwr_versionrtwr_version my_counterthis DLL's version, 2.40 = 240 rtwr_logrtwr_log turn {my_counter}a line in aqueduct.log, with counter values rtwr_dump_countersrtwr_dump_counters my_counters with that prefix, to the log rtwr_set_counterrtwr_set_counter my_counter 5sets a declared counter rtwr_laterrtwr_later create_unit local_settlement "roman hastati"runs once the game's current step is done (for UnitTrained) rtwr_store_counterrtwr_store_counter Rome po_law_add 10stores a counter on a settlement rtwr_settlement_labelsrtwr_settlement_labels Rome my_counterhow many labels it stores rtwr_remove_labelrtwr_remove_label all my_labelremoves a stored label rtwr_prune_labelsrtwr_prune_labels allremoves labels that hold 0 rtwr_treasuryrtwr_treasury romans_julii my_countera faction's money, to a counter
Messages
rtwr_choice needs its layout in your descr_event_images.txt.
Command Example Does rtwr_promptrtwr_prompt my_answer image:messenger MY_TITLE MY_BODYyes or no: 1 or 2 rtwr_choicertwr_choice my_answer MY_TITLE MY_BODY OPT_1 OPT_2up to four options; OPT@500 is left out if unaffordable
Texts are text-file keys or "quoted". {my_counter} and {treasury} show values. ScriptPromptCallback fires on the answer.
Money, cultures, provinces
These need rtwr_economy.txt, except rtwr_money and rtwr_money_floor.
Command Example Does rtwr_moneyrtwr_money romans_julii 50000 otherany amount, booked; no 40,000 limit rtwr_money_floorrtwr_money_floor local 1000 5000tops a treasury up to a floor rtwr_culturertwr_culture Romeculture shares rtwr_culture_eventrtwr_culture_event local_settlement enslaveenslave, exterminate, occupyrtwr_culture_shiftrtwr_culture_shift Rome owner 10moves that share to a culture rtwr_province_countrtwr_province_count italia player my_counterthe faction's towns in a province rtwr_province_shiftrtwr_province_shift italia player owner 10a shift in every such town rtwr_economy_reloadrtwr_economy_reloadreads the rules again rtwr_economy_reportrtwr_economy_reportCSV of every town and faction rtwr_world_dumprtwr_world_dump world.jsonthe campaign as JSON rtwr_settlement_statsrtwr_settlement_stats Romeorder, growth, money, to the log rtwr_settlement_refreshrtwr_settlement_refresh allworks them out now
Empire resources
These need rtwr_stock.txt.
Command Example Does rtwr_stockrtwr_stock grainthe player's resources, to the log rtwr_stock_addrtwr_stock_add player grain 100adds or takes rtwr_stock_usertwr_stock_use player grain 100 my_counteronly if there's enough; counter 1 or 0 rtwr_stock_releasertwr_stock_release player elephants 1a count's units come back rtwr_stock_getrtwr_stock_get player grain my_counter neta figure, to a counter rtwr_stock_per_turnrtwr_stock_per_turn player grain 10 5 my_gifteach turn for that many turns rtwr_stock_setrtwr_stock_set Rome grain 200a town's store rtwr_stock_reloadrtwr_stock_reloadreads the file again rtwr_stock_windowrtwr_stock_window overviewthe Resources window rtwr_stock_orderrtwr_stock_order grain italia sicilia 5a standing order; 0 ends it rtwr_stock_ordersrtwr_stock_ordersthe orders, to the log rtwr_stock_marketrtwr_stock_market grain italia@romans_brutiia foreign market, to the log rtwr_stock_policyrtwr_stock_policy grain abroad botha good's trade policy rtwr_stock_regionrtwr_stock_region italiaa region's stores, to the log rtwr_recruitablertwr_recruitable Romewhat the town can recruit now
Trade resources
These need rtwr_trade.txt, or groups set by script.
Command Example Does rtwr_resourcesrtwr_resources Romegoods, groups, trade, to the log rtwr_trade_reloadrtwr_trade_reloadreads the file again rtwr_res_availablertwr_res_available Rome iron my_counterunits of a limited good it could use rtwr_res_reservertwr_res_reserve Rome iron 2 my_counterreserves them if available rtwr_res_releasertwr_res_release Rome iron allgives them back rtwr_res_orderrtwr_res_order Arretium Rome irongets a good from a source first rtwr_res_cancelrtwr_res_cancel Rome ironends it rtwr_connectedrtwr_connected Rome Capua my_counter friendly1 by land, 2 by sea, 0 not rtwr_blockadedrtwr_blockaded Rome my_counter0 free, else a sum: 1 besieged, 2 port, 4 road, 8 sea
Script UI, decisions, cards
Command Example Does rtwr_ui_reloadrtwr_ui_reloadreads rtwr_ui.txt again rtwr_ui_pagertwr_ui_page my_pageshows a page; off goes back rtwr_ui_pressrtwr_ui_press my_button Romepresses a button rtwr_ui_shownrtwr_ui_shown Rome pageswhat would show, to the log rtwr_ui_treertwr_ui_tree 3the campaign UI's elements, to the log rtwr_ui_clickrtwr_ui_click 7ff612340000presses an element rtwr_ui_tree listed rtwr_decisionsrtwr_decisions openopen, close, toggle, show <d>, shownrtwr_decision_enactrtwr_decision_enact my_census forceenacts; force skips requirements rtwr_card_windowrtwr_card_window my_edicts Romeopens a card window rtwr_cardsrtwr_cards my_edicts Romewhat it shows, to the log rtwr_cardrtwr_card my_tax_relief enact Romeenact, revoke, details
Villages, towns, districts
Command Example Does rtwr_villagesrtwr_villages reloadforts and villages, to the log rtwr_village_buildrtwr_village_build 98 135 farmsteadorders a building rtwr_village_demolishrtwr_village_demolish 98 135 farmsteadpulls it down rtwr_village_abandonrtwr_village_abandon 98 135gives the village up rtwr_village_windowrtwr_village_window 98 135opens its window rtwr_village_infortwr_village_info farmstead builtthe info panel rtwr_viewrtwr_view 98 135the 3D view rtwr_town_layoutsrtwr_town_layoutseach town's layout, to the log rtwr_slotsrtwr_slots Romedistricts, to the log; reload rtwr_spawnrtwr_spawn Rome marketa building appears; chances <t>, roll
Peoples
These need rtwr_pops.txt, and rtwr_needs.txt for the needs.
Command Example Does rtwr_popsrtwr_pops Romepops by culture and class, to the log rtwr_peoplesrtwr_peoples empirethe Peoples window rtwr_rightsrtwr_rights listmoves a people's rights; grant, revoke, set, lower, get, list rtwr_needsrtwr_needs add all roman * +5contentment; list, reload, get
AI and the Crown
Command Example Does rtwr_personalitiesrtwr_personalities reloadleaders' personalities, to the log rtwr_forced_attackrtwr_forced_attackwho would join the forced attack, and why rtwr_ambitionsrtwr_ambitions set gauls seize Romeleaders' ambitions; set gives one rtwr_attritionrtwr_attrition reloadstate, now, reloadrtwr_crownrtwr_crown statusenact, gift <f>, choose annex, round, ...rtwr_protectorate_demandrtwr_protectorate_demand gaulswhether you may demand it, and why not
For tests
Command Example Does rtwr_end_turnrtwr_end_turnpresses End Turn rtwr_answerrtwr_answer my_answer 1answers a message rtwr_selectrtwr_select Romeselects a settlement rtwr_labelsrtwr_labels onname plates on or off rtwr_attackrtwr_attack 100 120 101 120an army attacks a target rtwr_build_fortrtwr_build_fort anyan army builds a fort rtwr_fort_lookrtwr_fort_look 98 135 owna fort's look rtwr_fort_emptyrtwr_fort_empty 98 135destroys a fort's army rtwr_pip_drawrtwr_pip_draw 100010a 0the banner pips' draw flags rtwr_speedrtwr_speed offAI speed-ups off, to compare rtwr_fix_testrtwr_fix_testthe crash fixes' counts; panel, atlas, sound, ...
Aqueduct's documentation Overview Settings Engine fixes Script commands Script conditions and counters Recruit tags Script UI Economy Trade resources Empire resources Villages and town layouts Districts Peoples and needs AI and diplomacy War A crown and its satraps Small files