- type: entity
  abstract: true
  parent: BaseItem
  id: PrizeTicketBase
  description: A prize ticket, ready to be redeemed at a prize counter.
  components:
  - type: Sprite
    sprite: _NF/Objects/Fun/prizeticket.rsi
  - type: Item
    sprite: _NF/Objects/Fun/prizeticket.rsi
    size: Tiny
  - type: StaticPrice
    price: 0
  - type: Tag
    tags:
    - Sheet
    - PrizeTicket

- type: entity
  parent: PrizeTicketBase
  id: PrizeTicket
  name: prize ticket
  suffix: Full
  components:
  - type: Material
  - type: PhysicalComposition
    materialComposition:
      PrizeTicket: 1
  - type: Stack
    count: 100
    stackType: PrizeTicket
    baseLayer: base
    layerStates:
    - ticket
    - ticket_2
    - ticket_3
    - ticket_4
  - type: Sprite
    state: ticket_4
    layers:
    - state: ticket_4
      map: ["base"]
  - type: Item
    heldPrefix: prize ticket
  - type: Appearance

- type: entity
  parent: PrizeTicket
  id: PrizeTicket10
  name: prize ticket
  suffix: 10
  components:
  - type: Sprite
    state: ticket
  - type: Stack
    stackType: PrizeTicket
    count: 10

- type: entity
  parent: PrizeTicket
  id: PrizeTicket30
  name: prize ticket
  suffix: 30
  components:
  - type: Sprite
    state: ticket
  - type: Stack
    stackType: PrizeTicket
    count: 30

- type: entity
  parent: PrizeTicket
  id: PrizeTicket60
  name: prize ticket
  suffix: 60
  components:
  - type: Sprite
    state: ticket
  - type: Stack
    stackType: PrizeTicket
    count: 60

- type: entity
  parent: PrizeTicket
  id: PrizeTicket1
  name: prize ticket
  suffix: Single
  components:
  - type: Sprite
    state: ticket
  - type: Stack
    stackType: PrizeTicket
    count: 1

- type: entity
  parent: PresentRandom
  id: PrizeBall
  name: prize ball
  description: I wounder whats inside!
  components:
  - type: Sprite
    sprite: _NF/Objects/Fun/prizeticket.rsi
    layers:
      - state: prizeball
  - type: SpawnItemsOnUse
    items:
      - id: PresentTrash
      - id: PrizeTicket10
        orGroup: Prize
      - id: PrizeTicket30
        prob: 0.80
        orGroup: Prize
      - id: PlushieHampter
        prob: 0.80
        orGroup: Prize
      - id: PlushieVulp
        prob: 0.80
        orGroup: Prize
      - id: PlushieMoth
        prob: 0.80
        orGroup: Prize
      - id: PlushieBee
        prob: 0.80
        orGroup: Prize
      - id: PlushieLizard
        prob: 0.80
        orGroup: Prize
      - id: PlushieSpaceLizard
        prob: 0.80
        orGroup: Prize
      - id: PlushieSpaceLizard
        prob: 0.80
        orGroup: Prize
      - id: PlushieVox
        orGroup: Prize
        prob: 0.80
      - id: PlushieMoth
        orGroup: Prize
        prob: 0.80
      - id: PlushieMoffsician
        orGroup: Prize
        prob: 0.80
      - id: PlushieMoffbar
        orGroup: Prize
        prob: 0.80
      - id: PlushieDiona
        orGroup: Prize
        prob: 0.80
      - id: PlushieSharkGrey
        orGroup: Prize
        prob: 0.80
      - id: PlushieSharkBlue
        orGroup: Prize
        prob: 0.80
      - id: PlushieSharkPink
        orGroup: Prize
        prob: 0.80
      - id: PlushieRatvar
        orGroup: Prize
        prob: 0.80
      - id: PlushieNar
        orGroup: Prize
        prob: 0.80
      - id: PlushieSlime
        orGroup: Prize
        prob: 0.80
      - id: PlushieSnake
        orGroup: Prize
        prob: 0.80
      - id: PlushieCarp
        orGroup: Prize
        prob: 0.80
      - id: PlushieLamp
        orGroup: Prize
        prob: 0.80
      - id: PlushieAtmosian
        orGroup: Prize
        prob: 0.80
      - id: PlushieRouny
        orGroup: Prize
        prob: 0.80
      - id: PlushieXeno
        orGroup: Prize
        prob: 0.80
      - id: FaceHuggerPlushie
        orGroup: Prize
        prob: 0.80
      - id: PetRock
        orGroup: Prize
        prob: 0.80
      - id: PlushieGnome
        orGroup: Prize
        prob: 0.80
      - id: PlushieLoveable
        orGroup: Prize
        prob: 0.80
      - id: PlushieDeer
        orGroup: Prize
        prob: 0.80
      - id: PlushieIpc
        orGroup: Prize
        prob: 0.80
      - id: PlushieGrey
        orGroup: Prize
        prob: 0.80
      - id: PlushieRedFox
        orGroup: Prize
        prob: 0.80
      - id: PlushiePurpleFox
        orGroup: Prize
        prob: 0.80
      - id: PlushiePinkFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieOrangeFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieMarbleFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieCrimsonFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieCoffeeFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieBlueFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieBlackFox
        orGroup: Prize
        prob: 0.80
      - id: PlushieCorgi
        orGroup: Prize
        prob: 0.80
      - id: PlushieGirlyCorgi
        orGroup: Prize
        prob: 0.80
      - id: PlushieRobotCorgi
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatBlack
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatOrange
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatSiames
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatTabby
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatTuxedo
        orGroup: Prize
        prob: 0.80
      - id: PlushieCatWhite
        orGroup: Prize
        prob: 0.80
      - id: PrizeTicket
        prob: 0.20
        orGroup: Prize
      - id: PlushieRGBee
        prob: 0.20
        orGroup: Prize
      - id: PlushieAbductor
        prob: 0.20
        orGroup: Prize
      - id: PlushieAbductorAgent
        prob: 0.20
        orGroup: Prize
  - type: StaticPrice
    price: 20
    vendPrice: 500
