diff --git a/Content.Server/_CP14/Temperature/CPMeltingComponent.cs b/Content.Server/_CP14/Temperature/CPMeltingComponent.cs deleted file mode 100644 index 44f525325b..0000000000 --- a/Content.Server/_CP14/Temperature/CPMeltingComponent.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Content.Shared.Chemistry.Components; - -namespace Content.Server._CP14.Temperature; - -/// -/// -/// - -[RegisterComponent, Access(typeof(CPMeltingSystem))] -public sealed partial class CPMeltingComponent : Component -{ - [DataField] - public Solution? MeltSolution; - - [DataField] - public float MeltTemperature = 1000f; -} diff --git a/Content.Server/_CP14/Temperature/CPMeltingSystem.cs b/Content.Server/_CP14/Temperature/CPMeltingSystem.cs deleted file mode 100644 index 69d2e65cec..0000000000 --- a/Content.Server/_CP14/Temperature/CPMeltingSystem.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Content.Server.Fluids.EntitySystems; -using Content.Server.Temperature.Systems; - -namespace Content.Server._CP14.Temperature; - -public sealed partial class CPMeltingSystem : EntitySystem -{ - [Dependency] private readonly PuddleSystem _puddleSystem = default!; - - public override void Initialize() - { - base.Initialize(); - - SubscribeLocalEvent(OnTemperatureChange); - } - - private void OnTemperatureChange(Entity ent, ref OnTemperatureChangeEvent args) - { - if (!(args.CurrentTemperature >= ent.Comp.MeltTemperature)) - return; - - if (ent.Comp.MeltSolution != null) - { - _puddleSystem.TrySplashSpillAt(ent, Transform(ent).Coordinates, ent.Comp.MeltSolution, out var puddleUid); - } - QueueDel(ent); - } -} diff --git a/Resources/Prototypes/_CP14/Entities/Objects/ores.yml b/Resources/Prototypes/_CP14/Entities/Objects/ores.yml index 43fac68e7f..5e28585dfe 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/ores.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/ores.yml @@ -24,14 +24,6 @@ layers: - state: ore1 map: ["random"] - #- type: CPMelting - # meltTemperature: 1811 - # meltSolution: - # temperature: 1811 - # reagents: - # - ReagentId: CPMetledIron - # Quantity: 10 - #- type: Temperature - type: entity id: CPOreGold @@ -43,12 +35,4 @@ sprite: _CP14/Objects/Ores/gold_ore.rsi layers: - state: ore1 - map: ["random"] - #- type: CPMelting - # meltTemperature: 1337 - # meltSolution: - # temperature: 1337 - # reagents: - # - ReagentId: CPMetledGold - # Quantity: 10 - #- type: Temperature \ No newline at end of file + map: ["random"] \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Reagents/metalls.yml b/Resources/Prototypes/_CP14/Reagents/metalls.yml deleted file mode 100644 index 1b41e852eb..0000000000 --- a/Resources/Prototypes/_CP14/Reagents/metalls.yml +++ /dev/null @@ -1,39 +0,0 @@ -#- 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 deleted file mode 100644 index 2546d6ab4b..0000000000 --- a/Resources/Prototypes/_CP14/Recipes/Reactions/metalls.yml +++ /dev/null @@ -1,23 +0,0 @@ -#- 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