Esempio n. 1
0
 private void CurrentScenes(String SceneID)
 {
     game.data.CurrentScene    = SceneID;
     game.data.CurrentLocation = null;
     foreach (KeyValuePair <string, object> kvp in gameData.location)
     {
         if (((ILocation)kvp.Value).Scene == SceneID)
         {
             game.data.CurrentLocation = (ILocation)kvp.Value;
             if (game.data.CurrentLocation.GetType() == typeof(City))
             {
                 game.data.CurrentLocationCity = (ICity)game.data.CurrentLocation;
             }
             break;
         }
     }
     if (game.data.CurrentLocationCity == null)
     {
         game.data.CurrentLocationCity = (ICity)game.data.location.gorodok;
     }
     if (game.data.CurrentLocationCity.weather == null)
     {
         game.data.CurrentLocationCity.weather = DataLocations.CreateWeather(game.data.time, (ICity)game.data.CurrentLocationCity);
     }
 }
Esempio n. 2
0
        private void InternalDayChanged(int days)
        {
            for (int i = 0; i < days; i++)
            {
                player.EyeBrows--;
                if (CurrentLocationCity != null)
                {
                    CurrentLocationCity.weather = DataLocations.CreateWeather(time, CurrentLocationCity);
                }
                player.PussyShaveСount++;
                player.LegsShaveСount++;
                if (player.PussyShaveStyle == 0 && player.PussyShaveСount == 3)
                {
                    player.PussyShave = 5;
                }
                if (player.PussyShaveStyle == 0 && player.PussyShaveСount >= 5)
                {
                    player.PussyShave = 0; player.PussyShaveStyle = 0;
                }
                if (player.PussyShaveStyle == 1 && player.PussyShaveСount == 4)
                {
                    player.PussyShave = 6;
                }
                if (player.PussyShaveStyle == 1 && player.PussyShaveСount >= 7)
                {
                    player.PussyShave = 0; player.PussyShaveStyle = 0;
                }

                if (player.LegsShaveStyle == 0 && player.LegsShaveСount == 3)
                {
                    player.LegsShave = 3;
                }
                if (player.LegsShaveStyle == 0 && player.LegsShaveСount >= 5)
                {
                    player.LegsShave = 0; player.LegsShaveStyle = 0;
                }
                if (player.LegsShaveStyle == 1 && player.LegsShaveСount == 4)
                {
                    player.LegsShave = 4;
                }
                if (player.LegsShaveStyle == 1 && player.LegsShaveСount >= 7)
                {
                    player.LegsShave = 0; player.LegsShaveStyle = 0;
                }

                if (player.HandsShaveStyle == 0 && player.HandsShaveСount == 3)
                {
                    player.HandsShave = 3;
                }
                if (player.HandsShaveStyle == 0 && player.HandsShaveСount >= 5)
                {
                    player.HandsShave = 0; player.HandsShaveStyle = 0;
                }
                if (player.HandsShaveStyle == 1 && player.HandsShaveСount == 4)
                {
                    player.HandsShave = 4;
                }
                if (player.HandsShaveStyle == 1 && player.HandsShaveСount >= 7)
                {
                    player.HandsShave = 0; player.HandsShaveStyle = 0;
                }

                foreach (KeyValuePair <String, Object> ac in actor)
                {
                    var o = (IActor)ac.Value;
                    if (o.SexAddiction > o.Relationship && o.SexAddiction > 0)
                    {
                        o.SexAddiction--;
                    }
                }
            }
        }