示例#1
0
        //Ends wetting and checks to give overflow debuff
        public void EndWetting()
        {
            isWetting = false;

            Animations.AnimateWettingEnd(this);

            //If player is sleeping, ?villager?, didn't overflow into pants, or was on the toilet don't give overflow debuff
            if (sleeping ||
                Animations.HandleVillager(this, false, wettingUnderwear, bottoms.Wetness > 0.0, false, 20, 3) ||
                bottoms.Wetness <= 0.0 ||
                !wettingUnderwear)
            {
                return;
            }

            HandlePeeOverflow(bottoms);
        }