Expansion+

From Warzone Wiki
Revision as of 15:53, 6 October 2024 by DanWL60 (talk | contribs) (→‎Settings)
Jump to navigation Jump to search
Mod name Expansion+
Creator UnFairerOrb76
Made public on 2022-10-06
Category Experimental
Tags #Strategic
Runs on Warzone version 4.14.2+
Source code GitHub

This mod enables players to earn neutrals without needing to expand. At the end of each turn, players will be given random neutral territories that border their own. The amount of armies of the territory will be set to the number in the mod's settings.

Settings

Game creators can customize:

  • If only neutrals of size non-distribution neutrals or less will be given to players (defaults to disabled, any neutral will be given in this case).
  • The maximum number neutrals a player will gain each turn (defaults to 2, min 1, max 10).
  • The amount of armies that territories will have on them when given to players (defaults to 2, min 1, max 10).

Potential game-breaking bugs

This mod will crash on lines 41, 88 of Server_AdvanceTurn.lua (if randomNeutralTerr == nill then break; end), (if randomNeutralTerr == nill then break; end). nill is not a Lua keyword and not a defined variable. The keyword nil is likely meant.

The amount of armies on territories players receive is not validated. There may be negative armies on territories and this may cause the game to crash, similar for very large army numbers on territories.