- type: entity
  id: SpaceBlade
  parent: GasTankBase
  name: SpaceBlade
  description: Let it drip!
  abstract: true
  components:
  - type: GasTank
    outputPressure: 0.1
    maxOutputPressure: 0.1
    valveOutputRate: 50
    air:
      volume: 1
      moles:
         Oxygen: 0.4101137219
      temperature: 293.15
  - type: Physics
    bodyType: Dynamic
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.25,-0.25,0.25,0.25"
        density: 0.1
        mask:
        - TableMask # Should collide with tables (MidImpassible, Impassible)
        - ItemMask
        - DoorPassable
        layer:
        - DoorPassable
  - type: Item
    size: Small
    sprite: _NF/Objects/Fun/spaceblade.rsi
  - type: Sprite
    sprite: _NF/Objects/Fun/spaceblade.rsi
    state: redorange
    scale: 0.5, 0.5
  - type: EmitSoundOnCollide
    sound:
      path: /Audio/Items/desk_bell_ring.ogg
      params:
        variation: 0.65
        volume: -5
  - type: MeleeWeapon
    damage:
      types:
        Slash: 2

# starcup - added new names and descriptions.

- type: entity
  id: SpaceBladeRedOrange
  parent: SpaceBlade
  name: RedOrange Blade # starcup
  description: "Officially titled \"Fire Blade\", this Blade was dubbed \"RedOrange\" by the community. The content creator who popularized the term explained during an interview: \"FireBlade sounds stupid, and people kept arguing about whether it was red or orange.\"" #Starcup

- type: entity
  id: SpaceBladeBlue
  parent: SpaceBlade
  name: Blue Blade # starcup
  description: "On episode 1 of SpaceBlade, Jimmy Spin is quoted saying \"Wow, I hope mine is green!\" before immediately receieving this." # starcup
  components:
  - type: Sprite
    state: blue

- type: entity
  id: SpaceBladeFrontier
  parent: SpaceBlade
  name: Frontier Blade # starcup
  description: "An advertisement in and of itself, bearing the logo of the Sector where SpaceBlades originated. On the side reads an inscription, \"Let it drip!\"" # starcup
  components:
  - type: Sprite
    state: frontier

- type: entity
  id: SpaceBladeGoldBlue
  parent: SpaceBlade
  name: GoldBlue Blade # starcup
  description: A fancy version of the Blue Blade, released in an attempt to resell unused stock. While it worked extremely well, the build quality was unfortunately questionable, and intact GoldBlues are uncommon. # starcup
  components:
  - type: Sprite
    state: goldblue

- type: entity
  id: SpaceBladeMail
  parent: SpaceBlade
  name: Mail Blade # starcup
  description: These Blades were a company gift from Hawkmoon Acquisitions to its couriers as a reward for exceeding qutoas. Unfortunately, a warehouse full of these was discovered, and their value vanished overnight. # starcup
  components:
  - type: Sprite
    state: mail

- type: entity
  id: SpaceBladeEyeball
  parent: SpaceBlade
  name: Eyeball Blade # starcup
  description: Originally a Halloween exclusive, these Blades were so popular that they became a year-round product. # starcup
  components:
  - type: Sprite
    state: eyeball

- type: entity
  id: SpaceBladeBlade
  parent: SpaceBlade
  name: Blade Blade # starcup
  description: "As the commercial says, \"It's got blades on it!\"" # starcup
  components:
  - type: Sprite
    state: blade

- type: entity
  id: SpaceBladeCheck
  parent: SpaceBlade
  name: Check Blade #starcup
  description: The first Blade to be exclusively available through blindboxes. # starcup
  components:
  - type: Sprite
    state: check

#- type: entity
#  id: SpaceBladeRune
#  parent: SpaceBlade
#  description: Birthday parties are yearly reminders that as soon as you're born you start dying, unless you let it rip
#  components:
#  - type: Sprite
#    state: rune

#- type: entity
#  id: SpaceBladeMc
#  parent: SpaceBlade
#  description: Let it McDrip
#  components:
#  - type: Sprite
#    state: mcblade
#  - type: EmitSoundOnUse
#    sound:
#      path: /Audio/Nyanotrasen/Machines/deepfryer_basket_add_item.ogg
#  - type: UseDelay
#    delay: 2.0
#  - type: EmitSoundOnCollide
#    sound:
#      path: /Audio/Nyanotrasen/Machines/deepfryer_basket_add_item.ogg
#      params:
#        variation: 0.65
#        volume: -5

- type: entity
  id: SpaceBladeSec
  parent: SpaceBlade
  name: Security Blade # starcup
  description: When the owner of the SpaceBlade franchise was wrongfully arrested after claims of copyright infringement, he made this Blade out of pure spite. # starcup
  components:
  - type: Sprite
    state: secblade

- type: entity
  id: SpaceBladeContra
  parent: SpaceBlade
  name: Gorlex Blade # starcup
  description: "SpaceBlade's attempt to appeal to its aging audience, this one is the result of a crossover with the controversial Nukies cartoon show. While its somewhat political source raises eyebrows, this Blade is popular for being the only official Blade that is fully cast in metal. On the side reads an engraving, \"Let it reap!\"" # starcup
  components:
  - type: Sprite
    state: contraband
  - type: DamageOtherOnHit
    damage:
      types:
        Slash: 0.5
  - type: PointLight
    enabled: true
    radius: 5
    color: "#3db83b"
  - type: StaticPrice
    price: 100

- type: entity
  id: SpaceBladeMoff
  parent: SpaceBlade
  name: Moff Blade # starcup
  description: The result of a crossover episode between SpaceBlade and Safety Moth, in an attempt to increase employee retention. It didn't work, but this is still a cute blade. # starcup
  components:
  - type: Sprite
    state: moff
  - type: EmitSoundOnUse
    sound:
      path: /Audio/Voice/Moth/moth_scream.ogg
  - type: UseDelay
    delay: 2.0
  - type: EmitSoundOnCollide
    sound:
      path: /Audio/Voice/Moth/moth_scream.ogg
      params:
        variation: 0.65
        volume: -5

- type: entity
  id: SpaceBladeWeh
  parent: SpaceBlade
  name: Weh Blade # starcup
  description: Originally a fan-made Blade, the concept was 'accidentally' used in SpaceBlade, episode 21. After community backlash, they agreed to settle it privately with the original creator, though nobody has heard from them since. # starcup
  components:
  - type: Sprite
    state: weh
  - type: EmitSoundOnUse
    sound:
      path: /Audio/Items/Toys/weh.ogg
  - type: UseDelay
    delay: 1.0
  - type: EmitSoundOnCollide
    sound:
      path: /Audio/Items/Toys/weh.ogg
      params:
        variation: 0.65
        volume: -5

- type: entity
  id: SpaceBladeTesla
  parent: SpaceBlade
  name: TeslaBlade # starcup
  description: The first 'Godhood' Blade introduced in the show, prophecy states that whoever wields this blade wields the key to the universe. Whatever that means... # starcup
  components:
  - type: Sprite
    state: tesla
  - type: PointLight
    enabled: true
    radius: 5
    color: "#4080FF"
  - type: Electrified
    shockDamage: 0
    shockTime: 0.8
    requirePower: false
  - type: EmitSoundOnCollide
    sound:
      path: /Audio/Effects/Lightning/lightningshock.ogg
      params:
        variation: 0.65
        volume: -10

- type: entity
  id: SpaceBladePizza
  parent: [SpaceBlade]
  name: Pizza Blade # starcup
  description: This one comes with a scratch-and-sniff...it smells like cardboard. Great. # starcup
  components:
  - type: Sprite
    state: pizza

- type: entity
  id: SpaceBladeSingularity
  parent: SpaceBlade
  name: Singularity Blade # starcup
  description: The second 'Godhood' Blade, this one is destined to consume all of reality. It was revealed in the season finale of SpaceBlade, as a cliffhanger for season 2. # starcup
  components:
  - type: Sprite
    state: singularity
  - type: SingularityDistortion
    intensity: 500
    falloffPower: 5
  - type: GravityAnomaly
  - type: GravityWell
    baseRadialAcceleration: 1
    maxRange: 1

- type: entity
  id: SpaceBladeClown
  parent: SpaceBlade
  name: Honk Blade # starcup
  description: "Released on April Fools day with the simple advertisement: \"Slippery when wet.\"" # starcup
  components:
  - type: Sprite
    state: clown
  - type: Slippery
    slipData:
      knockdownTime: 0.5
      launchForwardsMultiplier: 2
  - type: StepTrigger
    intersectRatio: 0.2
  - type: CollisionWake
    enabled: false
  - type: GasTank
    outputPressure: 0.1
    maxOutputPressure: 0.1
    valveOutputRate: 50
    air:
      volume: 1
      moles:
         NitrousOxide: 0.4101137219
      temperature: 293.15
