Add Cotton Burgers (#36405)

* Adds cotton burgers

* Rephrased copyright

* Added an extra comment

* Adds CottonBurger to tags.yml, Not sure if i am supposed to do this or not.

* Reordered Cotton bun YAML, and fixed overwritten tags

* Merge issue fix?

* Add experiment plushie and remove rubber chicken from cotton burgers

* Minor comment change

---------

Co-authored-by: beck-thompson <beck314159@hotmail.com>
This commit is contained in:
Wolfkey-SomeoneElseTookMyUsername
2025-04-25 20:54:14 -05:00
committed by GitHub
parent 8812237108
commit 0dd9ffe8bf
13 changed files with 633 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ using Content.Shared.Nutrition.Components;
using Content.Shared.Nutrition.EntitySystems;
using Content.Shared.Nutrition.Prototypes;
using Content.Shared.Popups;
using Content.Shared.Storage.Components;
using Content.Shared.Tag;
using Robust.Server.GameObjects;
using Robust.Shared.Prototypes;
@@ -129,6 +130,13 @@ public sealed class FoodSequenceSystem : SharedFoodSequenceSystem
return false;
}
// Prevents plushies with items hidden in them from being added to prevent deletion of items
// If more of these types of checks need to be added, this should be changed to an event or something.
if (TryComp<SecretStashComponent>(element, out var stashComponent) && stashComponent.ItemContainer.Count != 0)
{
return false;
}
//Generate new visual layer
var flip = start.Comp.AllowHorizontalFlip && _random.Prob(0.5f);
var layer = new FoodSequenceVisualLayer(elementIndexed,