New Content - Implemented Wild West Twitch

Minin' Dynamite Amount Isn't Being Tracked Properly After Use

Description: When mining in the crimbo mine (and probably other mines, just haven't checked those) and if you have minin' dynamite in your inventory, the minin' dynamite gets used but the mafia amount for dynamite doesn't get reduced. This leads to the inventory amount of dynamite being of sync with the game

Steps to reproduce:
1) Closest all minin' dynamite
2) Acquire 1 minin' dynamite (either through mall or closest)
3) clicmd: item_amount minin' dynamite
4) Note it should say 1
5) Equip crimbo mining gear
6) Goto crimbo mine, mine one basic rock wall (note: minin' dynamite is not used when investigating a promising chunk of wall)
7) See message that dynamite was used: "You use a convenient stick of minin' dynamite to quickly and effortlessly blast away some rock."
8) cli cmd: item_amount minin' dynamite
9) Note it says 1 while in reality its 0

Effects: In scripts this improper tracking of dynamite causes a script to think you have dynamite when it doesn't, both when trying to store all dynamite get error that you don't have the amount you think, and when trying to mine for free.

Verified in build: r15028

See http://kolmafia.us/showthread.php?17161-Crimbo-Mining-Script for more info on initial discovery
 
Back
Top