Barb Chaos Mode

If you liked this item, please rate it up on Steam Workshop page.

Author: InqusitiveOtter

Last revision: 11 Dec, 2023 at 12:41 UTC

File size: 3.07 KB

On Steam Workshop

Description:

Warning! This mod will make the game much harder.

The changes are simple:
– Each tile has a 15% chance to spawn a barb camp every 20 turns.
– AI gets a +30 combat strength bonus against barbs.

Feel free to modify the mod if you’d like to increase the spawn frequency or chance.

To modify the mod, find the mod in steamapps/workshop/content/.

Open IO_Barb_scripts.lua in a text editor (notepad works).

To change the frequency, modify this line: (Game.GetCurrentGameTurn() % 20 == 0). % is the modulo operator.

To change the spawn chance, change this line iRandomNumber < 16. iRandomNumber is a random number between 1 and 101. Setting it to 102 would spawn a barb camp on every tile.

To change the combat bonus that the AI gets against barbs: Open IO_AI_Barb_Strength, change 30 to whatever you want.