Exemple #1
0
    private void UnloadSpecialCargoTo(ILocation location)
    {
        var targetLocation = location == null?SpaceMap.GetAnyLocation() : SpaceMap.GetAnyLocationExcept(location);

        CurrentDelivery.Name        = "";
        CurrentDelivery.Source      = null;
        CurrentDelivery.Destination = targetLocation;
        TargetMarker.GoTo(CurrentDelivery.Destination);
    }
Exemple #2
0
    private void LoadSpecialCargoFrom(ILocation location = null)
    {
        var targetLocation = location == null?SpaceMap.GetAnyLocation() : SpaceMap.GetAnyLocationExcept(location);

        CurrentDelivery.Name = SpecialDeliveries.OrderBy(Randomized).First().Name;

        CurrentDelivery.Source      = location;
        CurrentDelivery.Destination = targetLocation;
        TargetMarker.GoTo(CurrentDelivery.Destination);
    }