Metabolism 3.0 (#5157)
* basic system + convert all plantmetabolism * stragglers * convert all old metabolisms over * fix YAML errors + dumb serialization issue * remove unused thingy * reimplement * add organ type condition * organtype condition but real * cleanups + test fix * metabolismtype -> metabolizertype * solution resilience * fixes * serializer + use entityuid + hashset * this is apparently an entirely different thing * turns out it just works * oops
This commit is contained in:
12
Content.Shared/Body/Metabolism/MetabolismGroupPrototype.cs
Normal file
12
Content.Shared/Body/Metabolism/MetabolismGroupPrototype.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.Body.Metabolism
|
||||
{
|
||||
[Prototype("metabolismGroup")]
|
||||
public class MetabolismGroupPrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
}
|
||||
}
|
||||
12
Content.Shared/Body/Metabolism/MetabolizerTypePrototype.cs
Normal file
12
Content.Shared/Body/Metabolism/MetabolizerTypePrototype.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.Body.Metabolism
|
||||
{
|
||||
[Prototype("metabolizerType")]
|
||||
public class MetabolizerTypePrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user