Skip to content

Commit

Permalink
MappingLightFix (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit0vras authored Feb 25, 2024
1 parent de3983f commit 2793ece
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 32 deletions.
24 changes: 12 additions & 12 deletions Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
description: A small piece of crystal.
components:
- type: Sprite
color: "#47f8ff"
color: "#7df9ff" #SS220-Mapping-Light-Fix, Электрик
- type: PointLight
radius: 2
energy: 2.5
color: "#47f8ff"
color: "#7df9ff" #SS220-Mapping-Light-Fix, Электрик
- type: Tag
tags:
- Trash
Expand All @@ -60,11 +60,11 @@
id: ShardCrystalBlue
components:
- type: Sprite
color: "#39a1ff"
color: "#5555ff" #SS220-Mapping-Light-Fix, Неоновый синий
- type: PointLight
radius: 2
energy: 2.5
color: "#39a1ff"
color: "#5555ff" #SS220-Mapping-Light-Fix, Неоновый синий
- type: Tag
tags:
- Trash
Expand All @@ -76,11 +76,11 @@
name: orange crystal shard
components:
- type: Sprite
color: "#ff8227"
color: "#ffa420" #SS220-Mapping-Light-Fix, Люминесцентный оранжевый
- type: PointLight
radius: 2
energy: 2.5
color: "#ff8227"
color: "#ffa420" #SS220-Mapping-Light-Fix, Люминесцентный оранжевый
- type: Tag
tags:
- Trash
Expand All @@ -92,11 +92,11 @@
name: pink crystal shard
components:
- type: Sprite
color: "#ff66cc"
color: "#fe019a" #SS220-Mapping-Light-Fix, Неоновый розовый
- type: PointLight
radius: 2
energy: 2.5
color: "#ff66cc"
color: "#fe019a" #SS220-Mapping-Light-Fix, Неоновый розовый
- type: Tag
tags:
- Trash
Expand All @@ -108,11 +108,11 @@
name: green crystal shard
components:
- type: Sprite
color: "#52ff39"
color: "#39ff14" #SS220-Mapping-Light-Fix, Неоновый зелёный
- type: PointLight
radius: 2
energy: 2.5
color: "#52ff39"
color: "#39ff14" #SS220-Mapping-Light-Fix, Неоновый зелёный
- type: Tag
tags:
- Trash
Expand All @@ -124,11 +124,11 @@
name: red crystal shard
components:
- type: Sprite
color: "#fb4747"
color: "#ff073a" #SS220-Mapping-Light-Fix, Неоновый красный
- type: PointLight
radius: 2
energy: 2.5
color: "#fb4747"
color: "#ff073a" #SS220-Mapping-Light-Fix, Неоновый красный
- type: Tag
tags:
- Trash
Expand Down
12 changes: 6 additions & 6 deletions Resources/Prototypes/Entities/Objects/Power/lights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
id: LightTubeCrystalCyan
components:
- type: LightBulb
color: "#47f8ff"
color: "#7df9ff" #SS220-Mapping-Light-Fix, Электрик
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand All @@ -269,7 +269,7 @@
id: LightTubeCrystalBlue
components:
- type: LightBulb
color: "#39a1ff"
color: "#5555ff" #SS220-Mapping-Light-Fix, Неоновый синий
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand All @@ -289,7 +289,7 @@
id: LightTubeCrystalPink
components:
- type: LightBulb
color: "#ff66cc"
color: "#fe019a" #SS220-Mapping-Light-Fix, Неоновый розовый
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand All @@ -309,7 +309,7 @@
id: LightTubeCrystalOrange
components:
- type: LightBulb
color: "#ff8227"
color: "#ffa420" #SS220-Mapping-Light-Fix, Люминесцентный оранжевый
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand All @@ -329,7 +329,7 @@
id: LightTubeCrystalRed
components:
- type: LightBulb
color: "#fb4747"
color: "#ff073a" #SS220-Mapping-Light-Fix, Неоновый красный
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand All @@ -349,7 +349,7 @@
id: LightTubeCrystalGreen
components:
- type: LightBulb
color: "#52ff39"
color: "#39ff14" #SS220-Mapping-Light-Fix, Неоновый зелёный
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
Expand Down
41 changes: 27 additions & 14 deletions Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@
- type: Sprite
state: base
- type: PointLight
radius: 10 #SS220-Mapping-Light-Fix
energy: 0.8 #SS220-Mapping-Light-Fix
softness: 1 #SS220-Mapping-Light-Fix
color: "#FFE4CE" #SS220-Mapping-Light-Fix
enabled: true
- type: PoweredLight
hasLampOnSpawn: LightTube
Expand Down Expand Up @@ -181,6 +185,11 @@
components:
- type: BloomLightMask # SS220 Grafon-Light
useLightColor: true
- type: PointLight
radius: 12 #SS220-Mapping-Light-Fix
energy: 4.5 #SS220-Mapping-Light-Fix
softness: 0.5 #SS220-Mapping-Light-Fix
color: "#B4FCF0" #SS220-Mapping-Light-Fix
- type: PoweredLight
hasLampOnSpawn: ExteriorLightTube
damage:
Expand Down Expand Up @@ -214,8 +223,8 @@
useLightColor: true
- type: PointLight
radius: 10
energy: 2.5
softness: 0.9
energy: 4 #SS220-Mapping-Light-Fix
softness: 0.5 #SS220-Mapping-Light-Fix
color: "#FFAF38"

- type: entity
Expand Down Expand Up @@ -335,6 +344,10 @@
state: base
- type: PointLight
enabled: true
color: "#FFAA66"
radius: 3.5 #SS220-Mapping-Light-Fix
energy: 0.9 #SS220-Mapping-Light-Fix
softness: 1.1 #SS220-Mapping-Light-Fix
- type: PoweredLight
hasLampOnSpawn: LightBulb
damage:
Expand Down Expand Up @@ -401,7 +414,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#47f8ff"
color: "#7df9ff" #SS220-Mapping-Light-Fix, Электрик

- type: entity
id: AlwaysPoweredlightCyan
Expand All @@ -412,7 +425,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#47f8ff"
color: "#7df9ff" #SS220-Mapping-Light-Fix, Электрик

- type: entity
id: PoweredlightBlue
Expand All @@ -428,7 +441,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#39a1ff"
color: "#5555ff" #SS220-Mapping-Light-Fix, Неоновый синий

- type: entity
id: AlwaysPoweredlightBlue
Expand All @@ -439,7 +452,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#39a1ff"
color: "#5555ff" #SS220-Mapping-Light-Fix, Неоновый синий

- type: entity
id: PoweredlightPink
Expand All @@ -455,7 +468,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#ff66cc"
color: "#fe019a" #SS220-Mapping-Light-Fix, Неоновый розовый

- type: entity
id: AlwaysPoweredlightPink
Expand All @@ -466,7 +479,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#ff66cc"
color: "#fe019a" #SS220-Mapping-Light-Fix, Неоновый розовый

- type: entity
id: PoweredlightOrange
Expand All @@ -482,7 +495,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#ff8227"
color: "#ffa420" #SS220-Mapping-Light-Fix, Люминесцентный оранжевый

- type: entity
id: AlwaysPoweredlightOrange
Expand All @@ -493,7 +506,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#ff8227"
color: "#ffa420" #SS220-Mapping-Light-Fix, Люминесцентный оранжевый

- type: entity
id: PoweredlightRed
Expand All @@ -509,7 +522,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#fb4747"
color: "#ff073a" #SS220-Mapping-Light-Fix, Неоновый красный

- type: entity
id: AlwaysPoweredlightRed
Expand All @@ -520,7 +533,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#fb4747"
color: "#ff073a" #SS220-Mapping-Light-Fix, Неоновый красный

- type: entity
id: PoweredlightGreen
Expand All @@ -536,7 +549,7 @@
radius: 8
energy: 3
softness: 0.5
color: "#52ff39"
color: "#39ff14" #SS220-Mapping-Light-Fix, Неоновый зелёный

- type: entity
id: AlwaysPoweredlightGreen
Expand All @@ -547,4 +560,4 @@
radius: 8
energy: 3
softness: 0.5
color: "#52ff39"
color: "#39ff14" #SS220-Mapping-Light-Fix, Неоновый зелёный

0 comments on commit 2793ece

Please sign in to comment.