@@ -0,0 +1,30 @@
|
||||
using Content.Server.Xenoarchaeology.XenoArtifacts;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server._CP14.Chemistry.ReagentEffect;
|
||||
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public sealed partial class CP14AffectSolutionTemperature : Shared.Chemistry.Reagent.ReagentEffect
|
||||
{
|
||||
/// <summary>
|
||||
/// Temperature added to the solution. If negative, the solution is cooling.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
private float AddTemperature = -300f;
|
||||
|
||||
public override void Effect(ReagentEffectArgs args)
|
||||
{
|
||||
if (args.Source != null)
|
||||
args.Source.Temperature += AddTemperature;
|
||||
}
|
||||
|
||||
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
|
||||
{
|
||||
return Loc.GetString("cp14-reagent-effect-guidebook-temp-affect",
|
||||
("chance", Probability),
|
||||
("temperature", AddTemperature));
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,9 @@ cp14-flavor-base-metallic = metallic
|
||||
cp14-flavor-base-invigorating = invigorating
|
||||
cp14-flavor-base-bitterly = bitter
|
||||
cp14-flavor-base-sweetly = sweet
|
||||
cp14-flavor-base-stinging = stinging
|
||||
|
||||
# Complex
|
||||
|
||||
cp14-flavor-complex-water = like water
|
||||
cp14-flavor-complex-water = like water
|
||||
cp14-flavor-complex-chromium = like something gut-wrenching
|
||||
@@ -0,0 +1,5 @@
|
||||
cp14-reagent-effect-guidebook-temp-affect =
|
||||
{ $chance ->
|
||||
[1] Changes
|
||||
*[other] changes
|
||||
} the temperature of the solution by {$temperature} degrees
|
||||
@@ -13,9 +13,15 @@ cp14-reagent-desc-basic-heal-slash = Effectively heals torn tissue.
|
||||
cp14-reagent-name-basic-heal-brute = Healing general solution
|
||||
cp14-reagent-desc-basic-heal-brute = Less efficacious than specialized solutions, but can heal all types of physical damage.
|
||||
|
||||
cp14-reagent-name-basic-damage-brute = Ulcer solution
|
||||
cp14-reagent-desc-basic-damage-brute = If ingested, causes flesh eating and other mechanical injuries.
|
||||
|
||||
cp14-reagent-name-basic-damage-poison = Poisonous solution
|
||||
cp14-reagent-desc-basic-damage-poison = Capable of causing extreme indigestion, ulcers, intoxication, and in sufficient dosage to cause death.
|
||||
|
||||
cp14-reagent-name-basic-heal-poison = Antidote solution
|
||||
cp14-reagent-desc-basic-heal-poison = Effective as a good antidote.
|
||||
|
||||
cp14-reagent-name-see-rainbow = Rainbow solution
|
||||
cp14-reagent-desc-see-rainbow = Causes cheerful hallucinations, colors the whole world in rainbow bright colors.
|
||||
|
||||
|
||||
@@ -5,4 +5,7 @@ cp14-reagent-name-bloodgrasssap = bloodgrass sap
|
||||
cp14-reagent-desc-bloodgrasssap = A squeeze from the ubiquitous blood grass. It has no particular remarkable qualities, but with proper skill can be prepared into a nutritious food.
|
||||
|
||||
cp14-reagent-name-agaric-shroom = fly agaric juice
|
||||
cp14-reagent-desc-agaric-shroom = It is this juice that the fly mushrooms owe their poisonousness to. Consumption causes severe ailments and hallucinations, but experienced alchemists can find other uses for these mushrooms.
|
||||
cp14-reagent-desc-agaric-shroom = It is this juice that the fly mushrooms owe their poisonousness to. Consumption causes severe ailments and hallucinations, but experienced alchemists can find other uses for these mushrooms.
|
||||
|
||||
cp14-reagent-name-chromium-slime = chromium slime
|
||||
cp14-reagent-desc-chromium-slime = A rare substance found in water streams, it has unique properties that allow it to invert the effects of reagents, but can completely ruin a potion if dosed incorrectly.
|
||||
@@ -4,7 +4,9 @@ cp14-flavor-base-metallic = металлически
|
||||
cp14-flavor-base-invigorating = живительно
|
||||
cp14-flavor-base-bitterly = горько
|
||||
cp14-flavor-base-sweetly = сладко
|
||||
cp14-flavor-base-stinging = жгущее
|
||||
|
||||
# Complex
|
||||
|
||||
cp14-flavor-complex-water = как вода
|
||||
cp14-flavor-complex-water = как вода
|
||||
cp14-flavor-complex-chromium = как что-то выворачивающее наизнанку
|
||||
@@ -0,0 +1,5 @@
|
||||
cp14-reagent-effect-guidebook-temp-affect =
|
||||
{ $chance ->
|
||||
[1] Изменяет
|
||||
*[other] изменить
|
||||
} температуру раствора на {$temperature} градусов
|
||||
@@ -13,9 +13,15 @@ cp14-reagent-desc-basic-heal-slash = Эффективно залечивает
|
||||
cp14-reagent-name-basic-heal-brute = Общий лечебный раствор
|
||||
cp14-reagent-desc-basic-heal-brute = Менее эффкетивный, чем специализированные растворы, но способен залечивать все виды физических повреждений.
|
||||
|
||||
cp14-reagent-name-basic-damage-brute = Раствор язв
|
||||
cp14-reagent-desc-basic-damage-brute = При употреблении внутрь вызывает разъедание плоти и другие механические травмы.
|
||||
|
||||
cp14-reagent-name-basic-damage-poison = Ядовитый раствор
|
||||
cp14-reagent-desc-basic-damage-poison = Способен вызвать крайне сильное несварение, язвы, интоксикацию, и при достаточной дозировке привести к смерти.
|
||||
|
||||
cp14-reagent-name-basic-heal-poison = Ядовыводящий раствор
|
||||
cp14-reagent-desc-basic-heal-poison = Эффективен как хорошее противоядовое средство.
|
||||
|
||||
cp14-reagent-name-see-rainbow = Радужный раствор
|
||||
cp14-reagent-desc-see-rainbow = Вызывает веселые галлюцинации, окрашивает весь мир в радужные яркие тона.
|
||||
|
||||
|
||||
@@ -5,4 +5,7 @@ cp14-reagent-name-bloodgrasssap = сок кровьтравы
|
||||
cp14-reagent-desc-bloodgrasssap = Выжимка из повсеместно растущей кровьтравы. Не имеет особых примечательных качеств, но при должной сноровке может быть приготовлена в питательную пищу.
|
||||
|
||||
cp14-reagent-name-agaric-shroom = сок мухомора
|
||||
cp14-reagent-desc-agaric-shroom = Именно этому соку мухоморы обязаны своей ядовитостью. Употребление вызывает сильные недомогания и галлюцинации, но опытные алхимики смогут найти этим грибам и другие применения.
|
||||
cp14-reagent-desc-agaric-shroom = Именно этому соку мухоморы обязаны своей ядовитостью. Употребление вызывает сильные недомогания и галлюцинации, но опытные алхимики смогут найти этим грибам и другие применения.
|
||||
|
||||
cp14-reagent-name-chromium-slime = хромиевая слизь
|
||||
cp14-reagent-desc-chromium-slime = Редкая субстанция, которую можно встретить в водных потоках, имеет уникальные свойства, позволяющие инвертировать эффекты реагентов, но при неправильной дозировке может полностью испортить зелье.
|
||||
@@ -36,4 +36,3 @@
|
||||
- CP14GatherableFlyAgaric5
|
||||
- CP14GatherableFlyAgaric6
|
||||
chance: 0.05
|
||||
|
||||
|
||||
@@ -58,9 +58,6 @@
|
||||
base3: ""
|
||||
base4: ""
|
||||
base5: ""
|
||||
- type: FlavorProfile
|
||||
flavors:
|
||||
- CP14Metallic #TODO
|
||||
- type: Extractable
|
||||
juiceSolution:
|
||||
reagents:
|
||||
@@ -72,4 +69,37 @@
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: CP14AgaricMushroom
|
||||
Quantity: 5
|
||||
|
||||
- type: entity
|
||||
id: CP14ChromiumSlime
|
||||
parent: FoodProduceBase
|
||||
name: chromium slime
|
||||
description: This rare thick substance can be found in a stream of water as if it has a mind of its own. When trying to change the slime itself - the slime changes the reagent it interacts with.
|
||||
components:
|
||||
- type: Item
|
||||
size: Tiny
|
||||
- type: Produce
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Specific/Alchemy/Herbal/chromium_slime.rsi
|
||||
layers:
|
||||
- state: base1
|
||||
map: ["random"]
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- random:
|
||||
base1: ""
|
||||
base2: ""
|
||||
base3: ""
|
||||
- type: Extractable
|
||||
juiceSolution:
|
||||
reagents:
|
||||
- ReagentId: CP14ChromiumSlime
|
||||
Quantity: 5
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: CP14ChromiumSlime
|
||||
Quantity: 5
|
||||
@@ -55,4 +55,11 @@
|
||||
- type: DrainableSolution
|
||||
solution: pool
|
||||
- type: Drink
|
||||
solution: pool
|
||||
solution: pool
|
||||
- type: RandomSpawner
|
||||
prototypes:
|
||||
- CP14GatherableChromiumSlime
|
||||
- CP14GatherableChromiumSlime2
|
||||
- CP14GatherableChromiumSlime3
|
||||
chance: 0.01
|
||||
deleteSpawnerAfterSpawn: false
|
||||
@@ -145,4 +145,46 @@
|
||||
parent: CP14GatherableFlyAgaric
|
||||
components:
|
||||
- type: Sprite
|
||||
state: world6
|
||||
state: world6
|
||||
|
||||
# Chromium slime
|
||||
|
||||
- type: entityLootTable
|
||||
id: CP14GatherChromiumSlime
|
||||
entries:
|
||||
- id: CP14ChromiumSlime #TODO
|
||||
amount: 1
|
||||
maxAmount: 1
|
||||
|
||||
- type: entity
|
||||
id: CP14GatherableChromiumSlime
|
||||
parent: CP14GatherableHerbalBase
|
||||
name: chromium slime
|
||||
description: This rare thick substance can be found in a stream of water as if it has a mind of its own. When trying to change the slime itself - the slime changes the reagent it interacts with.
|
||||
suffix: Gatherable
|
||||
components:
|
||||
- type: Sprite
|
||||
snapCardinals: true
|
||||
drawdepth: FloorTiles
|
||||
sprite: _CP14/Objects/Specific/Alchemy/Herbal/chromium_slime.rsi
|
||||
state: world1
|
||||
- type: Gatherable
|
||||
toolWhitelist:
|
||||
components:
|
||||
- Hands
|
||||
loot:
|
||||
All: CP14GatherChromiumSlime
|
||||
|
||||
- type: entity
|
||||
id: CP14GatherableChromiumSlime2
|
||||
parent: CP14GatherableChromiumSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
state: world2
|
||||
|
||||
- type: entity
|
||||
id: CP14GatherableChromiumSlime3
|
||||
parent: CP14GatherableChromiumSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
state: world3
|
||||
@@ -20,9 +20,19 @@
|
||||
flavorType: Base
|
||||
description: cp14-flavor-base-sweetly
|
||||
|
||||
- type: flavor
|
||||
id: CP14Stinging
|
||||
flavorType: Base
|
||||
description: cp14-flavor-base-stinging
|
||||
|
||||
# Complex
|
||||
|
||||
- type: flavor
|
||||
id: CP14Water
|
||||
flavorType: Complex
|
||||
description: cp14-flavor-complex-water
|
||||
|
||||
- type: flavor
|
||||
id: CP14Chromium
|
||||
flavorType: Complex
|
||||
description: cp14-flavor-complex-chromium
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
flavor: CP14Bitterly
|
||||
color: "#858585"
|
||||
physicalDesc: cp14-reagent-physical-desc-colorless
|
||||
|
||||
|
||||
- type: reagent
|
||||
id: CP14BasicEffectHealBlunt
|
||||
@@ -72,6 +71,22 @@
|
||||
groups:
|
||||
Brute: -3
|
||||
|
||||
- type: reagent
|
||||
id: CP14BasicEffectDamageBruteGroup
|
||||
name: cp14-reagent-name-basic-damage-brute
|
||||
desc: cp14-reagent-desc-basic-damage-brute
|
||||
group: CP14BasicEffect
|
||||
flavor: CP14Stinging
|
||||
color: "#633223"
|
||||
physicalDesc: cp14-reagent-physical-desc-ferrous
|
||||
metabolisms:
|
||||
Medicine:
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
groups:
|
||||
Brute: 3
|
||||
|
||||
- type: reagent
|
||||
id: CP14BasicEffectDamagePoison
|
||||
name: cp14-reagent-name-basic-damage-poison
|
||||
@@ -88,6 +103,22 @@
|
||||
types:
|
||||
Poison: 10
|
||||
|
||||
- type: reagent
|
||||
id: CP14BasicEffectHealPoison
|
||||
name: cp14-reagent-name-basic-heal-poison
|
||||
desc: cp14-reagent-desc-basic-heal-poison
|
||||
group: CP14BasicEffect
|
||||
flavor: CP14Bitterly
|
||||
color: "#82ba3d"
|
||||
physicalDesc: cp14-reagent-physical-desc-viscous
|
||||
metabolisms:
|
||||
Poison:
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Poison: -10
|
||||
|
||||
- type: reagent
|
||||
id: CP14BasicEffectRainbow
|
||||
name: cp14-reagent-name-see-rainbow
|
||||
|
||||
@@ -63,4 +63,20 @@
|
||||
component: SeeingRainbows
|
||||
type: Add
|
||||
time: 6
|
||||
refresh: false
|
||||
refresh: false
|
||||
|
||||
- type: reagent
|
||||
id: CP14ChromiumSlime
|
||||
group: CP14Biological
|
||||
name: cp14-reagent-name-chromium-slime
|
||||
desc: cp14-reagent-desc-chromium-slime
|
||||
flavor: CP14Chromium
|
||||
color: "#3b4872"
|
||||
physicalDesc: cp14-reagent-physical-desc-colorless
|
||||
slippery: true
|
||||
metabolisms:
|
||||
Food:
|
||||
effects:
|
||||
- !type:SatiateThirst
|
||||
- !type:ChemVomit
|
||||
probability: 0.05
|
||||
@@ -0,0 +1,111 @@
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectHealBlunt
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectHealBlunt:
|
||||
amount: 1
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectDamageBruteGroup: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectHealPiercing
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectHealPiercing:
|
||||
amount: 1
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectDamageBruteGroup: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectHealSlash
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectHealSlash:
|
||||
amount: 1
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectDamageBruteGroup: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectHealBruteGroup
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectHealBruteGroup:
|
||||
amount: 1
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectDamageBruteGroup: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectDamageBruteGroup
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectDamageBruteGroup:
|
||||
amount: 0.5
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectHealBruteGroup: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectHealPoison
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectHealPoison:
|
||||
amount: 0.5
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectDamagePoison: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
|
||||
- type: reaction
|
||||
id: CP14ChromiumInverseEffectDamagePoison
|
||||
minTemp: 350
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CP14BasicEffectDamagePoison:
|
||||
amount: 0.5
|
||||
CP14ChromiumSlime:
|
||||
amount: 0.5
|
||||
products:
|
||||
CP14BasicEffectHealPoison: 0.3
|
||||
CP14BasicEffectEmpty: 0.2
|
||||
effects:
|
||||
- !type:CP14AffectSolutionTemperature
|
||||
addTemperature: -350
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 216 B |
Binary file not shown.
|
After Width: | Height: | Size: 300 B |
Binary file not shown.
|
After Width: | Height: | Size: 307 B |
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by TheShuEd (Github) for CrystallPunk14",
|
||||
"states": [
|
||||
{
|
||||
"name": "base1"
|
||||
},
|
||||
{
|
||||
"name": "base2"
|
||||
},
|
||||
{
|
||||
"name": "base3"
|
||||
},
|
||||
{
|
||||
"name": "world1",
|
||||
"delays": [
|
||||
[
|
||||
0.25,
|
||||
0.25,
|
||||
0.25,
|
||||
0.25
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "world2",
|
||||
"delays": [
|
||||
[
|
||||
0.25,
|
||||
0.25,
|
||||
0.25,
|
||||
0.25
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "world3",
|
||||
"delays": [
|
||||
[
|
||||
0.25,
|
||||
0.25,
|
||||
0.25,
|
||||
0.25
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 340 B |
Binary file not shown.
|
After Width: | Height: | Size: 489 B |
Binary file not shown.
|
After Width: | Height: | Size: 290 B |
Reference in New Issue
Block a user