findCoinOverflow
findCoinOverflow(
world,entity,coinOverflowOptions):number|undefined
The first of amounts that, credited to entity one by one in their
order, would leave its wallet, or the coins world has credited, at
no finite number; undefined where every one lands. What addCoins
checks, and what an item’s use reads before its first effect lands, so
a credit it cannot make leaves the item unspent. Each sum is the one
addCoins makes, since a sum of the amounts can round to a finite
balance where the credits in turn overflow it. A match’s score is a
rise in the world’s count, so a finite count keeps every score finite.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
entity |
Entity |
coinOverflowOptions |
CoinOverflowOptions |
Returns
Section titled “Returns”number | undefined