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

        currentLocation.OnPlayerEnter();

        IOController.io.readyToAct = true;
    }
コード例 #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();
    }
コード例 #4
0
ファイル: ACT_Hunt.cs プロジェクト: code-games/skumrim
    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();
    }