Fixing TagResource (Meat Pies) and coffins (#1024)

* Update coffin.yml

* PierogI
This commit is contained in:
Link
2025-03-13 17:19:04 +03:00
committed by GitHub
parent 44c9897893
commit 6c7933cd7f
2 changed files with 5 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ public sealed partial class TagResource : CP14WorkbenchCraftRequirement
if (!tagSystem.HasTag(placedEntity, Tag))
continue;
if (requiredCount <= 0)
break;
requiredCount--;
entManager.DeleteEntity(placedEntity);
}

View File

@@ -13,7 +13,7 @@
- state: closed
map: ["enum.StorageVisualLayers.Door"]
- state: paper
map: ["enum.PaperLabelVisuals.Layer"]
map: ["enum.PaperLabelVisuals.Layer"]
- type: Icon
sprite: _CP14/Structures/Storage/Crates/coffin.rsi
state: base
@@ -31,7 +31,7 @@
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
CP14WoodenPlanks1:
min: 1
max: 4
- !type:DoActsBehavior