Different crystals type update (#816)

* crystals update

* fixes

* fixes

* hehehe
This commit is contained in:
Ed
2025-01-28 18:05:15 +03:00
committed by GitHub
parent 42627a0c33
commit 2bb465cb8b
46 changed files with 1159 additions and 636 deletions

View File

@@ -2,7 +2,6 @@ cp14-modifier-gold-ore = gold ore
cp14-modifier-iron-ore = iron ore
cp14-modifier-copper-ore = copper ore
cp14-modifier-mithril-ore = mithril ore
cp14-modifier-quartz-crystal = quartz crystals
cp14-modifier-dayflin = dayflins
cp14-modifier-fly-agaric = fly agaric
cp14-modifier-blue-amanita = azure amanita

View File

@@ -2,7 +2,6 @@ cp14-modifier-gold-ore = золотой руды
cp14-modifier-iron-ore = железной руды
cp14-modifier-copper-ore = медной руды
cp14-modifier-mithril-ore = мифриловой руды
cp14-modifier-quartz-crystal = кварцевых кристаллов
cp14-modifier-dayflin = днецветов
cp14-modifier-fly-agaric = мухоморов
cp14-modifier-blue-amanita = лазурной аманиты

View File

@@ -139,36 +139,6 @@
- ReagentId: CP14WildSageSap
Quantity: 15
- type: entity
id: CP14QuartzShard
parent: BaseItem
name: rough quartz
description: a natural crystal that is a natural storage of magical energy. Its color reflects the quality of the crystal - the higher the emission spectrum, the higher the level of energy leakage.
categories: [ ForkFiltered ]
components:
- type: Tag
tags:
- CP14FitInMortar
- type: Item
size: Tiny
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: shard
map: ["random"]
- type: RandomSprite
available:
- random:
shard: ""
shard2: ""
shard3: ""
shard4: ""
- type: Extractable
juiceSolution:
reagents:
- ReagentId: CP14GroundQuartz
Quantity: 7
- type: entity
id: CP14LumiMushroom
parent: CP14WildProduceBase

View File

@@ -21,11 +21,6 @@
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14QuartzShard:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight

View File

@@ -0,0 +1,129 @@
- type: entity
id: CP14CrystalBase
abstract: true
parent: BaseRock
name: sparkling quartz
description: Natural quartz crystals that can absorb the magical energy of the world around them.
categories: [ ForkFiltered ]
components:
- type: Sprite
drawdepth: Mobs
offset: 0, 0.25
noRot: true
- type: InteractionPopup
interactSuccessString: popup-cp14crystal-ding
messagePerceivedByOthers: popup-cp14crystal-ding
interactSuccessSound:
collection: CP14CrystalDings
params:
variation: 0.03
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- BulletImpassable
- Opaque
- type: PointLight
netSync: false
- type: entity
parent: CP14CrystalBase
id: CP14CrystalBigBase
abstract: true
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_big.rsi
layers:
- state: big1
shader: unshaded
map: ["random"]
- type: InteractionPopup
interactSuccessSound:
collection: CP14CrystalDings
params:
pitch: 0.5
variation: 0.03
- type: PointLight
radius: 2
energy: 2.5
- type: RandomSprite
available:
- random:
big0: Inherit
big1: Inherit
big2: Inherit
- type: entity
parent: CP14CrystalBase
id: CP14CrystalMediumBase
abstract: true
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_medium.rsi
layers:
- state: medium4
shader: unshaded
map: ["random"]
- type: InteractionPopup
interactSuccessSound:
collection: CP14CrystalDings
params:
pitch: 1
variation: 0.03
- type: PointLight
radius: 1.5
energy: 2
- type: RandomSprite
available:
- random:
medium0: Inherit
medium1: Inherit
medium2: Inherit
medium3: Inherit
medium4: Inherit
- type: entity
parent: CP14CrystalBase
id: CP14CrystalSmallBase
abstract: true
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_small.rsi
layers:
- state: small1
shader: unshaded
map: ["random"]
- type: InteractionPopup
interactSuccessSound:
collection: CP14CrystalDings
params:
pitch: 1.5
variation: 0.03
- type: PointLight
radius: 1.1
energy: 2
- type: RandomSprite
available:
- random:
small0: Inherit
small1: Inherit
small2: Inherit
small3: Inherit
small4: Inherit
small5: Inherit
- type: Appearance

View File

@@ -0,0 +1,636 @@
# Water
- type: entity
id: CP14CrystalWaterBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of cold and water.
components:
- type: PointLight
color: "#5eabeb"
- type: Sprite
color: "#5eabeb"
- type: entity
id: CP14CrystalElementalWaterSmall
suffix: Water, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalWaterBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardWater:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalWaterMedium
suffix: Water, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalWaterBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardWater:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalWaterBig
suffix: Water, Big
parent:
- CP14CrystalBigBase
- CP14CrystalWaterBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardWater:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Healing
- type: entity
id: CP14CrystalHealingBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of life.
components:
- type: PointLight
color: "#3de063"
- type: Sprite
color: "#3de063"
- type: entity
id: CP14CrystalElementalHealingSmall
suffix: Healing, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalHealingBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardHealing:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalHealingMedium
suffix: Healing, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalHealingBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardHealing:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalHealingBig
suffix: Healing, Big
parent:
- CP14CrystalBigBase
- CP14CrystalHealingBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardHealing:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Fire
- type: entity
id: CP14CrystalFireBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of fire.
components:
- type: PointLight
color: "#ed731c"
- type: Sprite
color: "#ed731c"
- type: entity
id: CP14CrystalElementalFireSmall
suffix: Fire, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalFireBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardFire:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalFireMedium
suffix: Fire, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalFireBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardFire:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalFireBig
suffix: Fire, Big
parent:
- CP14CrystalBigBase
- CP14CrystalFireBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardFire:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Light
- type: entity
id: CP14CrystalLightBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of light.
components:
- type: PointLight
color: "#f1c7ff"
- type: Sprite
color: "#f1c7ff"
- type: entity
id: CP14CrystalElementalLightSmall
suffix: Light, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalLightBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardLight:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalLightMedium
suffix: Light, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalLightBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardLight:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalElementalLightBig
suffix: Light, Big
parent:
- CP14CrystalBigBase
- CP14CrystalLightBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardLight:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Electric
- type: entity
id: CP14CrystalElectricBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of electricity.
components:
- type: PointLight
color: "#e6ff6b"
- type: Sprite
color: "#e6ff6b"
- type: Electrified
requirePower: false
shockTime: 8
- type: entity
id: CP14CrystalElementalElectricSmall
suffix: Electric, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalElectricBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardElectric:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Electrified
shockTime: 2
- type: entity
id: CP14CrystalElementalElectricMedium
suffix: Electric, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalElectricBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardElectric:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Electrified
shockTime: 4
- type: entity
id: CP14CrystalElementalElectricBig
suffix: Electric, Big
parent:
- CP14CrystalBigBase
- CP14CrystalElectricBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardElectric:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Electrified
shockTime: 6
# Darkness
- type: entity
id: CP14CrystalDarknessBase
abstract: true
description: Natural quartz crystals that can absorb the magical energy of the world around them. This crystal seems to have absorbed the energy of darkness.
components:
- type: PointLight
color: "#e8ffb5"
- type: Sprite
color: "#391c57"
- type: entity
id: CP14CrystalElementalDarknessSmall
suffix: Darkness, Small
parent:
- CP14CrystalSmallBase
- CP14CrystalDarknessBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_small.rsi
layers:
- state: small1
map: ["random"]
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardDarkness:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
energy: -2
- type: entity
id: CP14CrystalElementalDarknessMedium
suffix: Darkness, Medium
parent:
- CP14CrystalMediumBase
- CP14CrystalDarknessBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_medium.rsi
layers:
- state: medium4
map: ["random"]
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardDarkness:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
energy: -2
- type: entity
id: CP14CrystalElementalDarknessBig
suffix: Darkness, Big
parent:
- CP14CrystalBigBase
- CP14CrystalDarknessBase
components:
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardDarkness:
min: 2
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
energy: -2

View File

@@ -0,0 +1,81 @@
- type: entity
id: CP14CrystalShardBase
parent: BaseItem
abstract: true
name: quartz shard
description: Natural quartz crystals that can absorb the magical energy of the world around them.
categories: [ ForkFiltered ]
components:
- type: Tag
tags:
- CP14FitInMortar
- type: Item
size: Tiny
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_shard.rsi
layers:
- state: shard0
map: ["random"]
- type: RandomSprite
available:
- random:
shard0: ""
shard1: ""
shard2: ""
shard3: ""
- type: Extractable
juiceSolution:
reagents:
- ReagentId: CP14GroundQuartz
Quantity: 7
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardWater
suffix: Water
components:
- type: Sprite
color: "#5eabeb"
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardHealing
suffix: Healing
components:
- type: Sprite
color: "#3de063"
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardFire
suffix: Fire
components:
- type: Sprite
color: "#ed731c"
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardLight
suffix: Light
components:
- type: Sprite
color: "#f1c7ff"
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardElectric
suffix: Electric
components:
- type: Sprite
color: "#e6ff6b"
- type: Electrified
requirePower: false
shockTime: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardDarkness
suffix: Darkness
components:
- type: Sprite
color: "#391c57"

View File

@@ -205,82 +205,6 @@
loot:
All: CP14GatherLumiMushroom
- type: entity
parent: BaseRock
id: CP14QuartzCrystal
name: quartz
description: Quartz is an essential mineral capable of interacting with magical energy. It is highly sought after by alchemists for extracting beneficial properties from liquids
categories: [ ForkFiltered ]
components:
- type: Transform
anchored: true
- type: Sprite
drawdepth: Mobs
sprite: _CP14/Structures/crystal.rsi
offset: 0, 0.25
noRot: true
layers:
- state: big
map: ["random"]
- type: InteractionPopup
interactSuccessString: popup-cp14crystal-ding
messagePerceivedByOthers: popup-cp14crystal-ding
interactSuccessSound:
collection: CP14CrystalDings
params:
variation: 0.03
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
CP14QuartzShard:
min: 1
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: RandomSprite
available:
- random:
big: ""
medium: ""
small: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- BulletImpassable
- Opaque
# Blue amanita
- type: entityLootTable

View File

@@ -38,11 +38,6 @@
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14QuartzShard:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Fixtures
@@ -72,6 +67,8 @@
parent: CP14WallmountCrystalBase
suffix: Red
components:
- type: Sprite
color: "#ff3d0b"
- type: RandomSprite
cP14InheritBaseColor: "#ff3d0b"
- type: PointLight
@@ -82,6 +79,8 @@
parent: CP14WallmountCrystalBase
suffix: Yellow
components:
- type: Sprite
color: "#ffe269"
- type: RandomSprite
cP14InheritBaseColor: "#ffe269"
- type: PointLight
@@ -92,6 +91,8 @@
parent: CP14WallmountCrystalBase
suffix: Green
components:
- type: Sprite
color: "#30be81"
- type: RandomSprite
cP14InheritBaseColor: "#30be81"
- type: PointLight
@@ -102,6 +103,8 @@
parent: CP14WallmountCrystalBase
suffix: Cyan
components:
- type: Sprite
color: "#5eabeb"
- type: RandomSprite
cP14InheritBaseColor: "#5eabeb"
- type: PointLight
@@ -112,6 +115,8 @@
parent: CP14WallmountCrystalBase
suffix: Purple
components:
- type: Sprite
color: "#a878d1"
- type: RandomSprite
cP14InheritBaseColor: "#a878d1"
- type: PointLight
@@ -122,348 +127,9 @@
parent: CP14WallmountCrystalBase
suffix: White
components:
- type: Sprite
color: "#f8f8f8"
- type: RandomSprite
cP14InheritBaseColor: "#f8f8f8"
- type: PointLight
color: "#f8f8f8"
# Floor Crystal
- type: entity
id: CP14CrystalBase
abstract: true
parent: BaseRock
name: sparkling quartz
description: bioluminescent quartz crystals that can take on any color - a very handy light source in a deep caves. Unfortunately, the luminous properties are very hard to preserve.
categories: [ ForkFiltered ]
components:
- type: Sprite
drawdepth: Mobs
sprite: _CP14/Structures/crystal.rsi
offset: 0, 0.25
layers:
- state: big
shader: unshaded
noRot: true
- type: InteractionPopup
interactSuccessString: popup-cp14crystal-ding
messagePerceivedByOthers: popup-cp14crystal-ding
interactSuccessSound:
collection: CP14CrystalDings
params:
variation: 0.03
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 80
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14QuartzShard:
min: 1
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- BulletImpassable
- Opaque
- type: PointLight
radius: 2
energy: 2
- type: entity
id: CP14CrystalRubiesSmall
parent: CP14CrystalBase
suffix: Red, Small
components:
- type: PointLight
color: "#ff3d0b"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#ff3d0b"
- type: entity
id: CP14CrystalRubiesMedium
parent: CP14CrystalBase
suffix: Red, Medium
components:
- type: PointLight
color: "#ff3d0b"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#ff3d0b"
- type: entity
id: CP14CrystalRubiesBig
parent: CP14CrystalBase
suffix: Red, Big
components:
- type: PointLight
color: "#ff3d0b"
radius: 2.5
energy: 3
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#ff3d0b"
- type: entity
id: CP14CrystalTopazesSmall
parent: CP14CrystalBase
suffix: Yellow, Small
components:
- type: PointLight
color: "#ffe269"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#ffe269"
- type: entity
id: CP14CrystalTopazesMedium
parent: CP14CrystalBase
suffix: Yellow, Medium
components:
- type: PointLight
color: "#ffe269"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#ffe269"
- type: entity
id: CP14CrystalTopazesBig
parent: CP14CrystalBase
suffix: Yellow, Big
components:
- type: PointLight
color: "#ffe269"
radius: 2.5
energy: 3
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#ffe269"
- type: entity
id: CP14CrystalEmeraldsSmall
parent: CP14CrystalBase
suffix: Green, Small
components:
- type: PointLight
color: "#30be81"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#30be81"
- type: entity
id: CP14CrystalEmeraldsMedium
parent: CP14CrystalBase
suffix: Green, Medium
components:
- type: PointLight
color: "#30be81"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#30be81"
- type: entity
id: CP14CrystalEmeraldsBig
parent: CP14CrystalBase
suffix: Green, Big
components:
- type: PointLight
color: "#30be81"
radius: 2.5
energy: 3
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#30be81"
- type: entity
id: CP14CrystalSapphiresSmall
parent: CP14CrystalBase
suffix: Cyan, Small
components:
- type: PointLight
color: "#5eabeb"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#5eabeb"
- type: entity
id: CP14CrystalSapphiresMedium
parent: CP14CrystalBase
suffix: Cyan, Medium
components:
- type: PointLight
color: "#5eabeb"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#5eabeb"
- type: entity
id: CP14CrystalSapphiresBig
parent: CP14CrystalBase
suffix: Cyan, Big
components:
- type: PointLight
color: "#5eabeb"
radius: 2.5
energy: 3
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#5eabeb"
- type: entity
id: CP14CrystalAmethystsSmall
parent: CP14CrystalBase
suffix: Purple, Small
components:
- type: PointLight
color: "#a878d1"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#a878d1"
- type: entity
id: CP14CrystalAmethystsMedium
parent: CP14CrystalBase
suffix: Purple, Medium
components:
- type: PointLight
color: "#a878d1"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#a878d1"
- type: entity
id: CP14CrystalAmethystsBig
parent: CP14CrystalBase
suffix: Purple, Big
components:
- type: PointLight
color: "#a878d1"
radius: 2.5
energy: 3
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#a878d1"
- type: entity
id: CP14CrystalDiamondsSmall
parent: CP14CrystalBase
suffix: White, Small
components:
- type: PointLight
color: "#f8f8f8"
radius: 1.5
energy: 2
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: small
color: "#f8f8f8"
- type: entity
id: CP14CrystalDiamondsMedium
parent: CP14CrystalBase
suffix: White, Medium
components:
- type: PointLight
color: "#f8f8f8"
radius: 2
energy: 2.5
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: medium
color: "#f8f8f8"
- type: entity
id: CP14CrystalDiamondsBig
parent: CP14CrystalBase
suffix: White, Big
components:
- type: PointLight
color: "#f8f8f8"
- type: Sprite
sprite: _CP14/Structures/crystal.rsi
layers:
- state: big
color: "#f8f8f8"
color: "#f8f8f8"

View File

@@ -54,12 +54,12 @@
offset: 0.05
chance: 0.5
prototypes:
- CP14CrystalAmethystsSmall
- CP14CrystalAmethystsSmall
- CP14CrystalAmethystsSmall
- CP14CrystalAmethystsMedium
- CP14CrystalAmethystsMedium
- CP14CrystalAmethystsBig
- CP14CrystalElementalDarknessSmall
- CP14CrystalElementalDarknessSmall
- CP14CrystalElementalDarknessSmall
- CP14CrystalElementalDarknessMedium
- CP14CrystalElementalDarknessMedium
- CP14CrystalElementalDarknessBig
rareChance: 0.05
#rarePrototypes:
# - MobCatShadow

View File

@@ -1,158 +1,207 @@
# TIER 1
- type: cp14DemiplaneModifier
id: QuartzCrystal
tiers:
- 1
name: cp14-modifier-quartz-crystal
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14QuartzCrystal
count: 30
minGroupSize: 1
maxGroupSize: 2
# TIER 2
- type: cp14DemiplaneModifier
id: QuartzCrystalRubies
id: CrystalFire
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
requiredTags: #TODO: Hot places
- CP14DemiplaneOres
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalRubiesMedium
entity: CP14CrystalElementalFireSmall
count: 30
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalElementalFireMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalElementalFireBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: QuartzCrystalTopazes
id: CrystalElectric
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
- CP14FloorSand
entity: CP14CrystalTopazesMedium
entity: CP14CrystalElementalElectricSmall
count: 30
minGroupSize: 1
maxGroupSize: 2
- type: cp14DemiplaneModifier
id: QuartzCrystalEmeralds
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalEmeraldsMedium
count: 30
minGroupSize: 1
maxGroupSize: 2
- type: cp14DemiplaneModifier
id: QuartzCrystalSapphires
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalSapphiresMedium
count: 30
minGroupSize: 1
maxGroupSize: 2
- type: cp14DemiplaneModifier
id: QuartzCrystalAmethysts
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalAmethystsMedium
count: 30
minGroupSize: 1
maxGroupSize: 2
- type: cp14DemiplaneModifier
id: QuartzCrystalDiamonds
tiers:
- 1
- 2
- 3
name: cp14-modifier-quartz-crystal
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
layers:
maxGroupSize: 3
- !type:OreDunGen
tileMask:
- CP14FloorBase
- CP14FloorSand
entity: CP14CrystalDiamondsMedium
entity: CP14CrystalElementalElectricMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
tileMask:
- CP14FloorBase
- CP14FloorSand
entity: CP14CrystalElementalElectricBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalHealing
tiers:
- 1
- 2
- 3
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneHerbals
layers:
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalElectricSmall
count: 30
minGroupSize: 1
maxGroupSize: 2
maxGroupSize: 3
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalElectricMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalElectricBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalWater
tiers:
- 1
- 2
- 3
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneWater
#TODO Cold places filter
layers:
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalWaterSmall
count: 30
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalWaterMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14CrystalElementalWaterBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalDarkness
tiers:
- 1
- 2
- 3
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
entity: CP14CrystalElementalDarknessSmall
count: 30
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
entity: CP14CrystalElementalDarknessMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
entity: CP14CrystalElementalDarknessBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalLight
tiers:
- 1
- 2
- 3
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOpenSky
layers:
- !type:OreDunGen
entity: CP14CrystalElementalLightSmall
count: 30
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
entity: CP14CrystalElementalLightMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
entity: CP14CrystalElementalLightBig
count: 10
minGroupSize: 1
maxGroupSize: 1

View File

@@ -34,14 +34,14 @@
result: CP14MithrilBar1
knowledgeRequired: MetallMelting
- type: CP14Recipe
id: CP14GlassSheet1
tag: CP14RecipeMeltingFurnace
craftTime: 4
entities:
CP14QuartzShard: 1
result: CP14GlassSheet1
knowledgeRequired: Glasswork
#- type: CP14Recipe
# id: CP14GlassSheet1
# tag: CP14RecipeMeltingFurnace
# craftTime: 4
# entities:
# CP14QuartzShard: 1
# result: CP14GlassSheet1
# knowledgeRequired: Glasswork
- type: CP14Recipe
id: CP14GlassSheetShard1

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

View File

@@ -0,0 +1,20 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "big0"
},
{
"name": "big1"
},
{
"name": "big2"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "medium0"
},
{
"name": "medium1"
},
{
"name": "medium2"
},
{
"name": "medium3"
},
{
"name": "medium4"
}
]
}

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "shard0"
},
{
"name": "shard1"
},
{
"name": "shard2"
},
{
"name": "shard3"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

View File

@@ -0,0 +1,29 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "small0"
},
{
"name": "small1"
},
{
"name": "small2"
},
{
"name": "small3"
},
{
"name": "small4"
},
{
"name": "small5"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 900 B

View File

@@ -1,41 +0,0 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "by malanisa (discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "big"
},
{
"name": "medium"
},
{
"name": "small"
},
{
"name": "big_R"
},
{
"name": "medium_R"
},
{
"name": "small_R"
},
{
"name": "shard"
},
{
"name": "shard2"
},
{
"name": "shard3"
},
{
"name": "shard4"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

View File

@@ -215,10 +215,28 @@ CP14PlateIron: CP14Plate
CP14BaseLightHammer: CP14ModularIronHammer
CP14BaseBattleHammer: CP14ModularIronHammer
#2025-28-01
CP14CrystalRubiesSmall: CP14CrystalElementalFireSmall
CP14CrystalRubiesMedium: CP14CrystalElementalFireMedium
CP14CrystalRubiesBig: CP14CrystalElementalFireBig
CP14CrystalTopazesSmall: CP14CrystalElementalElectricSmall
CP14CrystalTopazesMedium: CP14CrystalElementalElectricMedium
CP14CrystalTopazesBig: CP14CrystalElementalElectricBig
CP14CrystalEmeraldsSmall: CP14CrystalElementalHealingSmall
CP14CrystalEmeraldsMedium: CP14CrystalElementalHealingMedium
CP14CrystalEmeraldsBig: CP14CrystalElementalHealingBig
CP14CrystalSapphiresSmall: CP14CrystalElementalWaterSmall
CP14CrystalSapphiresMedium: CP14CrystalElementalWaterMedium
CP14CrystalSapphiresBig: CP14CrystalElementalWaterBig
CP14CrystalAmethystsSmall: CP14CrystalElementalDarknessSmall
CP14CrystalAmethystsMedium: CP14CrystalElementalDarknessMedium
CP14CrystalAmethystsBig: CP14CrystalElementalDarknessBig
CP14CrystalDiamondsSmall: CP14CrystalElementalLightSmall
CP14CrystalDiamondsMedium: CP14CrystalElementalLightMedium
CP14CrystalDiamondsBig: CP14CrystalElementalLightBig
CP14QuartzCrystal: null
CP14QuartzShard: null
# <---> CrystallEdge migration zone end