# SPDX-FileCopyrightText: 2024 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 Plykiya <58439124+Plykiya@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Southbridge <7013162+southbridge-fur@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Spanky <scott@wearejacob.com>
# SPDX-FileCopyrightText: 2024 Spessmann <156740760+Spessmann@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ubaser <134914314+UbaserB@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Ko4ergaPunk <nikitako4erga3i5@gmail.com>
# SPDX-FileCopyrightText: 2025 SX-7 <sn1.test.preria.2002@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# I couldn't figure out how randomsprite works so this mess was created!!!
# Also pointlight masks were probably created by yakub or some shit to fuck with people holy god
# Pointlight masks were coded in hell and sent up to us ong
- type: entity
  id: SpawnerChristmasLightsWhite
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: _Goobstation/Objects/Specific/Christmas/lights.rsi
        state: base1
  - type: RandomSpawner
    offset: 0.0
    prototypes:
    - ChristmasLightsWhite1
    - ChristmasLightsWhite2
    - ChristmasLightsWhite3
    - ChristmasLightsWhite4
    - ChristmasLightsWhite5
    - ChristmasLightsWhite6

- type: entity
  id: SpawnerChristmasLightsRed
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: _Goobstation/Objects/Specific/Christmas/lights.rsi
        state: base1
        color: "#ff7878"
  - type: RandomSpawner
    offset: 0.0
    prototypes:
    - ChristmasLightsRed1
    - ChristmasLightsRed2
    - ChristmasLightsRed3
    - ChristmasLightsRed4
    - ChristmasLightsRed5
    - ChristmasLightsRed6

- type: entity
  id: SpawnerChristmasLightsBlue
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: green
      - sprite: _Goobstation/Objects/Specific/Christmas/lights.rsi
        state: base1
        color: "#2A8FBD"
  - type: RandomSpawner
    offset: 0.0
    prototypes:
    - ChristmasLightsBlue1
    - ChristmasLightsBlue2
    - ChristmasLightsBlue3
    - ChristmasLightsBlue4
    - ChristmasLightsBlue5
    - ChristmasLightsBlue6

- type: entity
  id: ChristmasLightsWhite1
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base1
      - state: lights1
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsWhite2
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base2
      - state: lights2
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsWhite3
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base3
      - state: lights3
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsWhite4
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base4
      - state: lights4
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsWhite5
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base5
      - state: lights5
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsWhite6
  description: Some white Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base6
      - state: lights6
  - type: PointLight
    color: "#f9f375"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed1
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base1
      - state: lights1
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed2
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base2
      - state: lights2
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed3
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base3
      - state: lights3
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed4
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base4
      - state: lights4
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed5
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base5
      - state: lights5
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsRed6
  description: Some red Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base6
      - state: lights6
        color: "#ff7878"
  - type: PointLight
    color: "#fc8d8d"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue1
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base1
      - state: lights1
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue2
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base2
      - state: lights2
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue3
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base3
      - state: lights3
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue4
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base4
      - state: lights4
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue5
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base5
      - state: lights5
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png

- type: entity
  id: ChristmasLightsBlue6
  description: Some blue Christmas lights.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: "/Textures/_Goobstation/Objects/Specific/Christmas/lights.rsi"
    layers:
      - state: base6
      - state: lights6
        color: "#2A8FBD"
  - type: PointLight
    color: "#61accf"
    radius: 3
    energy: 4
    mask: /Textures/Effects/LightMasks/sparklemask.png