mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-25 22:17:59 +07:00
Custom rule for unit command
This commit is contained in:
parent
a8d750efce
commit
3e0b8e9431
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user