Adds shiny crystal for salvage and decoration (#15643)

This commit is contained in:
T-Stalker
2023-04-22 04:10:50 -03:00
committed by GitHub
parent a4aa8c21f6
commit 108d7d9cb4
8 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
- type: entity
id: CrystalGreen
parent: BaseStructure
name: green crystal
description: It's a shiny green crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_green
netsync: false
- type: PointLight
radius: 3
energy: 3
color: "#06DF24"
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- type: entity
id: CrystalPink
parent: CrystalGreen
name: pink crystal
description: It's a shiny pink crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_pink
- type: PointLight
radius: 3
energy: 3
color: "#DF06DC"
- type: entity
id: CrystalGrey
parent: CrystalGreen
name: grey crystal
description: It's a shiny grey crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_grey
- type: PointLight
radius: 3
energy: 3
color: "#C1B0C1"
- type: entity
id: CrystalOrange
parent: CrystalGreen
name: orange crystal
description: It's a shiny orange crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_orange
- type: PointLight
radius: 3
energy: 3
color: "#E8820F"
- type: entity
id: CrystalBlue
parent: CrystalGreen
name: blue crystal
description: It's a shiny blue crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_blue
- type: PointLight
radius: 3
energy: 3
color: "#1843D4"
- type: entity
id: CrystalCyan
parent: CrystalGreen
name: cyan crystal
description: It's a shiny cyan crystal.
components:
- type: Sprite
sprite: Structures/Decoration/crystal.rsi
state: crystal_cyan
- type: PointLight
radius: 3
energy: 3
color: "#18C9D4"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

View File

@@ -0,0 +1,29 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/fd35c5efa6973db72eaa646c3e653d230b8412ca/icons/obj/mining.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "crystal_green"
},
{
"name": "crystal_pink"
},
{
"name": "crystal_orange"
},
{
"name": "crystal_blue"
},
{
"name": "crystal_cyan"
},
{
"name": "crystal_grey"
}
]
}