Skip to content

Commit

Permalink
Added NoRush modoption
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam committed Jan 1, 2022
1 parent 3467d39 commit 42324e5
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions LuaMenu/configs/gameConfig/byar/ModOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,40 @@ local options={
{key="none", name="Disallow All", desc="No enemy units can be napped"},
}
},
{
key = "allowuserwidgets",
name = "Allow custom widgets",
desc = "Allow custom user widgets or disallow them",
type = "bool",
def = true,
section = 'restrictions',
},
{
key = "allowuserwidgets",
name = "Allow custom widgets",
desc = "Allow custom user widgets or disallow them",
type = "bool",
def = true,
section= 'restrictions',
key = 'fixedallies',
name = 'Disabled dynamic alliances',
desc = 'Disables the possibility of players to dynamically change alliances ingame',
type = 'bool',
def = true,
section = "restrictions",
},
{
key = 'fixedallies',
name = 'Disabled dynamic alliances',
desc = 'Disables the possibility of players to dynamically change alliances ingame',
type = 'bool',
def = true,
section= "restrictions",
key = 'norushmode',
name = 'NoRush Mode',
desc = 'Disallows moving out of your startbox area for a set amount of time',
type = "bool",
section = 'restrictions',
def = false,
},
{
key = 'norushtime',
name = 'NoRush Time',
desc = 'After how many minutes NoRush protection disappears',
type = "number",
section = 'restrictions',
def = 10,
min = 1,
max = 60,
step = 1,
},
{
key = 'disable_fogofwar',
Expand Down

0 comments on commit 42324e5

Please sign in to comment.