I've gotten most of the way through the IsleWar again with my SC guy, so I could really watch the item use at work. I finished the filthworm sidequest in an astonishing 7 adventures! Yay items! And as usual when I actually get the chance to USE this difficult-to-test script, I thought of more ways to improve it. So here we are:
version 1.3.3.
First, as mentioned above I rewrote the junkyard script to use mafia's properties, which means it needed fewer variables. I also did some other things to it, the most functionally important thing being that your ccs will now work against gremlins once OCW determines it doesn't have a tool. It also no longer unnecessarily visits Yossarian, thanks to mafia properties.
And some tweaks for item usage on all sidequests:
[*]Switch to your chosen outfit
after using items, in case of outfit switching to buy something. (mafia
does not switch back to your previous outfit after buying something!!)
[*]Check for existing effects before using items. So if you still have "fresh scent", it won't unnecessarily use another deodorant.
Some item/optimization additions:
[*]added deodorant to GMOB hunting
[*]added summon greed demon to nuns
[*]added winklered to nuns, in the event that buff is available
And various other changes:
[*]Added more useful battlefield statistics between combats, including the number of adventures remaining (as a float). It ought to always end in .0, but if this number ever changes to x
.5, your count or your warplan is off somehow and you're quite possibly screwed for getting the Wossname.
[*]Removed repeat loop from GMOB hunting, relying instead on mafia properties.
[*]
obtain() now attempts to pull from storage, so if for some reason you're still in Ronin when running this script, OCW may use up some of your daily pulls. This is probably a nonissue for most.
[*]Re-simplified filthworm code. (This is the version that finished the quest for me in 7 adventures and about 15 seconds...)
[*]Return previous outfit on script exit.
@dangerpin: one more: I realized the ending is a little anticlimactic, so I added a short countdown before getting the Wossname.