Exemple #1
0
    public static void AddAlcohol()
    {
        currentAlcohol++;

        if (currentAlcohol > GetAlcoholLimit())
        {
            currentAlcohol = GetAlcoholLimit();
        }

        if (player != null)
        {
            player.PlayDrinkingSound();
        }
    }