Exemplo n.º 1
0
        public Serfdom(Country country, int showOrder) : base("Serfdom", " (aristocratic privileges)", country, showOrder,
                                                              new List <IReformValue> {
            SerfdomAllowed, Brutal, Abolished, AbolishedWithLandPayment, AbolishedAndNationalized
        })
        {
            if (SerfdomAllowed == null)
            {
                SerfdomAllowed = new SerfdomReformValue("Allowed", " - Peasants and other plebes pay 10% of income to Aristocrats", 1,
                                                        new DoubleConditionsList(new List <Condition>
                {
                    Economy.isNotMarket, Condition.IsNotImplemented
                }));
            }
            if (Brutal == null)
            {
                Brutal = new SerfdomReformValue("Brutal", " - Peasants and other plebes pay 20% of income to Aristocrats", 0,
                                                new DoubleConditionsList(new List <Condition>
                {
                    Economy.isNotMarket, Condition.IsNotImplemented
                }));
            }

            SetValue(SerfdomAllowed);
        }
Exemplo n.º 2
0
 public override void SetValue(IReformValue selectedReform)
 {
     base.SetValue(selectedReform);
     typedValue = selectedReform as SerfdomReformValue;
 }