]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
add material composition to some salv treasure (#31970)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Wed, 11 Sep 2024 16:24:16 +0000 (16:24 +0000)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2024 16:24:16 +0000 (18:24 +0200)
* add material composition to some salv treasure

* fake

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Resources/Prototypes/Entities/Objects/Misc/treasure.yml

index 20e72f8a1155ec66dc110b8dcb9af51f08bf5052..dfe33ab11126e53f0ea71bba7ed92e0731ed817f 100644 (file)
     - state: cpu_super
   - type: Item
     size: Tiny
+  - type: PhysicalComposition
+    materialComposition: # big mats if you don't sell it
+      Steel: 500
+      Glass: 1000
+      Silver: 300
   - type: StaticPrice
     price: 750
 
     state: coin_iron
   - type: Item
     size: Tiny
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 300
   - type: StaticPrice
     price: 75
 
   components:
   - type: Sprite
     state: coin_silver
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 100 # coins are fake on the inside
+      Silver: 200
   - type: StaticPrice
-    price: 125
+    price: 135
 
 - type: entity
   parent: TreasureCoinIron
   components:
   - type: Sprite
     state: coin_gold
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 100
+      Gold: 200
   - type: StaticPrice
     price: 175
 
   components:
   - type: Sprite
     state: coin_adamantine
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 400
+      Diamond: 5
   - type: StaticPrice
     price: 250
 
   components:
   - type: Sprite
     state: coin_diamond
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 300
+      Diamond: 15
   - type: StaticPrice
     price: 500