Custom burgers - FoodSequence system (#30755)

* setup foodsequence

* name generation and max layers limit

* move to nutrition

* move code to serverside

* move to appearance data

* marked fields as required

* Update foodsequence.yml

* b

* burgeers!

* Update produce.yml

* Update meat.yml

* Update burger.yml

* fix duplicate naming

* Update Resources/Locale/en-US/nutrition/components/food-sequence.ftl

Co-authored-by: Hrosts <35345601+Hrosts@users.noreply.github.com>

* merge flavor profiles

* make food trash List<>

* merge trash

* Update FoodComponent.cs

* Update FoodComponent.cs

* organs and cannabis support

---------

Co-authored-by: Hrosts <35345601+Hrosts@users.noreply.github.com>
This commit is contained in:
Ed
2024-08-10 22:31:32 +03:00
committed by GitHub
parent 707daa1a5e
commit 4d75cb54c8
34 changed files with 1358 additions and 61 deletions

View File

@@ -7,7 +7,7 @@ using Robust.Shared.Prototypes;
namespace Content.Server.Nutrition.Components;
[RegisterComponent, Access(typeof(FoodSystem))]
[RegisterComponent, Access(typeof(FoodSystem), typeof(FoodSequenceSystem))]
public sealed partial class FoodComponent : Component
{
[DataField]
@@ -17,7 +17,7 @@ public sealed partial class FoodComponent : Component
public SoundSpecifier UseSound = new SoundCollectionSpecifier("eating");
[DataField]
public EntProtoId? Trash;
public List<EntProtoId> Trash = new();
[DataField]
public FixedPoint2? TransferAmount = FixedPoint2.New(5);