loathers / autoscend

An ascension script for KoLMafia
Other
44 stars 63 forks source link

Wildfire support #892

Open Rinn opened 2 years ago

Rinn commented 2 years ago

Please add comments to this issue of what you would like to see added to support Wildfire, I'm going to ascend in a few days and work on minimal support while getting the factoids.

JamesDowney commented 2 years ago

The big two issues in my mind are the ambient damage and the prevention of drops like goat cheese and the mohawk wig - stuff that is necessary/highly beneficial but not actually a guaranteed drop.

taltamir commented 2 years ago

at max fire there is 100% chance that item drops get destroyed. this is more of an issue in hardcore than in softcore as we can pull stuff in the latter. So we basically need to figure out if we are doing a zone that needs fire reduction and if so, reduce it.

edit: well this comment aged poorly. Yea I was being silly here. this should not rely on pulls

taltamir commented 2 years ago

wiki page https://kol.coldfront.net/thekolwiki/index.php/Wildfire

mafia forums new content thread: https://kolmafia.us/threads/wildfire-fall-2021-challenge-path.26268/

new mafia variables:

_wildfireBarrelHarvested
wildfireBarrelCaulked
wildfireDusted
wildfireFracked
wildfirePumpGreased
wildfireSprinkled

$location[name].fire_level == current fire level at name

new mafia functions:

int my_wildfire_water()
taltamir commented 2 years ago

from discord autoscend doesn't seem to know that "Groar, except hot" is hot, which would explain why it keeps dying to it...

resolved #904

taltamir commented 2 years ago

904

adds initial implementation of wildfire. it is not yet optimal but it is playable. the various necessary functions are in place. including a bunch of workarounds for stuff mafia does not do yet.

it has bits and bobs too like some combat improvements. but not all of them. for example I did not address groar yet.

the current state is: step 1: pull 5k meat or a single 1970 caret gold nugget to sell so that we have enough meat to grease the pump and grease it. if we are in hardcore it will instead play normal in fire 5 areas until 2nd floor is unlocked in spookyraven and then it will farm some meat in the haunted bedroom until it can buy pump grease

steel margarita route: step 2: play in fire 5 until we are done with friars and have unlocked azazel my belle quest. hose down laugh floor and infernal rackets backstage and do that quest. step 3: spend 60 adv pumping water to use the dust (all outdoor areas reduced to fire 2) and frack (all underground areas reduced to fire 2) step 4: play normally

no steel route: step 2: spend 60 adv pumping water to use the dust (all outdoor areas reduced to fire 2) and frack (all underground areas reduced to fire 2) step 3: play normally

This is mostly based on the wiki list of locations that have necessary items. Although the list is clearly not complete as for example the two zones needed for steel margarita are not listed.

I still need to test it. but in theory this works now, and is playable, and is not too catastrophically so. Further optimizations and pathing should be done in a followup PR in my opinion

As for what further optimization are... I want to add path specific pathing. get rid of the fracking so we only spend 20 adv on crop dusting. Instead of fracking all underground zones we will selectively hose down underground zones as needed. per wiki there are 5 mandatory underground zones to hose down

taltamir commented 2 years ago

more wildfire

914 = hardcore improvements

917 = hotfix inf loop

918 = hardcore improvements

TODO: wildfire adjust boss combat to use normal pathway instead of a complete override via puzzle boss. this enables some iotms wildfire add spade as you go to check what it thinks groar's resistances are.

taltamir commented 2 years ago

Wildfire needs proper automation for getting the war outfit in hardcore. In softcore we just pull it.

There are several tracking issues with mafia that combine into making this a mess.

  1. every time you visit captain hangk any unreachable zone is reset to fire level 5. this is a big problem for zones whose reachability is transient and depends on your outfit. talisman o namislat, continuum transfunctioner, war outfits, etc. reported upstream by ckb here https://kolmafia.us/threads/wildfire-fall-2021-challenge-path.26268/#post-163709

  2. mafia incorrectly identifies L12 quest zones in an inconsistent manner. when war has not yet started, if you are wearing a disguise and go to hippy camp it will incorrect think you are not in disguise. if you are wearing a disguise and go to frat house it will incorrectly think the war already started. This does not break adventuring, as it just replaces automatically with your currently available zone. it does matter for trying to track fire levels. Especially due to the hangk bug above. reported upstream by me https://kolmafia.us/threads/wildfire-fall-2021-challenge-path.26268/page-2#post-164670

With both of those issues combined, I am going to just tell the user to manually do that bit and then re-run autoscend. at least as a stopgap measure for now. If mafia does not fix it we can implement our own tracking later. Ideally this will get fixed in mafia