]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Artifact fragments can now stack. (#21232)
authorcOrigin <96662984+c0rigin@users.noreply.github.com>
Mon, 6 Nov 2023 02:21:07 +0000 (21:21 -0500)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2023 02:21:07 +0000 (19:21 -0700)
* it stacks now

* Fixed typo

* fixes random sprite

* fix

Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/item_artifacts.yml
Resources/Prototypes/Stacks/science_stacks.yml [new file with mode: 0644]
Resources/Prototypes/ore.yml

index 6c49fd7a5e0bda9b239dbf48b6b01b7e122026f0..9e988bb977b1b1cadfeefbc5028693d8ba45d293 100644 (file)
     - enum.ArtifactsVisualLayers.Base:
         wizardball6: ""
   - type: Appearance
+  - type: Item
+    size: 150
   - type: Tag
     tags:
     - ArtifactFragment
       - 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 (file)
index 0000000..010a5dc
--- /dev/null
@@ -0,0 +1,6 @@
+- type: stack
+  id: ArtifactFragment
+  name: artifact fragment
+  spawn: ArtifactFragment1
+  maxCount: 30
+  itemSize: 5
\ No newline at end of file
index c8411940a4964d7a502eb639f709c0c01d418699..89214c96fa4edd405110bd09b0f86eafcfaae3f7 100644 (file)
@@ -50,7 +50,7 @@
 
 - type: ore
   id: OreArtifactFragment
-  oreEntity: ArtifactFragment
+  oreEntity: ArtifactFragment1
   minOreYield: 2
   maxOreYield: 4