Blue amanita flower, mana potions! (#478)
* merge bloodgrass and red flowers * delete sprites * add blue amanita sprites * restruct alchemy reactions folders * mana heal and damage reagent * add gatherable to worldgen * fixes * Update sewing_table.yml * Update Alchemy.xml * Update Alchemy.xml * Update migration.yml
This commit is contained in:
@@ -45,6 +45,14 @@ public partial class SharedCP14MagicEnergySystem : EntitySystem
|
||||
("color", color));
|
||||
}
|
||||
|
||||
public void ChangeEnergy(EntityUid uid, FixedPoint2 energy, bool safe = false)
|
||||
{
|
||||
if (!TryComp<CP14MagicEnergyContainerComponent>(uid, out var energyContainer))
|
||||
return;
|
||||
|
||||
ChangeEnergy(uid, energyContainer, energy, safe);
|
||||
}
|
||||
|
||||
public void ChangeEnergy(EntityUid uid, CP14MagicEnergyContainerComponent component, FixedPoint2 energy, bool safe = false)
|
||||
{
|
||||
if (!safe)
|
||||
|
||||
Reference in New Issue
Block a user