@@ -1,9 +1,22 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
abstract: true
|
id: LightPostSmall
|
||||||
|
name: post light
|
||||||
|
description: "An always powered light."
|
||||||
|
suffix: Always Powered
|
||||||
parent: BaseStructure
|
parent: BaseStructure
|
||||||
id: BaseLightStructure
|
|
||||||
components:
|
components:
|
||||||
- type: InteractionOutline
|
- type: Sprite
|
||||||
|
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
||||||
|
snapCardinals: true
|
||||||
|
drawdepth: Objects
|
||||||
|
noRot: true
|
||||||
|
layers:
|
||||||
|
- map: ["enum.PoweredLightLayers.Base"]
|
||||||
|
state: base
|
||||||
|
- map: ["enum.PoweredLightLayers.Glow"]
|
||||||
|
state: glow
|
||||||
|
shader: unshaded
|
||||||
|
state: base
|
||||||
- type: Fixtures
|
- type: Fixtures
|
||||||
fixtures:
|
fixtures:
|
||||||
fix1:
|
fix1:
|
||||||
@@ -16,6 +29,13 @@
|
|||||||
layer:
|
layer:
|
||||||
- MidImpassable
|
- MidImpassable
|
||||||
- LowImpassable
|
- LowImpassable
|
||||||
|
- type: PointLight
|
||||||
|
radius: 10
|
||||||
|
energy: 2.5
|
||||||
|
softness: 0.9
|
||||||
|
color: "#EEEEFF"
|
||||||
|
- type: Anchorable
|
||||||
|
- type: InteractionOutline
|
||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
damageModifierSet: Metallic
|
damageModifierSet: Metallic
|
||||||
@@ -43,41 +63,16 @@
|
|||||||
sound:
|
sound:
|
||||||
collection: MetalGlassBreak
|
collection: MetalGlassBreak
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: BaseLightStructure
|
|
||||||
id: LightPostSmall
|
|
||||||
name: post light
|
|
||||||
description: "An always powered light."
|
|
||||||
suffix: Always Powered
|
|
||||||
components:
|
|
||||||
- type: Construction
|
|
||||||
graph: LightFixture
|
|
||||||
node: groundLight
|
|
||||||
- type: Sprite
|
|
||||||
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
|
||||||
snapCardinals: true
|
|
||||||
layers:
|
|
||||||
- state: on
|
|
||||||
map: ["enum.PoweredLightLayers.Base"]
|
|
||||||
state: on
|
|
||||||
- type: PointLight
|
|
||||||
radius: 10
|
|
||||||
energy: 0.8
|
|
||||||
softness: 1
|
|
||||||
offset: "0, -0.5"
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PoweredLightPostSmallEmpty
|
id: PoweredLightPostSmallEmpty
|
||||||
name: post light
|
name: post light
|
||||||
description: "A small light post."
|
description: "A small light post."
|
||||||
suffix: Empty
|
suffix: Empty
|
||||||
parent: BaseLightStructure
|
parent: LightPostSmall
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
||||||
layers:
|
state: empty
|
||||||
- state: off
|
|
||||||
map: ["enum.PoweredLightLayers.Base"]
|
|
||||||
- type: PointLight
|
- type: PointLight
|
||||||
enabled: false
|
enabled: false
|
||||||
- type: PoweredLight
|
- type: PoweredLight
|
||||||
@@ -107,6 +102,12 @@
|
|||||||
- type: PoweredLightVisuals
|
- type: PoweredLightVisuals
|
||||||
blinkingSound:
|
blinkingSound:
|
||||||
path: "/Audio/Machines/light_tube_on.ogg"
|
path: "/Audio/Machines/light_tube_on.ogg"
|
||||||
|
spriteStateMap:
|
||||||
|
empty: empty
|
||||||
|
off: base
|
||||||
|
on: base
|
||||||
|
broken: broken
|
||||||
|
burned: burned
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PoweredLightPostSmall
|
id: PoweredLightPostSmall
|
||||||
@@ -116,16 +117,43 @@
|
|||||||
parent: PoweredLightPostSmallEmpty
|
parent: PoweredLightPostSmallEmpty
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
state: base
|
||||||
- state: off
|
- type: PointLight
|
||||||
map: [ "enum.PoweredLightLayers.Base" ]
|
enabled: true
|
||||||
- type: PoweredLight
|
- type: PoweredLight
|
||||||
hasLampOnSpawn: LightTube
|
hasLampOnSpawn: LightTube
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Heat: 20
|
Heat: 20
|
||||||
- type: PointLight
|
- type: StaticPrice
|
||||||
enabled: true
|
price: 25
|
||||||
|
- type: AmbientOnPowered
|
||||||
|
- type: AmbientSound
|
||||||
|
volume: -15
|
||||||
|
range: 3
|
||||||
|
sound:
|
||||||
|
path: /Audio/Ambience/Objects/light_hum.ogg
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: PoweredLEDLightPostSmall
|
||||||
|
name: post light
|
||||||
|
description: "A light fixture. Draws power and produces light when equipped with a light tube."
|
||||||
|
suffix: LED
|
||||||
|
parent: PoweredLightPostSmallEmpty
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
state: base
|
||||||
|
- type: PointLight
|
||||||
|
enabled: true
|
||||||
|
radius: 15
|
||||||
|
energy: 1
|
||||||
|
softness: 0.9
|
||||||
|
color: "#EEEEFF"
|
||||||
|
- type: PoweredLight
|
||||||
|
hasLampOnSpawn: LedLightTube
|
||||||
|
damage:
|
||||||
|
types:
|
||||||
|
Heat: 20
|
||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 25
|
price: 25
|
||||||
- type: AmbientOnPowered
|
- type: AmbientOnPowered
|
||||||
|
|||||||
@@ -1274,7 +1274,7 @@
|
|||||||
description: A ground light fixture. Use light bulbs.
|
description: A ground light fixture. Use light bulbs.
|
||||||
icon:
|
icon:
|
||||||
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
|
||||||
state: off
|
state: base
|
||||||
objectType: Structure
|
objectType: Structure
|
||||||
placementMode: SnapgridCenter
|
placementMode: SnapgridCenter
|
||||||
canRotate: false
|
canRotate: false
|
||||||
|
|||||||
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 858 B After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
@@ -5,22 +5,22 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "By Peptide90 for SS14. empy, broken and burnt versions by Nekomancer.",
|
"copyright": "by ko4erga (discord)",
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"name": "off"
|
"name": "broken"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "on"
|
"name": "burned"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "empty"
|
"name": "base"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "broken"
|
"name": "empty"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "burnt"
|
"name": "glow"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 313 B |