Exemplo n.º 1
0
 public void MoveToPlaceWithDelay(Place p, float delay)
 {
     IOController.io.readyToAct = false;
     currentLocation.OnPlayerExit();
     goingTo      = p;
     goingToTimer = new GameTimeTimer(delay, MoveToCallback);
     goingToTimer.StartForcing();
 }
Exemplo n.º 2
0
    private void MoveToCallback()
    {
        currentLocation = goingTo;
        goingTo         = null;
        goingToTimer    = null;

        currentLocation.OnPlayerEnter();

        IOController.io.readyToAct = true;
    }
Exemplo n.º 3
0
    public override void Perform(string[] arguments)
    {
        base.Perform(arguments);

        if (timer == null)
        {
            timer = new GameTimeTimer(8, Stop);
        }

        IOController.io.LogLewd("You slip your hand under your pants and start masturbating");
        IOController.io.LogLewd("Unable to contain yourself any longer you start moaning");

        GameManager.Sound.PlaySoundByName("Moan");

        timer.StartForcing();
    }
Exemplo n.º 4
0
    public override void Perform(string[] arguments)
    {
        base.Perform(arguments);

        if (timer == null)
        {
            timer = new GameTimeTimer(huntingDuration, Hunting);
        }

        if (!GameManager.Navigation.currentLocation.hasWildlife)
        {
            IOController.io.Log("There is no wildlife here");
            return;
        }

        IOController.io.readyToAct = false;
        IOController.io.Log("You start hunting...");

        timer.StartForcing();
    }