- type: entity
  id: Telebaton
  name: telebaton
  parent: BaseItem
  description: A compact yet robust personal defense weapon.
  components:
  - type: ItemToggle
    soundActivate:
      path: /Audio/Weapons/telescopicon.ogg
      params:
        volume: -5
    soundDeactivate:
      path: /Audio/Weapons/telescopicoff.ogg
      params:
        volume: -5
  - type: ItemToggleSize
    activatedSize: Normal
    activatedShape:
    - 0,0,0,2
  - type: DisarmMalus
    malus: 0.225
  - type: Sprite
    sprite: _Sunrise/Objects/Weapons/Melee/telebaton.rsi
    layers:
    - state: telebaton_off
      map: [ "enum.ToggleableVisuals.Layer" ]
  - type: ItemToggleMeleeWeapon
    activatedDamage:
      types:
        Blunt: 3
    deactivatedSecret: true
  - type: MeleeWeapon
    attackRate: 1
    wideAnimationRotation: -135
    damage:
      types:
        Blunt: 0
  - type: Telescopicbaton
  - type: StaminaDamageOnHit
    damage: 20
  - type: UseDelay
    delay: 0.4
  - type: EmitSoundOnPickup
    sound:
      path: /Audio/_Sunrise/Items/Handling/Telebatons/pickup.ogg
  - type: EmitSoundOnDrop
    sound:
      path: /Audio/_Sunrise/Items/Handling/Telebatons/drop.ogg
  - type: EmitSoundOnLand
    sound:
      path: /Audio/_Sunrise/Items/Handling/Telebatons/drop.ogg
  - type: Item
    sprite: _Sunrise/Objects/Weapons/Melee/telebaton.rsi
    size: Small
    shape:
    - 0,0,0,0
  - type: Appearance
  - type: GenericVisualizer
    visuals:
     enum.ToggleableVisuals.Enabled:
        enum.ToggleableVisuals.Layer:
          True: {state: telebaton_on}
          False: {state: telebaton_off}
  - type: StaticPrice
    price: 100
