diff --git a/Resources/Prototypes/_CP14/Entities/Objects/ores.yml b/Resources/Prototypes/_CP14/Entities/Objects/ores.yml index 5e28585dfe..43fac68e7f 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/ores.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/ores.yml @@ -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"] \ No newline at end of file + map: ["random"] + #- type: CPMelting + # meltTemperature: 1337 + # meltSolution: + # temperature: 1337 + # reagents: + # - ReagentId: CPMetledGold + # Quantity: 10 + #- type: Temperature \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Walls/natural.yml b/Resources/Prototypes/_CP14/Entities/Structures/Walls/natural.yml index 8a2dc177cc..0e1ee0e2ce 100644 --- a/Resources/Prototypes/_CP14/Entities/Structures/Walls/natural.yml +++ b/Resources/Prototypes/_CP14/Entities/Structures/Walls/natural.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Reagents/metalls.yml b/Resources/Prototypes/_CP14/Reagents/metalls.yml index a999bfb05b..1b41e852eb 100644 --- a/Resources/Prototypes/_CP14/Reagents/metalls.yml +++ b/Resources/Prototypes/_CP14/Reagents/metalls.yml @@ -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 \ No newline at end of file +#- 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" \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml b/Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml new file mode 100644 index 0000000000..2546d6ab4b --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml @@ -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 \ No newline at end of file