Results 1 to 8 of 8

Thread: Allow changing equipment in a mood

  1. #1
    Senior Member Donavin69's Avatar
    Join Date
    Nov 2010
    Posts
    312

    Default Allow changing equipment in a mood

    I want to be able to change the equipment I'm actually wearing in my mood. I've tried it directly and I've tried it in a script, with the 'allow equipment changing when casting buffs' checked and unchecked. Is there something I'm missing to allow this? or is this just a new feature? (specifically, I want to have it do things like check my last fight, change to the correct equipment for the sea battle, and other things like, when I've gotten all the carrots the snowsuit can drop, change to something else...)

    Don
    Donavin69 is my main, I am "A" Don, but not "The" Don
    My Bumcheek Snapshot

    My Scripts:
    KingdomExplorer
    AutoPvP
    Omnivore
    clip_art

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    10,807

    Default

    Use a Before Adventure Script to make sure you are equipped for the sea, and an After Adventure Script to do things when you are done with your snowsuit.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  3. #3
    Senior Member Donavin69's Avatar
    Join Date
    Nov 2010
    Posts
    312

    Default

    When it changes my equipment, it changes it back before the adventure....

  4. #4
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    10,807

    Default

    What is "it" that "changes your equipment"?
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  5. #5
    Senior Member Donavin69's Avatar
    Join Date
    Nov 2010
    Posts
    312

    Default

    here is an example, I put this in my mood as an unconditional trigger, to make sure I have the best equipment I could based on my last maximizer:
    ashq maximize(split_string(get_property("maximizerMRULi st"),";")[0],false);

    in the cli:
    You acquire an effect: Wisdom of Thoth (10)
    Wisdom of Thoth was successfully cast.
    Maximizing...
    12 combinations checked, best score 5,245.00
    Putting on Knob Goblin harem pants...
    Equipment changed.
    Putting on continuum transfunctioner...
    Equipment changed.
    Taking off Knob Goblin harem pants...
    Equipment changed.
    Taking off continuum transfunctioner...
    Equipment changed.

    [40] The Typical Tavern Cellar (row 1, col 4)
    Last edited by Donavin69; 03-18-2015 at 05:15 PM. Reason: I noticed I pasted in the wrong verion of my command, it was supposed to be index 0 not 1

  6. #6
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,631

    Default

    That's not what Veracity told you to do in post 2... she said to use a BBS for setting pre-adventure requirements, and an AAS for setting post-battle equipment changes...

  7. #7
    Senior Member Donavin69's Avatar
    Join Date
    Nov 2010
    Posts
    312

    Default

    OK, I misunderstood, since I had tried switching my snowsuit in the after script it switched back, (I think Veracity meant to switch the snowsuit to something other than carrot, I meant to switch to my maypole)

    I just created a preAdventureScript, and it does my equipment changing.

    Thank you!

  8. #8

    Default

    I occasionally put gear changes into moods for convenience (like I have a hobopolis sewer one that acquires and equips a gatorskin umbrella if its consumed).

    I get round the equipment revert by adding
    Code:
    cli_execute("checkpoint clear")
    after the equipment change. That could potentially cause unwanted behaviour if mafia did any other pre-adventure equipment changes, but its worked fine for my purposes.

Similar Threads

  1. Bug - Waiting for Info MP Restoration and Equipment Changing (Travoltan Trousers mostly)
    By wrldwzrd89 in forum Bug Reports
    Replies: 47
    Last Post: 11-24-2014, 07:38 PM
  2. Replies: 0
    Last Post: 02-07-2012, 12:00 AM
  3. Feature - Rejected Vague error message when you can't complete your goal without changing equipment
    By Valliant in forum Bug Reports
    Replies: 3
    Last Post: 01-19-2012, 05:29 PM
  4. Feature Mood changing via relay browser
    By Salculd in forum Bug Reports
    Replies: 0
    Last Post: 05-22-2010, 07:00 AM
  5. Changing equipment in a between battle script. Is this possible?
    By Darkness in forum Item Handling Scripts
    Replies: 1
    Last Post: 02-15-2007, 03:07 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
  •