Page 20 of 20 FirstFirst ... 10 18 19 20
Results 191 to 198 of 198

Thread: Source Terminal

  1. #191
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    How about you just add a way to make the warning stick for an entire session?

  2. #192

    Default

    They are separate counters each time, so I'm not sure how that would work.

    A new setting would likely apply to every IotM-generated wanderer going forward (with the lack of a window making it relevant)?

  3. #193
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    Code:
    if ( !can_interact() && get_property( "relayCounters" ).contains_text( "Digitize Monster" ) && !get_counters( "", 0, 950 ).contains_text( "Digitize Monster" ) )
    {
    	cli_execute( "counters warn Digitize Monster" );
    }
    That is what I'm using, in a post-adventure script.
    Originally Posted by lostcalpolydude View Post
    That seems a bit excessive. I've modified your code a bit.

    Code:
    if( !to_boolean(get_property("kingLiberated")) && get_counters("Digitize Monster", 0, 4).contains_text("Digitize Monster") )
    	cli_execute( "counters warn Digitize Monster" );
    That works nicely for me.
    Last edited by Bale; 01-07-2017 at 06:31 AM.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  4. #194
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    I've reconsidered lost's code. Now I understand the purpose of that last condition. I'm now using this:

    Code:
    void warn_digitize() {
    	if( !to_boolean(get_property("kingLiberated")) && get_counters("Digitize Monster", 0, 4).contains_text("Digitize Monster") && !get_counters("", 0, 4).contains_text("Digitize Monster") )
    		cli_execute( "counters warn Digitize Monster" );
    }

  5. #195

    Default

    If I manage to break ronin without freeing the king, it's probably a strong indicator that I don't really care about being warned about those counters anyway.

  6. #196
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    LoL

  7. #197

    Default

    Using the Orcish Frat House blueprints will start mafia's digitize counter. It does not, however, start the actual KoL digitize counter.

  8. #198

    Default

    Code:
    if ( !can_interact() && get_property( "relayCounters" ).contains_text( "Digitize Monster" ) && !get_counters( "", 0, 950 ).contains_text( "Digitize Monster" ) )
    {
    	cli_execute( "counters warn Digitize Monster" );
    }
    That is what I'm using, in a post-adventure script.
    Originally Posted by lostcalpolydude View Post
    Mental note: General -> Preferences -> - Relay Browser -> "Run afterAdventureScript after manual Adventures" needs to be enabled (I think it's disabled by default). I just spent the first 2 days of a HC AoSP ascension trying to figure out why this wasn't working.

    Also

    Code:
    > help counters
    
    counters [ clear | add number [title img] ] - show, clear, or add to current turn counters.
    Is missing the info on the 'warn' command.

    Using the Orcish Frat House blueprints will start mafia's digitize counter. It does not, however, start the actual KoL digitize counter.
    Originally Posted by Boesbert View Post
    Time-Spinner's Adventure Way Back in Time appears to do the same (and also decrements delay counters in the last zone you adventured in which it shouldn't either).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •