Exemple #1
0
    private short unlockedGunIsTotalCrap()
    {
        // Looks like only Patton and Pershing are affected by this. Could be done manually.
        // Now have to switch T-50-2 manually to status-2
        if (vehicleParser.getChassisCost() > vehicleParser.getUnlockedGunCost() * 4)
        {
            /*
             * *3 <- low level tanks have top guns cost much less than chassis
             * if Gun unlocked by second turret is crap -> top gun is possible to mount at stock turret
             */
            return(STOCK_TURRET_TOP_GUN_POSSIBLE);
        }

        return(STOCK_TURRET_NO_TOP_GUN);
    }