Skip to main content

CoinSubType

For EntityType.PICKUP (5), PickupVariant.COIN (20).

Enumeration Members

NULL

NULL = 0

Spawning coins with this sub-type will produce a random coin with the following probabilities:

  • CoinSubType.PENNY (1) - 92.63%
  • CoinSubType.NICKEL (2) - 4.68%
  • CoinSubType.DIME (3) - 1.00%
  • CoinSubType.DOUBLE_PACK (4) - 0.00% (never spawns)
  • CoinSubType.LUCKY_PENNY (5) - 0.94%
  • CoinSubType.STICKY_NICKEL (6) - 0.25%
  • CoinSubType.GOLDEN (7) - 0.50%

Defined in

collections/subTypes.ts:291


PENNY

PENNY = 1

Defined in

collections/subTypes.ts:293


NICKEL

NICKEL = 2

Defined in

collections/subTypes.ts:294


DIME

DIME = 3

Defined in

collections/subTypes.ts:295


DOUBLE_PACK

DOUBLE_PACK = 4

Defined in

collections/subTypes.ts:296


LUCKY_PENNY

LUCKY_PENNY = 5

Defined in

collections/subTypes.ts:297


STICKY_NICKEL

STICKY_NICKEL = 6

Defined in

collections/subTypes.ts:298


GOLDEN

GOLDEN = 7

Defined in

collections/subTypes.ts:299