Hi all, hope I'm posting this in the right place. I am trying to replicate the Resident Evil 4 puzzle where the players have to manipulate liquids in 3 vials correctly to progress (for reference, search Resident Evil 2 Remake Liquid Solution Machine puzzle).
My initial hope was to use to create a token for the liquid container, have all three bars visible, and have custom token macros for the liquid container that would split, swap and reset the bar values to replicate the RE2 puzzle. I tried doing this initially with TokenMod, but you can't get bar values (only set them) or store the current bar values as variables with TokenMod, which is important for the puzzle to update dynamically when the players split/swap the values.
I also tried PowerCards, as you can create variables with that API, but there doesn't seem to be any way to get/set bar values in that one either. I tried looking at AlterBars as well, but it doesn't seem to be in the Mod Library and I'm not sure how to install it manually (as you can tell, I'm new to Roll20 APIs).
Is there an API that could do the above? As in be able to get and set bar values, while also being able to store them as variables? Or is there a method of doing it with TokenMod and PowerCards that I haven't considered?