]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Re-added shivs to crafting menus (#25094)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Mon, 12 Feb 2024 02:35:45 +0000 (03:35 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2024 02:35:45 +0000 (21:35 -0500)
Added a recipe for crafting menu

Resources/Prototypes/Entities/Objects/Materials/shards.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/shiv.yml
Resources/Prototypes/Recipes/Construction/weapons.yml

index dca5f2c5d3b94ec58977b2bb84fb6ba8032f2f0a..fa57f90c18f7d0e7f0f56ddfd552f210e400cc08 100644 (file)
         - ReagentId: Silicon
           Quantity: 5 #Half of the value of regular glass. TECHNICALLY, welding a single shard of glass gives you the full thing back with just 1 sheet, but that is stupid so I am making it half.
   - type: Construction
-    graph: Shiv
+    graph: ShivConstruct
     node: start
 
 - type: entity
         - ReagentId: Silicon
           Quantity: 5 #I don't care enough to divide all of the reinforced glass materials by 2 because reinforced glass shards are due for removal anyways.
   - type: Construction
-    graph: ReinforcedShiv
+    graph: ReinforcedShivConstruct
     node: start
 
 - type: entity
         - ReagentId: Plasma
           Quantity: 5
   - type: Construction
-    graph: PlasmaShiv
+    graph: PlasmaShivConstruct
     node: start
 
 - type: entity
         - ReagentId: Uranium
           Quantity: 5
   - type: Construction
-    graph: UraniumShiv
+    graph: UraniumShivConstruct
     node: start
index 54e518fd7872f7f85f15aea5e1e7a649698f5bce..28de8e7f7d40c1d05bf01981470272efa34a8cc7 100644 (file)
@@ -1,5 +1,5 @@
 - type: constructionGraph
-  id: Shiv
+  id: ShivConstruct
   start: start
   graph:
   - node: start
     entity: Shiv
 
 - type: constructionGraph
-  id: ReinforcedShiv
+  id: Shiv
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: icon
+      steps:
+      - tag: GlassShard
+        name: Glass Shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 1
+      - material: Cloth
+        amount: 1
+        doAfter: 1
+  - node: icon
+    entity: Shiv
+
+- type: constructionGraph
+  id: ReinforcedShivConstruct
   start: start
   graph:
   - node: start
     entity: ReinforcedShiv
 
 - type: constructionGraph
-  id: PlasmaShiv
+  id: ReinforcedShiv
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: icon
+      steps:
+      - tag: ReinforcedGlassShard
+        name: Reinforced Glass Shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 1
+      - material: Cloth
+        amount: 1
+        doAfter: 1
+  - node: icon
+    entity: ReinforcedShiv
+
+- type: constructionGraph
+  id: PlasmaShivConstruct
   start: start
   graph:
   - node: start
     entity: PlasmaShiv
 
 - type: constructionGraph
-  id: UraniumShiv
+  id: PlasmaShiv
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: icon
+      steps:
+      - tag: PlasmaGlassShard
+        name: Plasma Glass Shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 1
+      - material: Cloth
+        amount: 1
+        doAfter: 1
+  - node: icon
+    entity: PlasmaShiv
+
+- type: constructionGraph
+  id: UraniumShivConstruct
   start: start
   graph:
   - node: start
         doAfter: 1
   - node: icon
     entity: UraniumShiv
+
+- type: constructionGraph
+  id: UraniumShiv
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: icon
+      steps:
+      - tag: UraniumGlassShard
+        name: Uranium Glass Shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 1
+      - material: Cloth
+        amount: 1
+        doAfter: 1
+  - node: icon
+    entity: UraniumShiv
index 868a5cb186edd356c1811e9aca8f7a333c278aae..2efc3f01a41b91f1556588d078d49f1e5a955efa 100644 (file)
@@ -1,3 +1,47 @@
+- type: construction
+  name: glass shiv
+  id: Shiv
+  graph: Shiv
+  startNode: start
+  targetNode: icon
+  category: construction-category-weapons
+  description: A glass shard with a piece of cloth wrapped around it.
+  icon: { sprite: Objects/Weapons/Melee/shiv.rsi, state: icon }
+  objectType: Item
+
+- type: construction
+  name: reinforced shiv
+  id: ReinforcedShiv
+  graph: ReinforcedShiv
+  startNode: start
+  targetNode: icon
+  category: construction-category-weapons
+  description: A reinforced glass shard with a piece of cloth wrapped around it.
+  icon: { sprite: Objects/Weapons/Melee/reinforced_shiv.rsi, state: icon }
+  objectType: Item
+
+- type: construction
+  name: plasma shiv
+  id: PlasmaShiv
+  graph: PlasmaShiv
+  startNode: start
+  targetNode: icon
+  category: construction-category-weapons
+  description: A plasma shard with a piece of cloth wrapped around it.
+  icon: { sprite: Objects/Weapons/Melee/plasma_shiv.rsi, state: icon }
+  objectType: Item
+
+- type: construction
+  name: uranium shiv
+  id: UraniumShiv
+  graph: UraniumShiv
+  startNode: start
+  targetNode: icon
+  category: construction-category-weapons
+  description: A uranium shard with a piece of cloth wrapped around it.
+  icon: { sprite: Objects/Weapons/Melee/uranium_shiv.rsi, state: icon }
+  objectType: Item
+
 - type: construction
   name: crude spear
   id: Spear