private static void collectColonialPoints(Nation player)
    {
        int navyScore     = State.history.CalculateNavyScore(player);
        int colonoalLevel = player.getColonialLevel();
        int temp          = navyScore + (colonoalLevel * 2);
        int points        = temp / 7;

        player.AddColonialPoints(points);
    }
Example #2
0
 public static void payForColonialists(Nation player)
 {
     MyEnum.Era era = State.GerEra();
     player.consumeGoods(MyEnum.Goods.clothing, 1);
     player.consumeGoods(MyEnum.Goods.furniture, 1);
     player.AddColonialPoints(2);
     player.increaseColonialLevel();
     player.UseAP(1);
     if (era != MyEnum.Era.Early)
     {
         player.consumeGoods(MyEnum.Goods.paper, 1);
         player.AddColonialPoints(2);
     }
     if (era == MyEnum.Era.Late)
     {
         player.consumeResource(MyEnum.Resources.spice, 1);
         player.AddColonialPoints(2);
     }
 }