readCreditedCoins
readCreditedCoins(
world,readCreditedCoinsOptions?):number
Every coin addCoins has credited on world, to any entity: a count
that only rises from 0 since the world was made. A spend never lowers
it, and a wallet a save restores or a game sets by hand never raises
it. A match scores its rise while it plays; a scoreboard or a quest
can count coins earned the same way. With player, the player’s own
count: the coins credited to the player and to what stood for the
player. 0 on a page in a room, where the room credits every coin.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
readCreditedCoinsOptions |
ReadCreditedCoinsOptions |
Returns
Section titled “Returns”number