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

Thread: Source Terminal

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

    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,164

    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 05: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,164

    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,164

    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.

Posting Permissions

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