d (#1351)
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using Content.Server.Cargo.Systems;
|
||||
using Content.Shared._CP14.MagicEnergy;
|
||||
using Content.Shared._CP14.MagicEnergy.Components;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Server._CP14.MagicEnergy;
|
||||
@@ -16,13 +14,6 @@ public sealed partial class CP14MagicEnergySystem : SharedCP14MagicEnergySystem
|
||||
|
||||
InitializeDraw();
|
||||
InitializePortRelay();
|
||||
|
||||
SubscribeLocalEvent<CP14MagicEnergyContainerComponent, PriceCalculationEvent>(OnMagicPrice);
|
||||
}
|
||||
|
||||
private void OnMagicPrice(Entity<CP14MagicEnergyContainerComponent> ent, ref PriceCalculationEvent args)
|
||||
{
|
||||
args.Price += ent.Comp.Energy.Double() * 0.1;
|
||||
}
|
||||
|
||||
public override void Update(float frameTime)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
amount: 1.5
|
||||
- !type:PlantAdjustHealth
|
||||
amount: 0.75
|
||||
pricePerUnit: 0.2
|
||||
pricePerUnit: 0.05
|
||||
|
||||
- type: reagent
|
||||
id: Vitamin #Anything "healthy"
|
||||
@@ -53,7 +53,7 @@
|
||||
amount: 0.5
|
||||
- !type:PlantAdjustHealth
|
||||
amount: 1.5
|
||||
pricePerUnit: 0.25
|
||||
pricePerUnit: 0.07
|
||||
|
||||
- type: reagent
|
||||
id: Protein #Meat and beans
|
||||
@@ -78,7 +78,7 @@
|
||||
- !type:OrganType
|
||||
type: CP14Vampire
|
||||
shouldHave: false
|
||||
pricePerUnit: 0.3
|
||||
pricePerUnit: 0.1
|
||||
|
||||
- type: reagent
|
||||
id: Sugar #Candy and grains
|
||||
|
||||
@@ -39,4 +39,7 @@
|
||||
- state: label
|
||||
visible: false
|
||||
map: ["enum.PaperLabelVisuals.Layer"]
|
||||
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
CP14Glass: 10
|
||||
CP14Gold: 10
|
||||
|
||||
@@ -200,6 +200,17 @@
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14Cauldron
|
||||
|
||||
- type: cp14TradingPosition
|
||||
id: CP14BaseAlchemyBomb
|
||||
faction: BradPotions
|
||||
reputationLevel: 2
|
||||
uiPosition: 7
|
||||
icon:
|
||||
sprite: _CP14/Objects/Specific/Alchemy/vial_small.rsi
|
||||
state: vial
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14BaseAlchemyBomb
|
||||
|
||||
# Rep 3
|
||||
|
||||
- type: cp14TradingPosition
|
||||
|
||||
Reference in New Issue
Block a user