Revert granting condition from HackyAI

In favor of using GrantConditionOnBotOwner.
Updated update rule and shipping mods accordingly.
This commit is contained in:
reaperrr
2018-11-08 11:49:34 +01:00
committed by Oliver Brakmann
parent 4c9c8bf7fc
commit 74fa8752c9
7 changed files with 43 additions and 23 deletions

View File

@@ -105,8 +105,6 @@ Player:
DefaultCashDropdownLocked: True
DefaultCashDropdownVisible: False
DefaultCash: 50
-ConditionManager:
-HarvesterBotModule:
-HackyAI@RushAI:
-HackyAI@NormalAI:
-HackyAI@NavalAI:

View File

@@ -121,7 +121,6 @@ Player:
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
Condition: enable-rush-ai
HackyAI@NormalAI:
Name: Normal AI
Type: normal
@@ -262,7 +261,6 @@ Player:
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
Condition: enable-normal-ai
HackyAI@TurtleAI:
Name: Turtle AI
Type: turtle
@@ -404,7 +402,6 @@ Player:
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
Condition: enable-turtle-ai
HackyAI@NavalAI:
Name: Naval AI
Type: naval
@@ -521,6 +518,17 @@ Player:
Attractiveness: -10
TargetMetric: Value
CheckRadius: 7c0
GrantConditionOnBotOwner@rush:
Condition: enable-rush-ai
Bots: rush
GrantConditionOnBotOwner@normal:
Condition: enable-normal-ai
Bots: normal
GrantConditionOnBotOwner@turtle:
Condition: enable-turtle-ai
Bots: turtle
GrantConditionOnBotOwner@naval:
Condition: enable-naval-ai
Bots: naval
HarvesterBotModule:
RequiresCondition: enable-rush-ai || enable-normal-ai || enable-turtle-ai || enable-naval-ai