Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow negative aix cheat multipliers #4525

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lua/ui/lobby/lobbyOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -595,26 +595,28 @@ globalOpts = {
---@type ScenarioOption[]
AIOpts = {
{
default = 6,
default = 11,
label = "<LOC aisettings_0001>>AIx Cheat Multiplier",
help = "<LOC aisettings_0002>Set the cheat multiplier for the cheating AIs.",
key = 'CheatMult',
value_text = "%s",
value_help = "<LOC aisettings_0003>Cheat multiplier of %s",
values = {
'0.5', '0.6', '0.7', '0.8', '0.9',
'1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9',
'2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '2.8', '2.9', '3.0', '3.1', '3.2', '3.3', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9',
'4.0', '4.1', '4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9',
},
},
{
default = 6,
default = 11,
label = "<LOC aisettings_0054>AIx Build Multiplier",
help = "<LOC aisettings_0055>Set the build rate multiplier for the cheating AIs.",
key = 'BuildMult',
value_text = "%s",
value_help = "<LOC aisettings_0056>Build multiplier of %s",
values = {
'0.5', '0.6', '0.7', '0.8', '0.9',
'1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9',
'2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '2.8', '2.9', '3.0', '3.1', '3.2', '3.3', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9',
'4.0', '4.1', '4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9',
Expand Down