I posted this else where, but is there any interest in the following?
I wrote a loader program for bigshot. It uses XML and it lets you define hunting areas. You set a bunch of default settings as well as area specific settings.
Potentially, we could enter all this boundary info into a default.xml file and have a bunch of presets
A sample output at starting looks like
The XML file for this looks likeUsing Loader Settings File: /home/username/lich/data/vurtole.xml
Loaded default settings
Loaded Settings for landing - (08) burrow orcs
Loaded Settings for landing - (12) crystal golem
Loaded Settings for landing - (09) mainicores and thraks
Loaded Settings for landing - (20) fire rat, fire cat, warcat
Loaded Settings for landing - (18) fire rat, fire cat - run from warcat
Loaded Settings for landing - (16) fire guardian
Loaded Settings for landing - (15) ogre and trolls
Loaded Settings for solhaven - (16) fire guardians
Loaded Settings for solhaven - (27) cyclops
9 hunting areas found:
1: landing - (08) burrow orcs
2: landing - (09) mainicores and thraks
3: landing - (12) crystal golem
4: landing - (15) ogre and trolls
5: landing - (16) fire guardian
6: landing - (18) fire rat, fire cat - run from warcat
7: landing - (20) fire rat, fire cat, warcat
8: solhaven - (16) fire guardians
9: solhaven - (27) cyclops
select an area (;send <1-9>)
Code:<root> <default> <lootScript>waitloot</lootScript> <restingRoom>228</restingRoom> <restingStartMind>100</restingStartMind> <restingStartMana>0</restingStartMana> <restingStartEncumbrance>10</restingStartEncumbrance> <restingEndMind>80</restingEndMind> <restingEndMana>0</restingEndMana> <restingActiveScripts>useherbs, loot-be-gone, restroom, waggle</restingActiveScripts> <restingPrepareCommands>stow all</restingPrepareCommands> <woundedCheck>XMLData.injuries.any?{|key,value| value["wound"] > 0} || percenthealth <= 80</woundedCheck> <huntingPrepareCommands>stow all, get flam from my back</huntingPrepareCommands> <huntingAttackCommandsA>script universaltarg, attack(xx)</huntingAttackCommandsA> <huntingAttackCommandsB></huntingAttackCommandsB> <huntingAttackCommandsC></huntingAttackCommandsC> <huntingAttackCommandsAwaitingRest></huntingAttackCommandsAwaitingRest> <huntingStance>advance</huntingStance> <huntingActiveScripts></huntingActiveScripts> <approachLoneTarget>false</approachLoneTarget> <maxBeforeFleeCount>true</maxBeforeFleeCount> <fleeClouds>true</fleeClouds> </default> <huntingAreas> <huntingArea name="Landing - (08) Burrow Orcs"> <startingRoom>3757</startingRoom> <restingRoom>228</restingRoom> <boundaryRooms>7964, 7966, 3608, 14969</boundaryRooms> <targets>orc</targets> <huntingActiveSpells>506</huntingActiveSpells> </huntingArea> <huntingArea name="Landing - (12) Crystal Golem"> <startingRoom>8163</startingRoom> <restingRoom>228</restingRoom> <boundaryRooms>8180, 4337</boundaryRooms> <targets>golem</targets> </huntingArea> <huntingArea name="Landing - (09) Mainicores and Thraks"> <restingRoom>228</restingRoom> <startingRoom>4209</startingRoom> <boundaryRooms>4208, 8022, 4267, 4214, 4339, 4302</boundaryRooms> <targets>manticore, thrak</targets> </huntingArea> <huntingArea name="Landing - (20) Fire Rat, Fire Cat, Warcat"> <restingRoom>228</restingRoom> <startingRoom>6385</startingRoom> <boundaryRooms>6384, 6405</boundaryRooms> <targets>rat, cat, warcat</targets> </huntingArea> <huntingArea name="Landing - (18) Fire Rat, Fire Cat - Run from Warcat"> <restingRoom>228</restingRoom> <startingRoom>6385</startingRoom> <boundaryRooms>6395, 6384</boundaryRooms> <targets>rat, cat</targets> <fleeMonsterNames>warcat</fleeMonsterNames> </huntingArea> <huntingArea name="Landing - (16) Fire Guardian"> <restingRoom>228</restingRoom> <startingRoom>4122</startingRoom> <boundaryRooms>7902, 4121, 7905</boundaryRooms> <targets>guardian</targets> </huntingArea> <huntingArea name="Landing - (15) Ogre and Trolls"> <restingRoom>228</restingRoom> <startingRoom>1344</startingRoom> <boundaryRooms>1343, 1370</boundaryRooms> <targets>ogre, troll</targets> </huntingArea> <huntingArea name="Solhaven - (16) Fire Guardians"> <startingRoom>5167</startingRoom> <restingRoom>1438</restingRoom> <boundaryRooms>5166, 5178, 5180</boundaryRooms> <targets>guardian</targets> </huntingArea> <huntingArea name="Solhaven - (27) Cyclops"> <startingRoom>5368</startingRoom> <restingRoom>1438</restingRoom> <boundaryRooms>5363</boundaryRooms> <targets>cyclops</targets> <maxBeforeFleeCount>1</maxBeforeFleeCount> <approachLoneTarget>true</approachLoneTarget> </huntingArea> </huntingAreas> </root>