Add an upgrade rule.
This commit is contained in:
@@ -872,6 +872,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (engineVersion < 201504277)
|
||||||
|
if (node.Key.StartsWith("WithRotor"))
|
||||||
|
node.Value.Nodes.RemoveAll(p => p.Key == "Id");
|
||||||
|
|
||||||
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ TRAN:
|
|||||||
Sequence: rotor2
|
Sequence: rotor2
|
||||||
GroundSequence: slow-rotor2
|
GroundSequence: slow-rotor2
|
||||||
WithRotor@SECONDARY:
|
WithRotor@SECONDARY:
|
||||||
Id: rotor_2
|
|
||||||
Offset: 597,0,85
|
Offset: 597,0,85
|
||||||
Cargo:
|
Cargo:
|
||||||
Types: Infantry
|
Types: Infantry
|
||||||
@@ -231,7 +230,6 @@ TRAN.Husk:
|
|||||||
WithRotor@PRIMARY:
|
WithRotor@PRIMARY:
|
||||||
Offset: -597,0,171
|
Offset: -597,0,171
|
||||||
WithRotor@SECONDARY:
|
WithRotor@SECONDARY:
|
||||||
Id: rotor_2
|
|
||||||
Offset: 597,0,85
|
Offset: 597,0,85
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
Image: tran
|
Image: tran
|
||||||
|
|||||||
@@ -210,7 +210,6 @@ TRAN:
|
|||||||
Sequence: rotor2
|
Sequence: rotor2
|
||||||
GroundSequence: slow-rotor2
|
GroundSequence: slow-rotor2
|
||||||
WithRotor@SECONDARY:
|
WithRotor@SECONDARY:
|
||||||
Id: rotor_2
|
|
||||||
Offset: 597,0,213
|
Offset: 597,0,213
|
||||||
Cargo:
|
Cargo:
|
||||||
Types: Infantry
|
Types: Infantry
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ TRAN.Husk:
|
|||||||
WithRotor@PRIMARY:
|
WithRotor@PRIMARY:
|
||||||
Offset: -597,0,341
|
Offset: -597,0,341
|
||||||
WithRotor@SECONDARY:
|
WithRotor@SECONDARY:
|
||||||
Id: rotor_2
|
|
||||||
Offset: 597,0,213
|
Offset: 597,0,213
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 12c0
|
Range: 12c0
|
||||||
|
|||||||
Reference in New Issue
Block a user