# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Weide <64257676+Lyacs@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# Goob porter comment, could be nice to make it so it can work with a wire system like in paradise
# Ported from Harmony

- type: entity
  parent: [GrenadeBase, FoodBoxPizza]
  id: FoodBoxPizzaBomb
  name: pizza box
  suffix: Bomb
  description: A cardboard box for storing things.
  components:
  - type: Sprite
    sprite: _Goobstation/Objects/Weapons/Bombs/Pizzabomb.rsi
    layers:
    - state: icon
    - state: primed
      map: ["enum.TriggerVisualLayers.Base"]
  - type: OnUseTimerTrigger
    delay: 100
    examinable: false
    initialBeepDelay: 0
    beepSound: /Audio/Machines/microwave_done_beep.ogg
  - type: RandomTimerTrigger
    min: 0.5
    max: 0.5
  - type: ExplodeOnTrigger
  - type: Explosive # Weak explosion in a very small radius. Doesn't break underplating.
    explosionType: Default
    totalIntensity: 130
    intensitySlope: 10
    maxIntensity: 10
    canCreateVacuum: false
  - type: Appearance
  - type: TimerTriggerVisuals