private TradeItemType _wanted;                                                                  // Tradeitem requested in particular in this type of government

        #endregion

        #region Methods

        public PoliticalSystem(PoliticalSystemType type, int reactionIllegal, Activity activityPolice, Activity activityPirates,
                               Activity activityTraders, TechLevel minTechLevel, TechLevel maxTechLevel, int bribeLevel, bool drugsOk,
                               bool firearmsOk, TradeItemType wanted)
        {
            _type            = type;
            _reactionIllegal = reactionIllegal;
            _activityPolice  = activityPolice;
            _activityPirates = activityPirates;
            _activityTraders = activityTraders;
            _minTech         = minTechLevel;
            _maxTech         = maxTechLevel;
            _bribeLevel      = bribeLevel;
            _drugsOk         = drugsOk;
            _firearmsOk      = firearmsOk;
            _wanted          = wanted;
        }
Пример #2
0
 public PoliticalSystem(PoliticalSystemType type, int reactionIllegal, Activity activityPolice, Activity activityPirates,
     Activity activityTraders, TechLevel minTechLevel, TechLevel maxTechLevel, int bribeLevel, bool drugsOk,
     bool firearmsOk, TradeItemType wanted)
 {
     Type = type;
     ReactionIllegal = reactionIllegal;
     ActivityPolice = activityPolice;
     ActivityPirates = activityPirates;
     ActivityTraders = activityTraders;
     MinimumTechLevel = minTechLevel;
     MaximumTechLevel = maxTechLevel;
     BribeLevel = bribeLevel;
     DrugsOk = drugsOk;
     FirearmsOk = firearmsOk;
     Wanted = wanted;
 }
Пример #3
0
        private int _roundOff;                                  // Roundoff price for trade in orbit

        #endregion

        #region Methods

        public TradeItem(TradeItemType type, TechLevel techProduction, TechLevel techUsage,
                         TechLevel techTopProduction, int piceLowTech, int priceInc, int priceVariance,
                         SystemPressure pressurePriceHike, SpecialResource resourceLowPrice, SpecialResource resourceHighPrice,
                         int minTradePrice, int maxTradePrice, int roundOff)
        {
            _type              = type;
            _techProduction    = techProduction;
            _techUsage         = techUsage;
            _techTopProduction = techTopProduction;
            _piceLowTech       = piceLowTech;
            _priceInc          = priceInc;
            _priceVariance     = priceVariance;
            _pressurePriceHike = pressurePriceHike;
            _resourceLowPrice  = resourceLowPrice;
            _resourceHighPrice = resourceHighPrice;
            _minTradePrice     = minTradePrice;
            _maxTradePrice     = maxTradePrice;
            _roundOff          = roundOff;
        }