Okay, for some unknown reason Thieving stalls isn't possible, but all my other first-click object code works.
What happens is; when the stall is clicked the default 'nothing interesting is happening' message appears and no actions are started. This has NOTHING to do with the EXP being set to 0.
Code:
if(objectID == 2561
&& absX >= 2654 && absX <= 2669 && absY >= 3313 && absY <= 3309)
{
if(System.currentTimeMillis() - lastCheck >= 1500)
{
setAnimation(832);
addItem(cake_Stall(), 1);
EXP(0, 17);
MSG("You steal a Cake from the Cake stall.");
lastCheck = System.currentTimeMillis();
}
}