]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
adds plasma and uranium arrows (#31241)
authorBoaz1111 <149967078+Boaz1111@users.noreply.github.com>
Thu, 19 Sep 2024 08:41:24 +0000 (10:41 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2024 08:41:24 +0000 (10:41 +0200)
Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml
Resources/Prototypes/Recipes/Construction/weapons.yml

index 6f925139fb1bd80082a074d2b07063fb72a2350e..f1172c5de08ca924efb3f7bcea9b3d0e00e0f421 100644 (file)
   - type: Construction
     graph: ImprovisedArrow
     node: ImprovisedArrow
+
+- type: entity
+  parent: BaseArrow
+  id: ArrowImprovisedPlasma
+  name: plasma glass shard arrow
+  description: The greyshirt's preferred projectile. Now with extra lethality!
+  components:
+  - type: Sprite
+    sprite: Objects/Weapons/Guns/Projectiles/arrows.rsi
+    layers:
+    - state: tail
+      color: white
+    - state: rod
+      color: darkgray
+    - state: tip
+      color: purple
+    - state: solution1
+      map: ["enum.SolutionContainerLayers.Fill"]
+      visible: false
+  - type: Projectile
+    damage:
+      types:
+        Piercing: 30
+  - type: Construction
+    graph: ImprovisedArrowPlasma
+    node: ImprovisedArrowPlasma
+
+- type: entity
+  parent: BaseArrow
+  id: ArrowImprovisedUranium
+  name: uranium glass shard arrow
+  description: The greyshirt's preferred projectile. Now with added radiation!
+  components:
+  - type: Sprite
+    sprite: Objects/Weapons/Guns/Projectiles/arrows.rsi
+    layers:
+    - state: tail
+      color: white
+    - state: rod
+      color: darkgray
+    - state: tip
+      color: green
+    - state: solution1
+      map: ["enum.SolutionContainerLayers.Fill"]
+      visible: false
+  - type: Projectile
+    damage:
+      types:
+        Piercing: 25
+        Radiation: 5
+  - type: Construction
+    graph: ImprovisedArrowUranium
+    node: ImprovisedArrowUranium
index 04b94690467dacf09ef88abc28df7b3721b9a026..20e06e9f48412c30e82de1638e9668db2574fab7 100644 (file)
 
   - node: ImprovisedArrow
     entity: ArrowImprovised
+
+- type: constructionGraph
+  id: ImprovisedArrowPlasma
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: ImprovisedArrowPlasma
+      steps:
+      - material: MetalRod
+        amount: 1
+        doAfter: 0.5
+      - material: Cloth
+        amount: 1
+        doAfter: 0.5
+      - tag: PlasmaGlassShard
+        name: plasma glass shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 0.5
+
+  - node: ImprovisedArrowPlasma
+    entity: ArrowImprovisedPlasma
+
+- type: constructionGraph
+  id: ImprovisedArrowUranium
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: ImprovisedArrowUranium
+      steps:
+      - material: MetalRod
+        amount: 1
+        doAfter: 0.5
+      - material: Cloth
+        amount: 1
+        doAfter: 0.5
+      - tag: UraniumGlassShard
+        name: uranium glass shard
+        icon:
+          sprite: Objects/Materials/Shards/shard.rsi
+          state: shard1
+        doAfter: 0.5
+
+  - node: ImprovisedArrowUranium
+    entity: ArrowImprovisedUranium
index 040d4c8963d13899bfd53c3cecaf40f40d4290b5..5936a350691325ae9de7c0906710404e9c95f3b4 100644 (file)
   icon: { sprite: Objects/Weapons/Guns/Bow/bow.rsi, state: wielded-arrow }
   objectType: Item
 
+- type: construction
+  name: plasma glass shard arrow
+  id: ImprovisedArrowPlasma
+  graph: ImprovisedArrowPlasma
+  startNode: start
+  targetNode: ImprovisedArrowPlasma
+  category: construction-category-weapons
+  description: An arrow tipped with pieces of a plasma glass shard, for use with a bow.
+  icon: { sprite: Objects/Weapons/Guns/Bow/bow.rsi, state: wielded-arrow }
+  objectType: Item
+
+- type: construction
+  name: uranium glass shard arrow
+  id: ImprovisedArrowUranium
+  graph: ImprovisedArrowUranium
+  startNode: start
+  targetNode: ImprovisedArrowUranium
+  category: construction-category-weapons
+  description: An arrow tipped with pieces of a uranium glass shard, for use with a bow.
+  icon: { sprite: Objects/Weapons/Guns/Bow/bow.rsi, state: wielded-arrow }
+  objectType: Item
+
 - type: construction
   name: improvised bow
   id: ImprovisedBow