Ejemplo n.º 1
0
        public override void FillInformation(out string summary, out string info, out string detailed) //V
        {
            summary = EventTypeStr.SplitCapsWord();

            DateTime exp = Expiry;

            if (exp != null)
            {
                exp = exp.ToLocalTime();
            }

            info = BaseUtils.FieldBuilder.Build("", Name,
                                                "< from ", Faction,
                                                "System:", DestinationSystem,
                                                "Station:", DestinationStation,
                                                "Expiry:", exp,
                                                "Influence:", Influence,
                                                "Reputation:", Reputation,
                                                "Reward:", Reward);

            detailed = BaseUtils.FieldBuilder.Build("Deliver:", CommodityLocalised.Alt(FriendlyCommodity),
                                                    "Target:", TargetLocalised.Alt(TargetFriendly),
                                                    "Type:", TargetTypeFriendly,
                                                    "Target Faction:", TargetFaction,
                                                    "Target Type:", TargetTypeLocalised.Alt(TargetTypeFriendly),
                                                    "Passengers:", PassengerCount);
        }
Ejemplo n.º 2
0
 public string MissionInformation()          // other stuff for the mission panel which it does not already cover
 {
     return(BaseUtils.FieldBuilder.Build("Influence:", Influence,
                                         "Reputation:", Reputation,
                                         "Deliver:", CommodityLocalised.Alt(FriendlyCommodity),
                                         "Target:", TargetLocalised.Alt(TargetFriendly),
                                         "Type:", TargetTypeFriendly,
                                         "Target Faction:", TargetFaction,
                                         "Target Type:", TargetTypeLocalised.Alt(TargetTypeFriendly),
                                         "Passengers:", PassengerCount));
 }
        public override void FillInformation(out string summary, out string info, out string detailed)  //V
        {
            summary = EventTypeStr.SplitCapsWord();
            info    = Tools.FieldBuilder("", Name,
                                         "< from ", Faction,
                                         "Reward:", Reward,
                                         "Donation:", Donation,
                                         "System:", DestinationSystem,
                                         "Station:", DestinationStation);

            detailed = Tools.FieldBuilder("Commodity:", CommodityLocalised.Alt(FriendlyCommodity),
                                          "Target:", TargetLocalised.Alt(TargetFriendly),
                                          "Type:", TargetTypeFriendly,
                                          "Target Faction:", TargetFaction);

            detailed += PermitsList();
            detailed += CommoditiesList();
        }
Ejemplo n.º 4
0
        public override void FillInformation(out string summary, out string info, out string detailed) //V
        {
            summary = EventTypeStr.SplitCapsWord();
            info    = Tools.FieldBuilder("", Name,
                                         "< from ", Faction,
                                         "System:", DestinationSystem,
                                         "Station:", DestinationStation,
                                         "Expiry:", Expiry,
                                         "Influence:", Influence,
                                         "Reputation:", Reputation);

            detailed = Tools.FieldBuilder("Deliver:", CommodityLocalised.Alt(FriendlyCommodity),
                                          "Target:", TargetLocalised.Alt(TargetFriendly),
                                          "Type:", TargetTypeFriendly,
                                          "Target Faction:", TargetFaction,
                                          "Target Type:", TargetTypeLocalised.Alt(TargetTypeFriendly),
                                          "Passengers:", PassengerCount);
        }