Make only the right warfactory infiltratable. don't break the game if a player manages without infiltration.
This commit is contained in:
@@ -240,6 +240,10 @@ InitTriggers = function()
|
||||
end)
|
||||
|
||||
Trigger.OnInfiltrated(Prison, function()
|
||||
if not greece.IsObjectiveCompleted(infWarfactory) then
|
||||
Media.DisplayMessage("Good work! But next time skip the heroics!", "Battlefield Control")
|
||||
greece.MarkCompletedObjective(infWarfactory)
|
||||
end
|
||||
Trigger.ClearAll(Spy)
|
||||
Trigger.AfterDelay(DateTime.Seconds(2), MissInfiltrated)
|
||||
end)
|
||||
|
||||
@@ -1399,7 +1399,7 @@ Actors:
|
||||
Prison: miss
|
||||
Location: 25,106
|
||||
Owner: USSR
|
||||
Warfactory: weap
|
||||
Warfactory: weap.infiltratable
|
||||
Location: 43,50
|
||||
Owner: USSR
|
||||
Warfactory2: weap
|
||||
|
||||
@@ -82,7 +82,16 @@ SPY:
|
||||
WEAP:
|
||||
-InfiltrateForSupportPower:
|
||||
Targetable:
|
||||
TargetTypes: Ground, C4, DetonateAttack, Structure
|
||||
|
||||
WEAP.infiltratable:
|
||||
Inherits: WEAP
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
Targetable@Spy:
|
||||
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
|
||||
RenderSprites:
|
||||
Image: WEAP
|
||||
|
||||
MISS:
|
||||
Tooltip:
|
||||
|
||||
Reference in New Issue
Block a user