allow paper labels on seeds (#34450)

* allow paper labels on seeds

* added the components required by PaperLabel to the SeedBase

* localize insert/eject for PaperLabel

* visualize the paper label on seeds

* new paper layer for seeds

* eject the seed label on use

* different looking paper label

* forgot to turn on a layer
This commit is contained in:
Ignaz "Ian" Kraft
2025-02-09 00:16:06 +01:00
committed by GitHub
parent 5e3d744233
commit 36b59c69f4
10 changed files with 49 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ public sealed partial class BotanySystem : EntitySystem
if (!TryGetSeed(component, out var seed))
return;
using (args.PushGroup(nameof(SeedComponent)))
using (args.PushGroup(nameof(SeedComponent), 1))
{
var name = Loc.GetString(seed.DisplayName);
args.PushMarkup(Loc.GetString($"seed-component-description", ("seedName", name)));