Stack limit: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
mNo edit summary
Line 14: Line 14:


== Compatibility ==
== Compatibility ==
Note: This mod can cause issues if used in conjunction with [[Deployment Limit]]
Note: This mod can cause issues if used in conjunction with [[Deployment Limit]].
 
Note that this mod uses [[Mod API Reference:TerritoryModification|TerritoryModification]].SetArmiesTo instead of TerritoryModification.AddArmies. AddArmies is preferred to SetArmiesTo for greater compatibility.
Note that this mod uses [[Mod API Reference:TerritoryModification|TerritoryModification]].SetArmiesTo instead of TerritoryModification.AddArmies. AddArmies is preferred to SetArmiesTo for greater compatibility.


[[Category:Mods]]
[[Category:Mods]]

Revision as of 22:52, 12 November 2023

Mod name Stack Limit
Creator dabo1
Made public on ????-??-??
Category Experimental
Tags #Silly
#Diplomacy
#Strategic
Runs on Warzone version 4.14.2+
Source code GitHub

This mod limits the number of armies a player can have on any territory at any time.

If the stack limit is 20, and through any event the number of armies exceeds 20, the excess armies will be instantly teleported to other territories. If every other territory has reached the stack limit, the armies are lost!


Compatibility

Note: This mod can cause issues if used in conjunction with Deployment Limit.

Note that this mod uses TerritoryModification.SetArmiesTo instead of TerritoryModification.AddArmies. AddArmies is preferred to SetArmiesTo for greater compatibility.