This commit is contained in:
Ed
2025-02-04 19:42:24 +03:00
5 changed files with 154 additions and 17 deletions

View File

@@ -1,3 +1,113 @@
# Normal
- type: entity
id: CP14CrystalSmall
suffix: Normal, Small
parent: CP14CrystalSmallBase
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:
CP14CrystalShardBase:
min: 0
max: 1
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
enabled: false
- type: entity
id: CP14CrystalMedium
suffix: Normal, Medium
parent: CP14CrystalMediumBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_medium.rsi
layers:
- state: medium1
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:
CP14CrystalShardBase:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
enabled: false
- type: entity
id: CP14CrystalBig
suffix: Normal, Big
parent: CP14CrystalBigBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_big.rsi
layers:
- state: big1
map: ["random"]
- 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:
CP14CrystalShardBase:
min: 2
max: 3
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
enabled: false
# Water
- type: entity

View File

@@ -1,7 +1,6 @@
- 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 ]

View File

@@ -1,8 +1,37 @@
- type: cp14DemiplaneModifier
id: CrystalNormal
tiers:
- 1
generationWeight: 0.1
categories:
Reward: 0.1
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalSmall
count: 30
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalMedium
count: 20
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalBig
count: 10
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalFire
tiers:
- 1
- 2
- 3
generationWeight: 0.1
@@ -36,10 +65,11 @@
minGroupSize: 1
maxGroupSize: 1
# TIER 2
- type: cp14DemiplaneModifier
id: CrystalElectric
tiers:
- 1
- 2
- 3
generationWeight: 0.1
@@ -83,7 +113,6 @@
- type: cp14DemiplaneModifier
id: CrystalHealing
tiers:
- 1
- 2
- 3
generationWeight: 0.1
@@ -132,7 +161,6 @@
- type: cp14DemiplaneModifier
id: CrystalWater
tiers:
- 1
- 2
- 3
generationWeight: 0.1
@@ -181,7 +209,6 @@
- type: cp14DemiplaneModifier
id: CrystalDarkness
tiers:
- 1
- 2
- 3
generationWeight: 0.1
@@ -209,7 +236,6 @@
- type: cp14DemiplaneModifier
id: CrystalLight
tiers:
- 1
- 2
- 3
generationWeight: 0.1

View File

@@ -46,14 +46,16 @@
knowledge: MetallMelting
result: CP14MithrilBar1
#- type: CP14Recipe
# id: CP14GlassSheet1
# tag: CP14RecipeMeltingFurnace
# craftTime: 4
# entities:
# CP14QuartzShard: 1
# result: CP14GlassSheet1
# knowledgeRequired: Glasswork
- type: CP14Recipe
id: CP14GlassSheet1
tag: CP14RecipeMeltingFurnace
craftTime: 4
requirements:
- !type:ProtoIdResource
protoId: CP14CrystalShardBase
- !type:KnowledgeRequired
knowledge: Glasswork
result: CP14GlassSheet1
- type: CP14Recipe
id: CP14GlassSheetShard1

View File

@@ -231,8 +231,8 @@ CP14CrystalDiamondsSmall: CP14CrystalElementalLightSmall
CP14CrystalDiamondsMedium: CP14CrystalElementalLightMedium
CP14CrystalDiamondsBig: CP14CrystalElementalLightBig
CP14QuartzCrystal: null
CP14QuartzShard: null
CP14QuartzCrystal: CP14CrystalMedium
CP14QuartzShard: CP14CrystalShardBase
#2025-30-01
CP14OreCopper: CP14OreCopper1