Fix and standardize TD mission difficulty dropdowns
This commit is contained in:
@@ -6,9 +6,6 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
Difficulty = Map.LobbyOption("difficulty")
|
|
||||||
|
|
||||||
IdleHunt = function(actor)
|
IdleHunt = function(actor)
|
||||||
if actor.HasProperty("Hunt") and not actor.IsDead then
|
if actor.HasProperty("Hunt") and not actor.IsDead then
|
||||||
Trigger.OnIdle(actor, actor.Hunt)
|
Trigger.OnIdle(actor, actor.Hunt)
|
||||||
|
|||||||
@@ -16,8 +16,7 @@ World:
|
|||||||
Values:
|
Values:
|
||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
EnemyWatcher:
|
EnemyWatcher:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
RepairThreshold = { easy = 0.3, normal = 0.6, hard = 0.9 }
|
RepairThreshold = { easy = 0.3, normal = 0.6, hard = 0.9 }
|
||||||
|
|
||||||
|
|||||||
@@ -33,8 +33,7 @@ World:
|
|||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
EnemyWatcher:
|
EnemyWatcher:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
IslandSamSites = { SAM01, SAM02 }
|
IslandSamSites = { SAM01, SAM02 }
|
||||||
NodBase = { PowerPlant1, PowerPlant2, PowerPlant3, PowerPlant4, PowerPlant5, Refinery, HandOfNod, Silo1, Silo2, Silo3, Silo4, ConYard, CommCenter }
|
NodBase = { PowerPlant1, PowerPlant2, PowerPlant3, PowerPlant4, PowerPlant5, Refinery, HandOfNod, Silo1, Silo2, Silo3, Silo4, ConYard, CommCenter }
|
||||||
|
|||||||
@@ -39,8 +39,7 @@ World:
|
|||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
NodStartUnitsRight =
|
NodStartUnitsRight =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ World:
|
|||||||
hard: Hard
|
hard: Hard
|
||||||
tough: Real tough guy
|
tough: Real tough guy
|
||||||
Default: normal
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
EnemyWatcher:
|
EnemyWatcher:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
NodUnitsVehicle1 =
|
NodUnitsVehicle1 =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ World:
|
|||||||
hard: Hard
|
hard: Hard
|
||||||
tough: Real tough guy
|
tough: Real tough guy
|
||||||
Default: normal
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
if Difficulty == "easy" then
|
if Difficulty == "easy" then
|
||||||
Rambo = "rmbo.easy"
|
Rambo = "rmbo.easy"
|
||||||
|
|||||||
@@ -34,8 +34,7 @@ World:
|
|||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
if Difficulty == "easy" then
|
if Difficulty == "easy" then
|
||||||
Rambo = "rmbo.easy"
|
Rambo = "rmbo.easy"
|
||||||
|
|||||||
@@ -29,8 +29,7 @@ World:
|
|||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
-LegacyBridgeLayer:
|
-LegacyBridgeLayer:
|
||||||
|
|
||||||
^CivBuilding:
|
^CivBuilding:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
the License, or (at your option) any later version. For more
|
the License, or (at your option) any later version. For more
|
||||||
information, see COPYING.
|
information, see COPYING.
|
||||||
]]
|
]]
|
||||||
|
Difficulty = Map.LobbyOption("difficulty")
|
||||||
|
|
||||||
if Difficulty == "easy" then
|
if Difficulty == "easy" then
|
||||||
Rambo = "rmbo.easy"
|
Rambo = "rmbo.easy"
|
||||||
|
|||||||
@@ -14,8 +14,7 @@ World:
|
|||||||
easy: Easy
|
easy: Easy
|
||||||
normal: Normal
|
normal: Normal
|
||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: normal
|
||||||
Locked: false
|
|
||||||
-LegacyBridgeLayer:
|
-LegacyBridgeLayer:
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
|
|||||||
@@ -15,13 +15,6 @@ World:
|
|||||||
MapOptions:
|
MapOptions:
|
||||||
ShortGameCheckboxLocked: True
|
ShortGameCheckboxLocked: True
|
||||||
ShortGameCheckboxEnabled: False
|
ShortGameCheckboxEnabled: False
|
||||||
ScriptLobbyDropdown@difficulty:
|
|
||||||
ID: difficulty
|
|
||||||
Label: Difficulty
|
|
||||||
Values:
|
|
||||||
normal: Normal
|
|
||||||
Default: normal
|
|
||||||
Locked: true
|
|
||||||
|
|
||||||
Player:
|
Player:
|
||||||
-ConquestVictoryConditions:
|
-ConquestVictoryConditions:
|
||||||
|
|||||||
Reference in New Issue
Block a user