Stack limit

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
The Stack Limit was created by user [https://www.warzone.com/Profile?p=5852007897 dabo1]. It limits the number of armies a player can have on any territory at any time.
+
{{Mod infobox
 +
|name=Stack Limit
 +
|creatorToken=5852007897
 +
|creatorName=dabo1
 +
|tags=#Silly<br>#Diplomacy<br>#Strategic
 +
|source=https://github.com/dabo123148/WarlightMod/tree/master/StackLimits
 +
}}
 +
 
 +
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 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, <b>the armies are lost!</b>
 
If every other territory has reached the stack limit, <b>the armies are lost!</b>
  
 +
 +
== 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 [[API Reference:TerritoryModification|TerritoryModification]].SetArmiesTo instead of TerritoryModification.AddArmies. AddArmies is preferred to SetArmiesTo for greater compatibility.
  
==See also==
 
*[[Mods]]
 
*[https://github.com/dabo123148/WarlightMod Source code]
 
 
[[Category:Mods]]
 
[[Category:Mods]]

Revision as of 22:52, 12 November 2023

Mod name Stack Limit
Creator dabo1
Category Experimental
Tags #Silly
#Diplomacy
#Strategic
Runs on Warzone version 3.18+
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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox