adds plasma and uranium arrows (#31241)

This commit is contained in:
Boaz1111
2024-09-19 10:41:24 +02:00
committed by GitHub
parent 94ad76fd07
commit 59a8f4445d
3 changed files with 123 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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