add wall destructions
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
layers:
|
||||
- state: ore1
|
||||
map: ["random"]
|
||||
#- type: CPMelting
|
||||
# meltTemperature: 1811
|
||||
# meltSolution:
|
||||
# temperature: 1811
|
||||
# reagents:
|
||||
# - ReagentId: CPMetledIron
|
||||
# Quantity: 10
|
||||
#- type: Temperature
|
||||
|
||||
- type: entity
|
||||
id: CPOreGold
|
||||
@@ -35,4 +43,12 @@
|
||||
sprite: _CP14/Objects/Ores/gold_ore.rsi
|
||||
layers:
|
||||
- state: ore1
|
||||
map: ["random"]
|
||||
map: ["random"]
|
||||
#- type: CPMelting
|
||||
# meltTemperature: 1337
|
||||
# meltSolution:
|
||||
# temperature: 1337
|
||||
# reagents:
|
||||
# - ReagentId: CPMetledGold
|
||||
# Quantity: 10
|
||||
#- type: Temperature
|
||||
@@ -11,12 +11,28 @@
|
||||
- type: IconSmooth
|
||||
key: CPwall
|
||||
base: stone
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: Rock
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
params:
|
||||
volume: -6
|
||||
|
||||
- type: entity
|
||||
id: CPCaveStoneWallIronOre
|
||||
name: rock
|
||||
suffix: iron ore
|
||||
parent: CPBaseWall
|
||||
parent: CPCaveStoneWall
|
||||
description: A solid stone natural wall. You can see the sharp flecks of iron in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -26,12 +42,30 @@
|
||||
- type: IconSmooth
|
||||
key: CPwall
|
||||
base: stone
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
params:
|
||||
volume: -6
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CPOreIron:
|
||||
min: 1
|
||||
max: 5
|
||||
|
||||
- type: entity
|
||||
id: CPCaveStoneWallGoldOre
|
||||
name: rock
|
||||
suffix: gold ore
|
||||
parent: CPBaseWall
|
||||
parent: CPCaveStoneWall
|
||||
description: A solid stone natural wall. You see the tantalizing particles of gold in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -40,4 +74,22 @@
|
||||
sprite: _CP14/Structures/Walls/cave_stone_gold.rsi
|
||||
- type: IconSmooth
|
||||
key: CPwall
|
||||
base: stone
|
||||
base: stone
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
params:
|
||||
volume: -6
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CPOreGold:
|
||||
min: 1
|
||||
max: 5
|
||||
@@ -1,35 +1,39 @@
|
||||
- type: reagent
|
||||
id: CPBaseMetledMetall
|
||||
group: Metled
|
||||
abstract: true
|
||||
reactiveEffects:
|
||||
Flammable:
|
||||
methods: [ Touch ]
|
||||
effects:
|
||||
- !type:FlammableReaction
|
||||
|
||||
- type: reagent
|
||||
id: CPMetledIron
|
||||
parent: CPBaseMetledMetall
|
||||
name: расплавленный металл #TODO
|
||||
desc: Металл, доведенный до огромных температур. #TODO
|
||||
physicalDesc: reagent-physical-desc-grainy #TODO
|
||||
flavor: безумно #TODO
|
||||
color: "#757245"
|
||||
tileReactions:
|
||||
- !type:FlammableTileReaction #TODO: Spawn fire puddle
|
||||
temperatureMultiplier: 2
|
||||
reactiveEffects:
|
||||
Flammable:
|
||||
methods: [ Touch ]
|
||||
effects:
|
||||
- !type:FlammableReaction
|
||||
multiplier: 0.2
|
||||
- !type:Ignite
|
||||
metabolisms:
|
||||
Poison:
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Heat: 5
|
||||
#- type: reagent
|
||||
# id: CPBaseMetledMetall
|
||||
# group: Metled
|
||||
# abstract: true
|
||||
# reactiveEffects:
|
||||
# Flammable:
|
||||
# methods: [ Touch ]
|
||||
# effects:
|
||||
# - !type:FlammableReaction
|
||||
# multiplier: 0.2
|
||||
# - !type:Ignite
|
||||
# tileReactions:
|
||||
# - !type:FlammableTileReaction #TODO: Spawn fire puddle
|
||||
# temperatureMultiplier: 2
|
||||
# metabolisms:
|
||||
# Poison:
|
||||
# effects:
|
||||
# - !type:HealthChange
|
||||
# damage:
|
||||
# types:
|
||||
# Heat: 5
|
||||
#
|
||||
#- type: reagent
|
||||
# id: CPMetledIron
|
||||
# parent: CPBaseMetledMetall
|
||||
# name: расплавленный металл #TODO
|
||||
# desc: Металл, доведенный до огромных температур. #TODO
|
||||
# physicalDesc: reagent-physical-desc-grainy #TODO
|
||||
# flavor: безумно #TODO
|
||||
# color: "#88a3bc"
|
||||
#
|
||||
#- type: reagent
|
||||
# id: CPMetledGold
|
||||
# parent: CPBaseMetledMetall
|
||||
# name: расплавленный металл #TODO
|
||||
# desc: Металл, доведенный до огромных температур. #TODO
|
||||
# physicalDesc: reagent-physical-desc-grainy #TODO
|
||||
# flavor: безумно #TODO
|
||||
# color: "#efb514"
|
||||
23
Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml
Normal file
23
Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#- type: reaction
|
||||
# id: IronSolidifation
|
||||
# impact: Low
|
||||
# quantized: true
|
||||
# maxTemp: 1611 #1811 - 200
|
||||
# reactants:
|
||||
# CPMetledIron:
|
||||
# amount: 10
|
||||
# effects:
|
||||
# - !type:CreateEntityReactionEffect
|
||||
# entity: CPOreIron
|
||||
#
|
||||
#- type: reaction
|
||||
# id: GoldSolidifation
|
||||
# impact: Low
|
||||
# quantized: true
|
||||
# maxTemp: 1137 #1337 - 200
|
||||
# reactants:
|
||||
# CPMetledIron:
|
||||
# amount: 10
|
||||
# effects:
|
||||
# - !type:CreateEntityReactionEffect
|
||||
# entity: CPOreGold
|
||||
Reference in New Issue
Block a user