]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
craftable pet carrier (#34431)
authorKillerqu00 <47712032+Killerqu00@users.noreply.github.com>
Tue, 14 Jan 2025 22:34:04 +0000 (23:34 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2025 22:34:04 +0000 (23:34 +0100)
* craftable pet carrier

* epic integration test fail

* Update Resources/Prototypes/Recipes/Crafting/improvised.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Recipes/Crafting/Graphs/storage/pet_carrier.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Recipes/Crafting/Graphs/storage/pet_carrier.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Entities/Objects/Misc/pet_carrier.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* extra tab begone

* epic linter fail

* how did linter not see this???

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Misc/pet_carrier.yml
Resources/Prototypes/Recipes/Crafting/Graphs/storage/pet_carrier.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/improvised.yml

index 2d65f851d7d2851341d249be47bb1f4d646c908e..725db6731f6544364913eb5fd985fcdcf6181d0e 100644 (file)
@@ -63,4 +63,9 @@
   - type: ItemSlots
   - type: Item
     size: Ginormous
-    sprite: Objects/Storage/petcarrier.rsi
\ No newline at end of file
+    sprite: Objects/Storage/petcarrier.rsi
+  - type: Construction
+    graph: PetCarrier
+    node: petCarrier
+    containers:
+    - entity_storage
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/storage/pet_carrier.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/storage/pet_carrier.yml
new file mode 100644 (file)
index 0000000..670930f
--- /dev/null
@@ -0,0 +1,16 @@
+- type: constructionGraph
+  id: PetCarrier
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: petCarrier
+      steps:
+      - material: Plastic
+        amount: 5
+        doAfter: 7
+      - material: MetalRod
+        amount: 4
+        doAfter: 3
+  - node: petCarrier
+    entity: PetCarrier
index c87f4eb3d20c8e7631ac5e6d6d398edbebfef077..55ffdf5176f82021e6036622fdf76c47866c1b93 100644 (file)
   icon:
     sprite: Objects/Tools/rolling_pin.rsi
     state: icon
+
+- type: construction
+  name: pet carrier
+  id: PetCarrier
+  graph: PetCarrier
+  startNode: start
+  targetNode: petCarrier
+  category: construction-category-misc
+  objectType: Item
+  description: Allows large animals to be carried comfortably.
+  icon:
+    sprite: Objects/Storage/petcarrier.rsi
+    state: icon