efilnikufecin
Member
This Ash scriptlet is meant for those of us who have large scripts which use Location names a lot.
Simply import this script into your script, or copy/paste it to the top of your script.
Usage:
Replace all instances of $location[location name] with the equivalent variable name declared in this script. Later, when kolmafia changes (I'm sure there was a good reason for it) the repair process will be shortened down to just these occurrences (hopefully). If you want to see the real need for this, see cjswimmers softcore ascention script. http://kolmafia.us/index.php/topic,11.0.html Try to fix it for the new versions of kolmafia! Ouch!
Edit: if someone could modify this to use location number instead of name, we might never have to fix this problem again ;D
Edit2: it's missing a few. I see that I missed the sewer locations, but I'm still trying to figure out the name the newest kolmafia will accept for them.
Edit3: it's still missing a few, but I finally looked at the main interface for the correct name for the sewer adventures. These have been added.
Simply import this script into your script, or copy/paste it to the top of your script.
Usage:
Replace all instances of $location[location name] with the equivalent variable name declared in this script. Later, when kolmafia changes (I'm sure there was a good reason for it) the repair process will be shortened down to just these occurrences (hopefully). If you want to see the real need for this, see cjswimmers softcore ascention script. http://kolmafia.us/index.php/topic,11.0.html Try to fix it for the new versions of kolmafia! Ouch!
Edit: if someone could modify this to use location number instead of name, we might never have to fix this problem again ;D
Edit2: it's missing a few. I see that I missed the sewer locations, but I'm still trying to figure out the name the newest kolmafia will accept for them.
Edit3: it's still missing a few, but I finally looked at the main interface for the correct name for the sewer adventures. These have been added.