Make service depot passable.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
// HACK: Repairable needs the actor to move to host center.
|
// HACK: Repairable needs the actor to move to host center.
|
||||||
// TODO: Get rid of this or at least replace it with something less hacky.
|
// TODO: Get rid of this or at least replace it with something less hacky.
|
||||||
if (repairableNear == null)
|
if (repairableNear == null)
|
||||||
QueueChild(move.MoveTo(targetCell, ignoreActor: host.Actor));
|
QueueChild(move.MoveTo(targetCell));
|
||||||
|
|
||||||
var delta = (self.CenterPosition - host.CenterPosition).LengthSquared;
|
var delta = (self.CenterPosition - host.CenterPosition).LengthSquared;
|
||||||
var transport = transportCallers.FirstOrDefault(t => t.MinimumDistance.LengthSquared < delta);
|
var transport = transportCallers.FirstOrDefault(t => t.MinimumDistance.LengthSquared < delta);
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ FIX:
|
|||||||
Queue: Building.GDI, Building.Nod
|
Queue: Building.GDI, Building.Nod
|
||||||
Description: Repairs vehicles
|
Description: Repairs vehicles
|
||||||
Building:
|
Building:
|
||||||
Footprint: _X_ xxx _X_
|
Footprint: _=_ === _=_
|
||||||
Dimensions: 3,3
|
Dimensions: 3,3
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 64,34,0,3
|
Bounds: 64,34,0,3
|
||||||
|
|||||||
@@ -881,7 +881,7 @@ repair_pad:
|
|||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Repair Pad
|
Name: Repair Pad
|
||||||
Building:
|
Building:
|
||||||
Footprint: =x= xxx =x=
|
Footprint: === === ===
|
||||||
Dimensions: 3,3
|
Dimensions: 3,3
|
||||||
Health:
|
Health:
|
||||||
HP: 30000
|
HP: 30000
|
||||||
|
|||||||
@@ -1989,7 +1989,7 @@ FIX:
|
|||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Service Depot
|
Name: Service Depot
|
||||||
Building:
|
Building:
|
||||||
Footprint: _=_ xxx _=_
|
Footprint: _=_ === _=_
|
||||||
Dimensions: 3,3
|
Dimensions: 3,3
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 68,34,0,3
|
Bounds: 68,34,0,3
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ GADEPT:
|
|||||||
Queue: Building
|
Queue: Building
|
||||||
Description: Repairs vehicles.
|
Description: Repairs vehicles.
|
||||||
Building:
|
Building:
|
||||||
Footprint: =x= xxx =x=
|
Footprint: === x== x==
|
||||||
Dimensions: 3,3
|
Dimensions: 3,3
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 96, 64, -6, -6
|
Bounds: 96, 64, -6, -6
|
||||||
|
|||||||
Reference in New Issue
Block a user