I really liked your script, macman. Especially the datafile it produced, and the record you used for each bountyhunt option.
I added a boolean to your record, which I use to indicate if -combats or +combats is preferred for that particular bountyhunt. I have updated the datafile, and attached it (and the script to produce it) to this post.
I have also written a script to generally facilitate scripted bountyhunting, although it will not actually do your bountyhunting for you. Of particular interest is a function which will report which bountyhunts are available, so you can make 'smart' scripted decisions as to which bountyhunt to take.
Code:
# returns a map of bountyinfo objects
# each one represents one of todays bounty hunting options
# the first one is the 'easy' one, third one is the 'hard' one
BountyInfo [int] bounty_options ()
There are several other useful bountyhunt related functions.
Code:
# accept a given bounty hunt with the BHH
boolean accept_bounty(item acceptplz)
# return true if you have an outstanding hunt
boolean have_bountyhunt()
# return true if you've completed a hunt today
boolean done_bountyhunt()
# just in case you want to cancel
void cancel_bountyhunt()
# just in case you forget your current bounty
BountyInfo current_bounty()
And finally (this one is still undergoing testing)
Code:
boolean can_access_hunt(BountyInfo hunt)
This final function attempts to figure out if you can access the particular bountyhunt zone.
It's possible that this warrants its own thread, but its definitely inherited from macmans script, so I put it here.
Perhaps someone else will find it useful!
EDIT: the first attached script is my script, the second attached one is macmans slightly modified script to produce the third attached file.
EDIT:Updated the data generation script, and the data to better handle Olfaction usage. The only update to the actual library file is to handle this updated data. No new functions for the library, basically. See this post for details