Add a way to get the players coins

Can we have a way to get the players coins so we can use it for custom UIs. Since vending machines still only take mats or coins it would be a good QOL feature.

Yeah that would be great