Custom rule for unit command
This commit is contained in:
@@ -1079,6 +1079,7 @@ rules.deconstructrefundmultiplier = Deconstruct Refund Multiplier
|
|||||||
rules.waitForWaveToEnd = Waves Wait for Enemies
|
rules.waitForWaveToEnd = Waves Wait for Enemies
|
||||||
rules.dropzoneradius = Drop Zone Radius:[lightgray] (tiles)
|
rules.dropzoneradius = Drop Zone Radius:[lightgray] (tiles)
|
||||||
rules.unitammo = Units Require Ammo
|
rules.unitammo = Units Require Ammo
|
||||||
|
rules.unitcommand = RTS Unit Command (Erekir Units Only)
|
||||||
rules.enemyteam = Enemy Team
|
rules.enemyteam = Enemy Team
|
||||||
rules.playerteam = Player Team
|
rules.playerteam = Player Team
|
||||||
rules.title.waves = Waves
|
rules.title.waves = Waves
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ public class CustomRulesDialog extends BaseDialog{
|
|||||||
main.row();
|
main.row();
|
||||||
|
|
||||||
title("@rules.title.unit");
|
title("@rules.title.unit");
|
||||||
|
check("@rules.unitcommand", b -> rules.unitCommand = b, () -> rules.unitCommand);
|
||||||
check("@rules.unitammo", b -> rules.unitAmmo = b, () -> rules.unitAmmo);
|
check("@rules.unitammo", b -> rules.unitAmmo = b, () -> rules.unitAmmo);
|
||||||
check("@rules.unitcapvariable", b -> rules.unitCapVariable = b, () -> rules.unitCapVariable);
|
check("@rules.unitcapvariable", b -> rules.unitCapVariable = b, () -> rules.unitCapVariable);
|
||||||
number("@rules.unitcap", true, f -> rules.unitCap = f, () -> rules.unitCap, -999, 999);
|
number("@rules.unitcap", true, f -> rules.unitCap = f, () -> rules.unitCap, -999, 999);
|
||||||
|
|||||||
Reference in New Issue
Block a user