To use, import the script (It currently only supports items 1-1497)
Edit2: Removed since format changed. See below for new instructions
Note: You will need to edit 2 data files in mafia for it to work. Check the KoLmafia thread in the KoL forums for the changes you need to make. (They were typo errors in the data files so thats why they are posted in the mafia thread)
http://forums.kingdomofloathing.com/viewtopic.php?p=1662895#1662895
Edit: Edit2: Removed since changed script.
Edit2: To use this scriptlet, import it into your ASH script.
To find a items number in a Int then use
To find a items number in a String then use
OR you can just use int_to_string and then use the ItemToIntNumber (I have uploaded 2 files, one with only the int return and another with both int and string returns)
Remember you still need to update your dat files manually, see the link above.
Edit3: Ok realised that people might want the pure string version (Instead of having to use the one mixed with the Int for the people messing with URL's) Uploaded.
Edit4: Fixed the script to work with the "new" ice-cold beer names.
Edit2: Removed since format changed. See below for new instructions
Note: You will need to edit 2 data files in mafia for it to work. Check the KoLmafia thread in the KoL forums for the changes you need to make. (They were typo errors in the data files so thats why they are posted in the mafia thread)
http://forums.kingdomofloathing.com/viewtopic.php?p=1662895#1662895
Edit: Edit2: Removed since changed script.
Edit2: To use this scriptlet, import it into your ASH script.
To find a items number in a Int then use
Code:
ItemToIntNumber( $item[*Item Name*])
To find a items number in a String then use
Code:
ItemToStringNumber( $item[*Item Name*])
Remember you still need to update your dat files manually, see the link above.
Edit3: Ok realised that people might want the pure string version (Instead of having to use the one mixed with the Int for the people messing with URL's) Uploaded.
Edit4: Fixed the script to work with the "new" ice-cold beer names.