Total War: ROME II - Emperor Edition

Total War: ROME II - Emperor Edition

Consul Scriptum | Rome 2 Scripting Console
 This topic has been pinned, so it's probably important
Nov 14, 2025 @ 2:32pm
New scripts requests
If you have request for new script, write it here, keep in mind to take a look at what functions the game already exposes, many things are not possible by default, here's a list of game functions, events and conditions:

https://bukowa.github.io/twr2docs/lua/api/interface/#game
< >
Showing 1-6 of 6 comments
Please do a script that makes two factions confederate please
1 to add gold, 1 to force trade
Originally posted by Phwaylo:
1 to add gold, 1 to force trade
Force trade is bugged :(
Add gold can be done via console command
consul._game():treasury_mod("rom_rome", 10000)


Originally posted by oujosh29:
Please do a script that makes two factions confederate please

I will see if that can be done
i made a script for adding gold to the human played faction :
require 'consul' consul.console.clear() function add_money(amount) local game = consul._game() local world = game:model():world() local faction_list = world:faction_list() local player_faction = nil for i = 0, faction_list:num_items() - 1 do local f = faction_list:item_at(i) if f:is_human() then player_faction = f break end end if player_faction == nil then consul.console.write('No human faction founded !\n') return end local faction_key = player_faction:name() game:treasury_mod(faction_key, amount) consul.console.write('Added ' .. amount .. ' gold to the faction : ' .. faction_key .. '\n') end add_money(5000)
save this code in a file let say money.lua and put it at the same place as
the consul.scriptum file
open the consul.scriptum file and add a line :
money.lua

it will add 5000 gold to your tresory each time you clic on it
or you can enter
add_money(xxxx)

where xxxx is the amount of gold you want.
You should be able to get name of player faction from variable "LocalFaction"
You can convert it to custom command! Take a look https://consulscriptum.com/reference/adding-custom-commands
< >
Showing 1-6 of 6 comments
Per page: 1530 50