mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Unit cap (#4689)
* Add unit caps as a map setting. * Use int and add maximum and minimum handling. * Put a lower limit of 0 for unit cap
This commit is contained in:
parent
957583071d
commit
631e4d9eef
4 changed files with 18 additions and 1 deletions
|
|
@ -44,6 +44,8 @@ public class Rules{
|
|||
public boolean fire = true;
|
||||
/** Whether units use and require ammo. */
|
||||
public boolean unitAmmo = false;
|
||||
/** Whether cores add to unit limit */
|
||||
public boolean unitCapVariable = true;
|
||||
/** How fast unit pads build units. */
|
||||
public float unitBuildSpeedMultiplier = 1f;
|
||||
/** How much damage any other units deal. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue