gurps
gurps copied to clipboard
Fixed spot for currency
It's being hard in my games manager the currency. Players can create an item for currency with diferent names or diferent positions in trackers so my macros can't handle with it. Could be possible we have an object for it like _token.actor.system.currency ??
As has been talked about many times, there is no single currency concept in GURPS.
Fantasy settings can use various coins (gold, silver & copper).
But more modern settings might just have dollars (or reals 😊).
And futuristic settings might deal with galactic credits.
So we can't really have a single attribute that represents all of the currency.
As for your issue, you could ask all of your players to add a special keyword to the name (or notes). I don't know, but maybe "$" would work.
And then you could use: GURPS.recurselist(GURPS.LastActor.system.equipment.carried, (e,k,d) -> { if (e.name.contains("$"))
Let total = e.cost * e.count
Or something like that (I'm not at my computer atm)
GURPS.recurselist(GURPS.LastActor.system.equipment.carried, (e, key, d) => {
if (e.name.includes("$"))
total = e.cost * e.count
console.log(`Your have ${total} ${e.name}`)
})
Thanks i created another solution. Is too much complicated for me to handle theses objects so i create a macro using flags to keep the track so i can increase or decrease the value.