Page 7 of 7 FirstFirst ... 5 6 7
Results 61 to 70 of 70

Thread: Trick-Or-Treating script

  1. #61
    Senior Member
    Join Date
    Jun 2016
    Posts
    232

    Default

    Well, considering the tot is the only familiar that currently matters for the noncombats, and you had to manually select your familiar for the combats anyway, that's good enough for me.

  2. #62

    Default

    The script doesn't need any changes. Just name your outfit "treat f=trick-or-treating tot" and you'll get your desired behavior with no script changes.

  3. #63
    Senior Member
    Join Date
    Jun 2016
    Posts
    232

    Default

    So then I would have to rename my trick outfit every time I want to use a different familiar for the combats? Yeah, then I definitely prefer my own alteration.
    Last edited by the dictator; 11-01-2016 at 02:44 AM.

  4. #64
    Senior Member
    Join Date
    Jun 2011
    Posts
    414

    Default

    The script doesn't need any changes. Just name your outfit "treat f=trick-or-treating tot" and you'll get your desired behavior with no script changes.
    Originally Posted by lostcalpolydude View Post
    What an awesome way to make this work without any change to the script. I just wanted to note that the "treat" outfit actually needs to use just "f=tot", or some other unique string, for the Tot's name. Using "treat f=trick-or-treating tot" will cause Mafia to equip the wrong outfit when the script calls outfit("trick") (because of collision on the word "trick").

  5. #65
    Senior Member
    Join Date
    Apr 2012
    Posts
    131

    Default

    Since that's kind of an obscure feature of Mafia, and the Tot will probably be the only useful familiar for lit houses for the foreseeable future, the script will now swap in the Tot for those, if you have her.

    In the unlikely event that you want to use some other familiar, do "set tricktreatLitFam = [some other familiar]". Set that to garbled nonsense or "none" to keep your current familiar.

  6. #66
    Senior Member
    Join Date
    Jan 2012
    Location
    Texas
    Posts
    410

    Default

    Since that's kind of an obscure feature of Mafia, and the Tot will probably be the only useful familiar for lit houses for the foreseeable future, the script will now swap in the Tot for those, if you have her.

    In the unlikely event that you want to use some other familiar, do "set tricktreatLitFam = [some other familiar]". Set that to garbled nonsense or "none" to keep your current familiar.
    Originally Posted by guyy View Post
    I know this is a little late but you want to convert that to use Veracity's new properties ASH commands.

  7. #67
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    I know this is a little late but you want to convert that to use Veracity's new properties ASH commands.
    Originally Posted by txrangersxx View Post
    Why? What commands would work better?
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  8. #68
    Senior Member
    Join Date
    Aug 2015
    Posts
    151

    Default

    Since that's kind of an obscure feature of Mafia, and the Tot will probably be the only useful familiar for lit houses for the foreseeable future, the script will now swap in the Tot for those, if you have her.

    In the unlikely event that you want to use some other familiar, do "set tricktreatLitFam = [some other familiar]". Set that to garbled nonsense or "none" to keep your current familiar.
    Originally Posted by guyy View Post
    Note: You need both "trick" and "treat" outfits saved for this to work. I tried without either, didn't switch to the Tot. With only "treat", didn't switch to the ToT either. With both it worked as expected.

  9. #69
    Senior Member
    Join Date
    Apr 2012
    Posts
    131

    Default

    That would be because I didn't notice that code block was a "only do this if switching outfits" section... Next time it should work without outfits. Though, I suspect most people just use the Tot for all the houses anyway.

    (If swapping outfits is a thing you want to do, you do need to have both "trick" and "treat" set. Mainly so that if you abort mid-block, it won't forget what the other outfit was.)
    Last edited by guyy; 03-27-2017 at 09:25 AM.

  10. #70
    Junior Member
    Join Date
    Oct 2017
    Posts
    1

    Default

    I mead the 3 outfits with exactly the names trick, treat and newblock but they dont seem to be getting equipped
    This line seems to not detect them

    if (count(outfit_pieces("trick")) > 0 && count(outfit_pieces("treat")) > 0)

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, 05:13 PM
  2. Replies: 0
    Last Post: 10-26-2013, 11:50 AM
  3. Replies: 0
    Last Post: 10-25-2013, 03:13 PM
  4. Replies: 0
    Last Post: 10-25-2013, 10: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
  •