Torches + Cotton (#1246)

* torches add, wallmount crystals deletion

* cotton

* Update buy.yml

* craftis

* delete elemental quartz

* energy crystal resprite and rewamp

* fix

* Update misc.yml

* а

* delete rituals

* riat

* Update migration.yml

* Delete CP14ClientRitualSystem.cs

* Update statues.yml

* fix

* Update wallmount_lamp.yml

* fix
This commit is contained in:
Ed
2025-04-30 17:28:38 +03:00
committed by GitHub
parent ad2fc18356
commit 2358bc46d6
127 changed files with 520 additions and 2831 deletions

View File

@@ -29,6 +29,8 @@
amount: 3
- id: CP14SeedPepper
amount: 3
- id: CP14SeedCotton
amount: 3
- type: storePositionBuy
@@ -182,9 +184,7 @@
components:
- type: StorageFill
contents:
- id: CP14EnergyCrystalSmallEmpty
amount: 5
- id: CP14EnergyCrystalMediumEmpty
amount: 3
amount: 5
- id: CP14ManaOperationGlove
amount: 2

View File

@@ -48,26 +48,6 @@
proto: CP14SpellScrollBeerCreation
count: 1
- type: storePositionSell
id: CP14EnergyCrystalSmallEmpty
special: true
price: 70
factions:
- Sylphoria
service: !type:CP14SellPrototypeService
proto: CP14EnergyCrystalSmallEmpty
count: 5
- type: storePositionSell
id: CP14EnergyCrystalMediumEmpty
special: true
price: 80
factions:
- Sylphoria
service: !type:CP14SellPrototypeService
proto: CP14EnergyCrystalMediumEmpty
count: 3
- type: storePositionSell
id: CP14ClothingRingIceShards
special: true

View File

@@ -100,7 +100,7 @@
- id: CP14BaseLightCrossbow
- id: CP14CrossboltIron
amount: 5
- id: CP14EnergyCrystalSmall
- id: CP14EnergyCrystalMedium
- id: CP14CrystalLampBlueEmpty
- type: entity
@@ -118,7 +118,7 @@
- id: CP14BaseShield
- id: CP14ModularGripIronLongGuard
amount: 2
- id: CP14EnergyCrystalSmall
- id: CP14EnergyCrystalMedium
- id: CP14CrystalLampBlueEmpty
- id: CP14StampGuardCommander

View File

@@ -75,7 +75,7 @@
- id: CP14CrystalLampBlueEmpty
- id: CP14CrystalLampOrangeEmpty
- id: CP14Rope
- id: CP14EnergyCrystalSmall
- id: CP14EnergyCrystalMediumEmpty
- id: CP14d20Dice
- id: CP14d6Dice
- id: CP14CopperCoin5

View File

@@ -64,8 +64,6 @@
- id: CP14FoodMeatLambCutletCooked
- id: CP14ModularInlayQuartzFire
- id: CP14CopperCoin1
- id: CP14CrystalShardFire
weight: 3
- type: entity
id: CP14AreaEntityEffectSlimeIgnite

View File

@@ -77,8 +77,6 @@
- id: CP14Snowball
- id: CP14CopperCoin1
- id: CP14ModularInlayQuartzWater
- id: CP14CrystalShardWater
weight: 3
- type: entity
id: CP14AreaEntityEffectSlimeFroze

View File

@@ -1,13 +1,12 @@
- type: entity
id: CP14Wheat
parent: ProduceBase
parent: BaseItem
name: wheat bushel
description: You have the choice of either planting the grains again or grinding them into flour.
categories: [ ForkFiltered ]
components:
- type: Item
size: Tiny
- type: Produce
- type: Sprite
sprite: _CP14/Objects/Flora/Farm/wheat.rsi
layers:
@@ -22,3 +21,27 @@
tags:
- CP14Wheat
- CP14FarmFood
- type: entity
id: CP14Cotton
parent: BaseItem
name: cotton
description: A plant raw fiber used to make cotton fabric.
categories: [ ForkFiltered ]
components:
- type: Item
size: Tiny
- type: Sprite
sprite: _CP14/Objects/Flora/Farm/cotton.rsi
layers:
- state: base1
map: ["random"]
- type: RandomSprite
available:
- random:
base1: ""
base2: ""
base3: ""
- type: Tag
tags:
- CP14FarmFood

View File

@@ -0,0 +1,29 @@
- type: entity
id: CP14CrystalShardQuartz
parent: BaseItem
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

View File

@@ -100,3 +100,16 @@
- state: sage
- type: CP14Seed
plantProto: CP14PlantSage
- type: entity
id: CP14SeedCotton
name: cotton seeds
description: Cotton seeds. It's time to grow some pants!
parent: CP14BaseSeed
components:
- type: Sprite
layers:
- state: bag
- state: cotton
- type: CP14Seed
plantProto: CP14PlantCotton

View File

@@ -13,60 +13,19 @@
- type: CP14MagicEnergyContainer
- type: CP14MagicEnergyExaminable
- type: entity
id: CP14EnergyCrystalSmall
parent: CP14EnergyCrystalBase
name: small energyshard
suffix: Full
components:
- type: Sprite
layers:
- state: small1
shader: unshaded
map: ["random"]
- state: small_connector
- type: RandomSprite
available:
- random:
small1: ""
small2: ""
small3: ""
- type: CP14MagicEnergyContainer
energy: 30
maxEnergy: 30
- type: entity
id: CP14EnergyCrystalSmallEmpty
parent: CP14EnergyCrystalSmall
suffix: Empty
components:
- type: CP14MagicEnergyContainer
energy: 0
- type: entity
id: CP14EnergyCrystalMedium
parent: CP14EnergyCrystalBase
name: energyshard
suffix: Full
components:
- type: PointLight
radius: 1.2
- type: Sprite
layers:
- state: medium1
shader: unshaded
map: ["random"]
- state: medium
- state: medium_connector
- type: RandomSprite
available:
- random:
medium1: ""
medium2: ""
medium3: ""
- type: CP14MagicEnergyContainer
energy: 100
maxEnergy: 100
energy: 50
maxEnergy: 50
- type: entity
id: CP14EnergyCrystalMediumEmpty

View File

@@ -1,6 +1,8 @@
- type: entity
id: CP14Torch
parent: BaseItem
parent:
- BaseItem
- CP14BaseTorch
name: torch
description: At its core, a stick burning on one side. Used to light up the area.
categories: [ ForkFiltered ]
@@ -15,30 +17,6 @@
shape:
- 0,0,0,2
storedRotation: -65
- type: CP14FlammableAmbientSound
- type: AmbientSound
enabled: false
volume: -5
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg
- type: Appearance
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
firestacksOnIgnite: 0.5
damage:
types:
Heat: 0
- type: CP14Fireplace
maxFuelLimit: 200
fuel: 200
- type: FireVisuals
sprite: _CP14/Objects/Tools/torch.rsi
normalState: lit-overlay
@@ -58,17 +36,6 @@
Empty: { state: torch-spent }
Medium: { state: torch-unlit }
Full: { state: torch-unlit }
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: CP14DelayedIgnitionSource
- type: CP14IgnitionModifier
hideCaution: true
@@ -86,7 +53,7 @@
- type: UseDelay
- type: ExtinguishOnInteract
extinguishAttemptSound:
path: /Audio/Items/candle_blowing.ogg #TODO sound
path: /Audio/Items/candle_blowing.ogg
params:
variation: 0.05
volume: 10

View File

@@ -1,25 +0,0 @@
- type: entity
parent: BookBase
id: CP14RitualGrimoire
name: ritualist's grimoire
description: a book that holds the knowledge of hundreds of ritualists before you. Use it on an active ritual to get all the information about its current state.
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
layers:
- state: paper
- state: cover_old
color: "#a6161d"
- state: decor_bottom
color: "#6e1022"
- state: decor_wingette
color: "#4a101b"
- state: icon_pentagramm
color: "#911129"
- state: detail_bookmark
color: red
- type: CP14PaperPhaseDescriber
startPhase: CP14_NeutralCluster_Root
hyperlinks:
- CP14_NeutralCluster_Root

View File

@@ -1,55 +0,0 @@
- type: entity
parent: CP14BaseRitualPhase
abstract: true
id: CP14_NeutralCluster_Base
components:
- type: CP14MagicRitualPhase
phaseColor: "#FFFFFF"
- type: ActiveListener
range: 3
- type: entity
parent: CP14_NeutralCluster_Base
id: CP14_NeutralCluster_Root
name: Te-Se-Ra
description: The perfect energetic position to begin any ritual.
categories: [ HideSpawnMenu ]
components:
- type: CP14MagicRitualPhase
edges:
- target: CP14_NeutralCluster_00
triggers:
- !type:CP14SacrificeWhitelistTrigger
whitelist:
components:
- MobState
whitelistDesc: cp14-ritual-category-all-living
- type: entity
parent: CP14_NeutralCluster_Base
id: CP14_NeutralCluster_00
name: Li-Ra
categories: [ HideSpawnMenu ]
components:
- type: CP14MagicRitualPhase
edges:
- target: CP14RitualEnd
triggers:
- !type:CP14VoiceTrigger
message: "Vespere nebula"
actions:
- !type:ApplyEntityEffect
maxEntities: 3
vfx: CP14ImpactEffectCureWounds
whitelist:
components:
- HumanoidAppearance
effects:
- !type:HealthChange
damage:
types:
Asphyxiation: -50
Bloodloss: -10
- !type:ModifyBleedAmount
- !type:ModifyBloodLevel
- !type:Jitter

View File

@@ -1,23 +0,0 @@
- type: entity
id: CP14BaseRitualPhase
abstract: true
components:
- type: CP14MagicRitualPhase
- type: Tag
tags:
- HideContextMenu
- type: PointLight
- type: EmitSoundOnSpawn
sound:
path: /Audio/Effects/tesla_consume.ogg
params:
variation: 0.3
- type: entity
parent: CP14BaseRitualPhase
id: CP14RitualEnd
name: end of ritual
categories: [ HideSpawnMenu ]
components:
- type: CP14MagicRitualPhase
deadEnd: true

View File

@@ -1,39 +0,0 @@
- type: entity
id: CP14BaseRitualOrb
abstract: true
components:
- type: Transform
- type: Physics
canCollide: false
- type: Sprite
sprite: _CP14/Effects/Magic/ritual_orbs.rsi
drawDepth: Mobs
noRot: true
#- type: entity
# parent: CP14BaseRitualOrb
# id: CP14RitualOrbCreation
# name: creation orb
# categories: [ HideSpawnMenu]
# components:
# - type: CP14MagicRitualOrb
# powers:
# Creation: 1
# - type: Sprite
# layers:
# - state: creation
# shader: unshaded
#
#- type: entity
# parent: CP14BaseRitualOrb
# id: CP14RitualOrbDestruction
# name: destruction orb
# categories: [ HideSpawnMenu]
# components:
# - type: CP14MagicRitualOrb
# powers:
# Destruction: 1
# - type: Sprite
# layers:
# - state: destruction
# shader: unshaded

View File

@@ -11,10 +11,6 @@
sprite: _CP14/Structures/Decoration/statue_gob.rsi
layers:
- state: gob
- state: eyes
map: ["ritual"]
visible: false
shader: unshaded
- state: wire
map: ["wire"]
visible: false
@@ -55,8 +51,6 @@
CP14StoneBlock1:
min: 4
max: 5
- type: CP14MagicRitual
startPhase: CP14_NeutralCluster_Root
- type: Appearance
- type: HolidayVisuals
holidays:
@@ -82,10 +76,6 @@
- type: Sprite
layers:
- state: gob_vines
- state: eyes
map: ["ritual"]
visible: false
shader: unshaded
- state: wire
map: ["wire"]
visible: false
@@ -102,10 +92,6 @@
- type: Sprite
layers:
- state: gob_ruined
- state: eyes
map: ["ritual"]
visible: false
shader: unshaded
- state: wire
map: ["wire"]
visible: false
@@ -122,10 +108,6 @@
- type: Sprite
layers:
- state: gob_ruined_vines
- state: eyes
map: ["ritual"]
visible: false
shader: unshaded
- state: wire
map: ["wire"]
visible: false
@@ -146,10 +128,6 @@
sprite: _CP14/Structures/Decoration/angel_statue.rsi
layers:
- state: statue1
- state: glow
map: ["ritual"]
visible: false
shader: unshaded
drawdepth: Mobs
offset: "0.0,0.5"
- type: Fixtures
@@ -184,8 +162,6 @@
CP14StoneBlock1:
min: 4
max: 5
- type: CP14MagicRitual
startPhase: CP14_NeutralCluster_Root
- type: Appearance
- type: entity
@@ -196,10 +172,6 @@
- type: Sprite
layers:
- state: statue2
- state: glow
map: ["ritual"]
visible: false
shader: unshaded
- type: entity
id: CP14StatueAngelLimestone
@@ -209,10 +181,6 @@
- type: Sprite
layers:
- state: statue3
- state: glow
map: ["ritual"]
visible: false
shader: unshaded
- type: entity
id: CP14StatueStoneHeadHigh

View File

@@ -68,7 +68,7 @@
# Normal
- type: entity
id: CP14CrystalEmpty
id: CP14CrystalQuartz
suffix: Normal
parent: CP14CrystalBase
components:
@@ -89,171 +89,8 @@
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardBase:
CP14CrystalShardQuartz:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalEarth
parent: CP14CrystalBase
suffix: Terra
components:
- type: PointLight
color: "#70533f"
- type: Sprite
color: "#70533f"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardEarth:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalFire
parent: CP14CrystalBase
suffix: Ignis
components:
- type: PointLight
color: "#d9741c"
- type: Sprite
color: "#d9741c"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardFire:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalWater
parent: CP14CrystalBase
suffix: Aqua
components:
- type: PointLight
color: "#1c94d9"
- type: Sprite
color: "#1c94d9"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardWater:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalAir
parent: CP14CrystalBase
suffix: Aer
components:
- type: PointLight
color: "#fdfe86"
- type: Sprite
color: "#fdfe86"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardAir:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalOrder
parent: CP14CrystalBase
suffix: Ordo
components:
- type: PointLight
color: "#d9d9d9"
- type: Sprite
color: "#d9d9d9"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardOrder:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14CrystalChaos
parent: CP14CrystalBase
suffix: Perditio
components:
- type: PointLight
color: "#5c5c5c"
- type: Sprite
color: "#5c5c5c"
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
CP14CrystalShardChaos:
min: 1
max: 2
- !type:TriggerBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
acts: [ "Destruction" ]

View File

@@ -1,102 +0,0 @@
- type: entity
id: CP14CrystalShardBase
parent: BaseItem
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: CP14CrystalShardEarth
name: terra quartz shard
components:
- type: Sprite
color: "#70533f"
- type: CP14MagicEssenceContainer
essences:
Earth: 3
Crystal: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardFire
name: ignis quartz shard
components:
- type: Sprite
color: "#d9741c"
- type: CP14MagicEssenceContainer
essences:
Fire: 3
Crystal: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardWater
name: aqua quartz shard
components:
- type: Sprite
color: "#1c94d9"
- type: CP14MagicEssenceContainer
essences:
Water: 3
Crystal: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardAir
name: aer quartz shard
components:
- type: Sprite
color: "#fdfe86"
- type: CP14MagicEssenceContainer
essences:
Air: 3
Crystal: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardOrder
name: ordo quartz shard
components:
- type: Sprite
color: "#d9d9d9"
- type: CP14MagicEssenceContainer
essences:
Order: 3
Crystal: 1
- type: entity
parent: CP14CrystalShardBase
id: CP14CrystalShardChaos
name: perditio quartz shard
components:
- type: Sprite
color: "#5c5c5c"
- type: CP14MagicEssenceContainer
essences:
Chaos: 3
Crystal: 1

View File

@@ -0,0 +1,26 @@
- type: entity
id: CP14PlantCotton
parent: CP14GatherablePlantSingleHarvestBase
name: cotton
description: In a way, you're growing future clothes.
components:
- type: Sprite
offset: 0, 0.5
drawdepth: Mobs
layers:
- state: liq-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- state: grow-1
sprite: _CP14/Structures/Flora/Farm/cotton.rsi
map: ["enum.PlantVisualLayers.Base"]
- type: CP14PlantGatherable
loot:
All: CP14GatherCotton
- type: entityLootTable
id: CP14GatherCotton
entries:
- id: CP14Cotton
amount: 4
maxAmount: 6

View File

@@ -0,0 +1,184 @@
- type: entity
id: CP14BaseTorch
abstract: true
description: A good, reliable light source. Too bad it doesn't last.
categories: [ ForkFiltered ]
components:
- type: InteractionOutline
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: CP14FlammableAmbientSound
- type: AmbientSound
enabled: false
volume: -15
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
firestacksOnIgnite: 0.5
damage:
types:
Heat: 0
- type: CP14Fireplace
deleteOnEmpty: true
maxFuelLimit: 1800
fuel: 1800
- type: Appearance
- type: CP14IgnitionModifier
hideCaution: true
- type: entity
id: CP14FloorTorch
parent:
- CP14BaseTorch
- BaseStructure
name: floor torch
components:
- type: Sprite
noRot: true
drawdepth: Mobs
sprite: _CP14/Structures/Furniture/torch_floor.rsi
offset: 0, 0.3
layers:
- state: base
map: ["fuel"]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
density: 1000
layer:
- LowImpassable
- MidImpassable
- type: FireVisuals
sprite: _CP14/Structures/Furniture/torch_floor.rsi
normalState: fire
- type: GenericVisualizer
visuals:
enum.FireplaceFuelVisuals.Status:
fuel:
Empty: { state: burned }
Medium: { state: base }
Full: { state: base }
- type: Construction
graph: CP14FloorTorch
node: CP14FloorTorch
- type: entity
parent: CP14FloorTorch
id: CP14FloorTorchIgnited
suffix: Ignited
components:
- type: CP14AutoIgnite
- type: entity
id: CP14FloorTorchAlwaysPowered
name: floor torch
parent: BaseStructure
categories: [ ForkFiltered ]
suffix: Debug, Infinite
components:
- type: Sprite
noRot: true
drawdepth: Mobs
sprite: _CP14/Structures/Furniture/torch_floor.rsi
offset: 0, 0.3
layers:
- state: base
- state: fire
shader: unshaded
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
density: 1000
layer:
- LowImpassable
- MidImpassable
- type: PointLight
color: "#e67c34"
energy: 2
radius: 8
- type: AmbientSound
enabled: true
volume: -15
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg
- type: entity
id: CP14WallmountTorch
parent:
- CP14BaseTorch
- CP14BaseWallmount
name: wallmount torch
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
layers:
- state: base
map: ["fuel"]
- type: FireVisuals
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
normalState: fire
- type: GenericVisualizer
visuals:
enum.FireplaceFuelVisuals.Status:
fuel:
Empty: { state: burned }
Medium: { state: base }
Full: { state: base }
- type: Construction
graph: CP14WallmountTorch
node: CP14WallmountTorch
- type: entity
parent: CP14WallmountTorch
id: CP14WallmountTorchIgnited
suffix: Ignited
components:
- type: CP14AutoIgnite
- type: entity
id: CP14WallmountTorchAlwaysPowered
name: wallmount torch
parent: CP14BaseWallmount
suffix: Debug, Infinite
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
layers:
- state: base
- state: fire
shader: unshaded
- type: PointLight
color: "#e67c34"
energy: 2
radius: 8
- type: AmbientSound
enabled: true
volume: -15
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg

View File

@@ -15,90 +15,6 @@
- type: Physics
canCollide: false
- type: entity
id: CP14WallmountTorch
name: wallmount torch
parent: CP14BaseWallmount
description: A good, reliable light source. Too bad it doesn't last.
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
layers:
- state: base
map: ["fuel"]
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 80
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: CP14FlammableAmbientSound
- type: AmbientSound
enabled: false
volume: -15
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
firestacksOnIgnite: 0.5
damage:
types:
Heat: 0
- type: CP14Fireplace
maxFuelLimit: 200
fuel: 200
- type: FireVisuals
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
normalState: fire
- type: Appearance
- type: GenericVisualizer
visuals:
enum.FireplaceFuelVisuals.Status:
fuel:
Empty: { state: burned }
Medium: { state: base }
Full: { state: base }
- type: Construction
graph: CP14WallmountTorch
node: CP14WallmountTorch
- type: CP14IgnitionModifier
hideCaution: true
- type: entity
id: CP14WallmountTorchAlwaysPowered
name: always powered wallmount torch
parent: CP14BaseWallmount
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
layers:
- state: base
- state: fire
shader: unshaded
- type: PointLight
color: "#e67c34"
energy: 2
radius: 8
- type: AmbientSound
enabled: true
volume: -15
range: 5
sound:
path: /Audio/Ambience/Objects/fireplace.ogg
- type: entity
id: CP14WallmountBarShelfA
name: bar shelf

View File

@@ -22,7 +22,7 @@
- type: PointLight
energy: 1
radius: 8
color: "#b2ceeb"
color: "#dfe7f0"
enabled: false
- type: Appearance
- type: GenericVisualizer
@@ -41,14 +41,14 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: CP14MagicLantern
- type: CP14MagicEnergyDraw
energy: -0.1
delay: 6
delay: 12
- type: Construction
graph: CP14WallmountLampEmpty
node: CP14WallmountLampEmpty
@@ -75,7 +75,7 @@
- type: ItemSlots
slots:
crystal_slot:
startingItem: CP14EnergyCrystalSmall
startingItem: CP14EnergyCrystalMedium
insertSound:
path: /Audio/_CP14/Items/crystal_insert.ogg
params:

View File

@@ -1,135 +0,0 @@
# Wallmount crystall
- type: entity
id: CP14WallmountCrystalBase
parent:
- CP14BaseWallmount
abstract: true
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/Wallmount/wallmount_crystal.rsi
layers:
- state: crystal1
map: ["random"]
shader: unshaded
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- 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:DoActsBehavior
acts: [ "Destruction" ]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "0.49,0.49,-0.49,0.36"
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- type: RandomSprite
available:
- random:
crystal1: Inherit
crystal2: Inherit
crystal3: Inherit
- type: PointLight
radius: 1.5
energy: 1
- type: entity
id: CP14WallmountCrystalRubies
parent: CP14WallmountCrystalBase
suffix: Red
components:
- type: Sprite
color: "#ff3d0b"
- type: RandomSprite
cP14InheritBaseColor: "#ff3d0b"
- type: PointLight
color: "#ff3d0b"
- type: entity
id: CP14WallmountCrystalTopazes
parent: CP14WallmountCrystalBase
suffix: Yellow
components:
- type: Sprite
color: "#ffe269"
- type: RandomSprite
cP14InheritBaseColor: "#ffe269"
- type: PointLight
color: "#ffe269"
- type: entity
id: CP14WallmountCrystalEmeralds
parent: CP14WallmountCrystalBase
suffix: Green
components:
- type: Sprite
color: "#30be81"
- type: RandomSprite
cP14InheritBaseColor: "#30be81"
- type: PointLight
color: "#30be81"
- type: entity
id: CP14WallmountCrystalSapphires
parent: CP14WallmountCrystalBase
suffix: Cyan
components:
- type: Sprite
color: "#5eabeb"
- type: RandomSprite
cP14InheritBaseColor: "#5eabeb"
- type: PointLight
color: "#5eabeb"
- type: entity
id: CP14WallmountCrystalAmethysts
parent: CP14WallmountCrystalBase
suffix: Purple
components:
- type: Sprite
color: "#a878d1"
- type: RandomSprite
cP14InheritBaseColor: "#a878d1"
- type: PointLight
color: "#a878d1"
- type: entity
id: CP14WallmountCrystalDiamonds
parent: CP14WallmountCrystalBase
suffix: White
components:
- type: Sprite
color: "#f8f8f8"
- type: RandomSprite
cP14InheritBaseColor: "#f8f8f8"
- type: PointLight
color: "#f8f8f8"

View File

@@ -1,151 +1,15 @@
- type: cp14DemiplaneModifier
id: CrystalNormal
id: Quartz
levels:
min: 1
max: 3
generationWeight: 0.1
max: 8
categories:
Reward: 0.1
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalEmpty
entity: CP14CrystalQuartz
count: 30
minGroupSize: 1
maxGroupSize: 5
# TIER 2
- type: cp14DemiplaneModifier
id: CrystalFire
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneHot
layers:
- !type:OreDunGen
entity: CP14CrystalFire
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeFire
count: 3
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalEarth
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneUnderground
blacklistTags:
- CP14DemiplaneOpenSky
layers:
- !type:OreDunGen
entity: CP14CrystalEarth
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeEarth
count: 3
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalWater
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneWater
layers:
- !type:OreDunGen
entity: CP14CrystalWater
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeWater
count: 3
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalAir
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneOpenSky
blacklistTags:
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
entity: CP14CrystalAir
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeAir
count: 3
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalOrder
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
layers:
- !type:OreDunGen
entity: CP14CrystalOrder
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeOrder
count: 3
minGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: CrystalChaos
levels:
min: 4
max: 10
generationWeight: 0.1
categories:
Reward: 0.1
layers:
- !type:OreDunGen
entity: CP14CrystalChaos
count: 30
minGroupSize: 1
maxGroupSize: 5
- !type:OreDunGen
entity: CP14EssenceNodeChaos
count: 3
minGroupSize: 1
maxGroupSize: 1
maxGroupSize: 5

View File

@@ -9,10 +9,10 @@
- to: CP14Bonfire
steps:
- material: CP14Stone
amount: 3
amount: 2
doAfter: 2
- stackGroup: WoodenPlanks
amount: 2
amount: 1
doAfter: 2
- node: CP14Bonfire

View File

@@ -11,7 +11,7 @@
- !type:SnapToGrid { }
steps:
- stackGroup: WoodenPlanks
amount: 5
amount: 2
doAfter: 3
- node: CP14mannequin
entity: CP14Mannequin
@@ -21,7 +21,7 @@
- !type:EmptyAllContainers
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 5
amount: 2
steps:
- tool: CP14Hammering
doAfter: 3

View File

@@ -9,7 +9,7 @@
- to: CP14WallmountOrdersBorder
steps:
- stackGroup: WoodenPlanks
amount: 3
amount: 1
doAfter: 3
- node: CP14WallmountOrdersBorder

View File

@@ -9,8 +9,8 @@
- to: CP14WallmountTorch
steps:
- stackGroup: WoodenPlanks
amount: 3
doAfter: 3
amount: 1
doAfter: 1
- material: CP14Cloth
amount: 1
doAfter: 1
@@ -18,6 +18,26 @@
- node: CP14WallmountTorch
entity: CP14WallmountTorch
- type: constructionGraph
id: CP14FloorTorch
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14FloorTorch
steps:
- stackGroup: WoodenPlanks
amount: 1
doAfter: 1
- material: CP14Cloth
amount: 1
doAfter: 1
- node: CP14FloorTorch
entity: CP14FloorTorch
- type: constructionGraph
id: CP14WallmountLampEmpty
start: start

View File

@@ -9,7 +9,7 @@
category: construction-category-structures
icon:
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
state: fire
state: base
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
@@ -18,6 +18,24 @@
- !type:TileNotBlocked
- !type:CP14WallRequired
- type: construction
crystallPunkAllowed: true
name: floor torch
description: A good, reliable light source. Too bad it doesn't last.
id: CP14FloorTorch
graph: CP14FloorTorch
startNode: start
targetNode: CP14FloorTorch
category: construction-category-structures
icon:
sprite: _CP14/Structures/Furniture/torch_floor.rsi
state: base
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: crystal wall lamp

View File

@@ -7,7 +7,7 @@
- to: cp14torch
steps:
- material: CP14WoodenPlanks
amount: 3
amount: 1
- material: CP14Cloth
amount: 1
doAfter: 4

View File

@@ -288,3 +288,16 @@
count: 1
result: CP14LockMithril
- type: CP14Recipe
id: CP14EnergyCrystalMediumEmpty
tag: CP14RecipeAnvil
category: Tools
craftTime: 2
requirements:
- !type:ProtoIdResource
protoId: CP14CrystalShardQuartz
count: 1
- !type:StackResource
stack: CP14CopperBar
count: 1
result: CP14EnergyCrystalMediumEmpty

View File

@@ -60,7 +60,7 @@
protoId: CP14FoodPepper
count: 1
result: CP14SeedPepper
resultCount: 3
resultCount: 2
- type: CP14Recipe
id: CP14SeedSage
@@ -71,4 +71,15 @@
protoId: CP14WildSage
count: 1
result: CP14SeedSage
resultCount: 1
resultCount: 2
- type: CP14Recipe
id: CP14SeedCotton
tag: CP14RecipeCooking
craftTime: 1
requirements:
- !type:ProtoIdResource
protoId: CP14Cotton
count: 1
result: CP14SeedCotton
resultCount: 2

View File

@@ -159,7 +159,7 @@
- !type:StackGroupResource
group: WoodenPlanks
- !type:ProtoIdResource
protoId: CP14CrystalShardBase
protoId: CP14CrystalShardQuartz
result: CP14CrayonWhite
- type: CP14Recipe

View File

@@ -41,10 +41,11 @@
- type: CP14Recipe
id: CP14GlassSheet1
tag: CP14RecipeMeltingFurnace
craftTime: 4
craftTime: 2
requirements:
- !type:ProtoIdResource
protoId: CP14CrystalShardBase
protoId: CP14CrystalShardQuartz
count: 1
result: CP14GlassSheet1
- type: CP14Recipe

View File

@@ -1,3 +1,13 @@
- type: CP14Recipe
id: CP14ClothMaterialCotton
tag: CP14RecipeSewing
craftTime: 2
requirements:
- !type:ProtoIdResource
protoId: CP14Cotton
count: 2
result: CP14Cloth1
- type: CP14Recipe
id: CP14ClothingShirtCottonBlue
tag: CP14RecipeSewing

View File

@@ -19,8 +19,8 @@
id: CP14AlchemistGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
- CP14EnergyCrystalMedium
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingAlchemist

View File

@@ -11,8 +11,8 @@
id: CP14ApprenticeGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
- CP14EnergyCrystalMedium
equipment:
keys: CP14BaseKeyRing
belt1: CP14WalletFilledTest

View File

@@ -15,8 +15,8 @@
id: CP14BlacksmithGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
- CP14EnergyCrystalMedium
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingBlacksmith

View File

@@ -11,7 +11,7 @@
id: CP14InnkeeperGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingInnkeeper

View File

@@ -11,8 +11,8 @@
id: CP14AdventurerGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
- CP14EnergyCrystalMedium
equipment:
keys: CP14BaseKeyRing
belt1: CP14WalletFilledTest

View File

@@ -29,7 +29,7 @@
id: CP14GuildmasterGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingGuildmaster

View File

@@ -14,8 +14,8 @@
id: CP14MerchantGear
storage:
back:
- CP14EnergyCrystalSmall
- CP14EnergyCrystalSmall
- CP14EnergyCrystalMedium
- CP14EnergyCrystalMedium
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingMerchant