From: Boaz1111 <149967078+Boaz1111@users.noreply.github.com> Date: Thu, 19 Sep 2024 08:41:24 +0000 (+0200) Subject: adds plasma and uranium arrows (#31241) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=59a8f4445d36d76a58ef814b3762cc324130deee;p=space-station-14.git adds plasma and uranium arrows (#31241) --- diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml index 6f925139fb..f1172c5de0 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml @@ -106,3 +106,56 @@ - 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 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml index 04b9469046..20e06e9f48 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml @@ -21,3 +21,51 @@ - 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 diff --git a/Resources/Prototypes/Recipes/Construction/weapons.yml b/Resources/Prototypes/Recipes/Construction/weapons.yml index 040d4c8963..5936a35069 100644 --- a/Resources/Prototypes/Recipes/Construction/weapons.yml +++ b/Resources/Prototypes/Recipes/Construction/weapons.yml @@ -152,6 +152,28 @@ 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