Bot tuning
Timing for every bot, and the lines bots say.
patchaddreplaceremove
| File | data/bot_tuning.json |
| Ids | one record: main |
Fields
Section titled “Fields”| Field | Type | Range | Base value | What it does |
|---|---|---|---|---|
cash_seconds |
number | 0 to 1000000 | 900 |
A bot’s cash is capped at this many seconds of income. |
declare_gap |
number | 0 to 1000000 | 60 |
Server-wide seconds between two war declarations. |
dogpile |
list of text | each 1 to 120 characters | ["Get the champ!", "Crown looks heavy.", "Pass the crown!"] |
Lines bots say when they gang up. |
dogpile_gap |
number | 0 to 1000000 | 600 |
Seconds between two dogpiles. |
dogpile_odds |
number | 0 to 1000000 | 0.05 |
Chance of a dogpile per step once the gap has passed. |
double_odds |
number | 0 to 1000000 | 0.2 |
Chance a decision does two things. |
goal_share |
number | 0 to 1000000 | 0.8 |
Bots aim for this share of the real players’ average income. |
grudge_half |
number | 0 to 1000000 | 120 |
Seconds for a grudge to halve. |
grudge_war |
number | 0 to 1000000 | 4 |
Grudge that starts a war. |
heat_cap |
number | 0 to 1000000 | 3 |
Bot launches at one real player per window, outside a war. |
heat_window |
number | 0 to 1000000 | 90 |
Window, in seconds, for heat_cap. |
keep |
number | 0 to 1000000 | 3 |
Top missiles a bot never fires. |
max_wars |
number | 0 to 1000000 | 2 |
Bot wars at once (a dogpile adds one). |
pair_cool |
number | 0 to 1000000 | 480 |
Seconds before the same two islands can go to war again. |
payback |
list of text | each 1 to 120 characters | ["You started it!", "Payback time.", "That stung. My turn.", "Oh, ... |
Lines a bot says when it hits back. |
player_pull |
number | 0 to 1000000 | 1.6 |
Target weight of a real player against a bot. |
player_war_cool |
number | 0 to 1000000 | 240 |
A real player’s breather after any war on them, seconds. |
raid_gap |
number | 0 to 1000000 | 70 |
Seconds between a bot’s own raids, divided by its raid weight. |
sail_gap |
number | 0 to 1000000 | 45 |
Seconds between a bot’s ship sorties. |
save_seconds |
number | 0 to 1000000 | 60 |
A bot saves up for a building it can afford this soon. |
silo_gap |
number | 0 to 1000000 | 60 |
Seconds between a bot’s Silo attacks. |
target_cool |
number | 0 to 1000000 | 75 |
Seconds before a bot hits the same target again, outside a war. |
taunts |
list of text | each 1 to 120 characters | ["Ready or not!", "Here comes the boom.", "Nice island. Mine now." ... |
Lines a bot says when it attacks. |
think_max |
number | 0 to 1000000 | 3 |
Most seconds between two bot decisions. |
think_min |
number | 0 to 1000000 | 1 |
Fewest seconds between two bot decisions. |
war_max |
number | 0 to 1000000 | 240 |
Longest war, seconds. |
war_min |
number | 0 to 1000000 | 150 |
Shortest war, seconds. |
war_odds |
number | 0 to 1000000 | 0.06 |
Chance per decision of a war, times the personality’s war. |
war_raid_max |
number | 0 to 1000000 | 24 |
Most seconds between raids in a war. |
war_raid_min |
number | 0 to 1000000 | 14 |
Fewest seconds between raids in a war. |
war_rest |
number | 0 to 1000000 | 150 |
A bot’s rest after a war, seconds. |
Change a record
Section titled “Change a record”{ "patch": { "main": { "raid_gap": 35 } } }The same from main.luau, while the mod loads:
mod.data.patch("bot_tuning", "main", { raid_gap = 35 })