I'm new to using macros and still learning javascript. My DM is pro and has enabled ammo tracking in our game (5e dnd) and I'm trying to get as much use out of it as I can. My character is a drunk, with a constant supply of alcohol and constantly using it up. I've created a macro that allows me to make a Con save and display an emote every time I drink. I'm trying to set it up so that it subtracts 1 resource (Liquor) from my inventory as well, but cannot find any examples so far where someone has done something similar. is it possible? what am I doing wrong? much thanks.