Page 3 of 7 FirstFirst 1 2 3 4 5 ... LastLast
Results 21 to 30 of 70

Thread: Trick-Or-Treating script

  1. #21
    Junior Member
    Join Date
    Oct 2007
    Posts
    18

    Default

    I added some code to my copy of the script to rotate between item dropping familiars while tricking. I'm too lazy to check mall prices, so they're random. Change "squamous gibberer" to whatever familiar you want after you've gotten all drops.

    These are rows 229-263 in my script:

    Code:
           for i from 0 to 11
    			{
    				housematch = create_matcher("whichhouse="+i+">[^>]*?house_d", advstring);
    				if (find(housematch))
    				{
    					if (have_familiar( $familiar [green pixie]) && get_property("_absintheDrops") != "5")
    						use_familiar( $familiar [green pixie]);
    					else if (have_familiar( $familiar [Baby Sandworm]) && get_property("_aguaDrops") != "5")
    						use_familiar( $familiar [Baby Sandworm]);
    					else if (have_familiar( $familiar [llama lama]) && get_property("_gongDrops") != "5")
    						use_familiar( $familiar [llama lama]);
    					else if (have_familiar( $familiar [rogue program]) && get_property("_tokenDrops") != "5")
    						use_familiar( $familiar [rogue program]);
    					else if (have_familiar( $familiar [Li\'l Xenomorph]) && get_property("_transponderDrops") != "5")
    						use_familiar( $familiar [Li\'l Xenomorph]);
    					else if (have_familiar( $familiar [Unconscious Collective]) && get_property("_dreamJarDrops") != "5")
    						use_familiar( $familiar [Unconscious Collective]);
    					else if (have_familiar( $familiar [Astral Badger]) && get_property("_astralDrops") != "5")
    						use_familiar( $familiar [Astral Badger]);
    					else if (have_familiar( $familiar [Bloovian Groose]) && get_property("_grooseDrops") != "5")
    						use_familiar( $familiar [Bloovian Groose]);
    					else if (have_familiar( $familiar [Blavious kloop]) && get_property("_kloopDrops") != "5")
    						use_familiar( $familiar [Blavious kloop]);
    					else if (have_familiar( $familiar [grim brother]) && get_property("_grimFairyTaleDrops") != "5")
    						use_familiar( $familiar [grim brother]);
    					else if (have_familiar( $familiar [Grimstone Golem]) && get_property("_grimstoneMaskDrops") != "1")
    						use_familiar( $familiar [Grimstone Golem]);
    					else if (have_familiar( $familiar [angry jung man]) && get_property("_jungDrops") != "1")
    						use_familiar( $familiar [angry jung man]);
    					else use_familiar( $familiar [squamous Gibberer]);
    					do_house(i);
    				}
    			}
    			trick_exit();
    			outfit("treat");
    Last edited by deusnoctum; 05-06-2014 at 02:24 AM. Reason: only one grimstone mask per day

  2. #22

    Default

    Would it be possible to make a command that checked the candy value of all outfits, not just the ones owned?

  3. #23
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,363

    Default

    I added some code to my copy of the script to rotate between item dropping familiars while tricking. I can't think of a good way to order them, so it's kind of random.
    Originally Posted by deusnoctum View Post
    I used the happy medium once I ran out of stuff that dropped content items. That gave me lots of booze in run!

  4. #24
    Junior Member Chamou's Avatar
    Join Date
    May 2014
    Posts
    15

    Default

    I have outfits named trick, treat, and newblock, and it switches to newblock properly to regenerate my MP, but it isn't going between trick and treat properly. I'm using the cloathing for treat and the dreadful pajamas with trick. I know it's not working because pantsgiving is in my trick outfit and pocket crumbs never fires during combat. What am I doing wrong?

    EDIT: Never mind, I fixed it myself by updating mafia.
    Last edited by Chamou; 05-05-2014 at 05:38 PM.

  5. #25
    Junior Member
    Join Date
    Nov 2013
    Posts
    6

    Default

    OMG, this script is AWESOME (and super-easy to use for those of us who don't script)! Thank you so much!!!

  6. #26
    Junior Member
    Join Date
    Jul 2014
    Posts
    1

    Default

    Is there a way to make it so as soon as the light houses (which are the only ones that give special outfit/avatar drops) are used up it'll auto-search for a new block?

  7. #27
    Senior Member
    Join Date
    Sep 2012
    Posts
    228

    Default

    Is there a way to make it so as soon as the light houses (which are the only ones that give special outfit/avatar drops) are used up it'll auto-search for a new block?
    Originally Posted by MatrixM View Post
    There's not really much point, the monsters give free stats and drop some items, at zero adventure cost. The only downside would be if you could not beat them up, which I guess could understand but you should be either A) Ascending, so you don't want to waste adventures finding new blocks, or B) In aftercore, where you can just be in the same room as them and they'll drop dead.

  8. #28
    Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default

    Please update the script since the location was moved and running the current version gave me a message that it is not Halloween. Thanks.

  9. #29
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    It was updated very shortly after rollover. You need to update to the current revision.

    If you installed the script through SVN, then use the svn update command. Or right click in the script manager and choose update from the menu.

    If you did not install through SVN, then go to the script manager to install it.

  10. #30
    Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default

    Thanks!

Similar Threads

  1. 12991: Item drop rates for Trick or Treating
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 10-29-2013, 06:13 PM
  2. Replies: 0
    Last Post: 10-26-2013, 12:50 PM
  3. Replies: 0
    Last Post: 10-25-2013, 04:13 PM
  4. Replies: 0
    Last Post: 10-25-2013, 11:52 AM
  5. Bug haunted house postion effects not working in mood when trick-or-treating
    By maximillian the red in forum Bug Reports
    Replies: 7
    Last Post: 12-24-2011, 08:11 PM

Posting Permissions

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