Expansion+: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
{{Mod infobox
{{Mod infobox
|creatorToken=67130550347
|creatorToken=67130550347
|creatorName=UnFairerOrb76
|creatorName=UnFairerOrb76
|madePublicOn=2022-10-06 <!-- mod discord finished-mod-list -->
|madePublicOnYear=2022
|tags=#Strategic
|madePublicOnMonth=10
|madePublicOnDay=06
<!-- mod discord finished-mod-list -->
|tags={{modtag|Strategic}}
|source=https://github.com/Unfairerorb76/Unfairerorb76/tree/main/FreeExpansion%2B
|source=https://github.com/Unfairerorb76/Unfairerorb76/tree/main/FreeExpansion%2B
}}
}}


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 [https://github.com/JackoMillar/Warzone-Lua/blob/c65b6dfdd83562dc68875f64d7903b609e151738/FreeExpansion%2B/Server_AdvanceTurn.lua#L41 lines 41, 88 of Server_AdvanceTurn.lua]. <code>nill</code> is not a Lua keyword and not a defined variable. The keyword <code>nil</code> is likely meant.


[[Category:Mods]]
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.

Latest revision as of 17:24, 6 October 2024

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. 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.