Custom rule for unit command

This commit is contained in:
Anuken 2022-02-09 17:28:51 -05:00
parent a8d750efce
commit 3e0b8e9431
2 changed files with 2 additions and 0 deletions

View File

@ -1079,6 +1079,7 @@ rules.deconstructrefundmultiplier = Deconstruct Refund Multiplier
rules.waitForWaveToEnd = Waves Wait for Enemies
rules.dropzoneradius = Drop Zone Radius:[lightgray] (tiles)
rules.unitammo = Units Require Ammo
rules.unitcommand = RTS Unit Command (Erekir Units Only)
rules.enemyteam = Enemy Team
rules.playerteam = Player Team
rules.title.waves = Waves

View File

@ -171,6 +171,7 @@ public class CustomRulesDialog extends BaseDialog{
main.row();
title("@rules.title.unit");
check("@rules.unitcommand", b -> rules.unitCommand = b, () -> rules.unitCommand);
check("@rules.unitammo", b -> rules.unitAmmo = b, () -> rules.unitAmmo);
check("@rules.unitcapvariable", b -> rules.unitCapVariable = b, () -> rules.unitCapVariable);
number("@rules.unitcap", true, f -> rules.unitCap = f, () -> rules.unitCap, -999, 999);