From 1c497db66520deb13214f9814c93e567cae23dcd Mon Sep 17 00:00:00 2001 From: cOrigin <96662984+c0rigin@users.noreply.github.com> Date: Sun, 5 Nov 2023 21:21:07 -0500 Subject: [PATCH] Artifact fragments can now stack. (#21232) * it stacks now * Fixed typo * fixes random sprite * fix --- .../Specific/Xenoarchaeology/item_artifacts.yml | 16 +++++++++++++++- Resources/Prototypes/Stacks/science_stacks.yml | 6 ++++++ Resources/Prototypes/ore.yml | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Resources/Prototypes/Stacks/science_stacks.yml diff --git a/Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/item_artifacts.yml b/Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/item_artifacts.yml index 6c49fd7a5e..9e988bb977 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/item_artifacts.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/item_artifacts.yml @@ -177,6 +177,8 @@ - enum.ArtifactsVisualLayers.Base: wizardball6: "" - type: Appearance + - type: Item + size: 150 - type: Tag tags: - ArtifactFragment @@ -186,7 +188,19 @@ - ReagentId: Artifexium Quantity: 10 - type: StaticPrice - price: 250 + price: 0 + - type: Stack + stackType: ArtifactFragment - type: GuideHelp guides: - Xenoarchaeology + +- type: entity + parent: ArtifactFragment + id: ArtifactFragment1 + suffix: Single + components: + - type: Stack + count: 1 + - type: Item + size: 5 diff --git a/Resources/Prototypes/Stacks/science_stacks.yml b/Resources/Prototypes/Stacks/science_stacks.yml new file mode 100644 index 0000000000..010a5dc659 --- /dev/null +++ b/Resources/Prototypes/Stacks/science_stacks.yml @@ -0,0 +1,6 @@ +- type: stack + id: ArtifactFragment + name: artifact fragment + spawn: ArtifactFragment1 + maxCount: 30 + itemSize: 5 \ No newline at end of file diff --git a/Resources/Prototypes/ore.yml b/Resources/Prototypes/ore.yml index c8411940a4..89214c96fa 100644 --- a/Resources/Prototypes/ore.yml +++ b/Resources/Prototypes/ore.yml @@ -50,7 +50,7 @@ - type: ore id: OreArtifactFragment - oreEntity: ArtifactFragment + oreEntity: ArtifactFragment1 minOreYield: 2 maxOreYield: 4 -- 2.51.2