Adds bola and a crafting recipe for them. (#6185)

This commit is contained in:
keronshb
2022-01-17 14:21:57 -05:00
committed by GitHub
parent 8f51cc3344
commit 2a70ba88f7
8 changed files with 84 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
- type: entity
name: bola
parent: BaseItem
id: Bola
description: Linked together with some spare cuffs and metal.
components:
- type: Item
size: 20
- type: Sprite
sprite: Objects/Weapons/Throwable/bola.rsi
state: icon
- type: EmitSoundOnThrow
sound: /Audio/Weapons/bolathrow.ogg
- type: EmitSoundOnLand
sound: /Audio/Effects/snap.ogg
- type: StunOnCollide
stunAmount: 1
knockdownAmount: 3
- type: Construction
graph: bola
node: bola

View File

@@ -0,0 +1,20 @@
- type: constructionGraph
id: bola
start: start
graph:
- node: start
edges:
- to: bola
steps:
- tag: Handcuffs
icon:
sprite: Objects/Misc/cablecuffs.rsi
state: cuff
color: red
name: cuffs
- material: Steel
amount: 6
doAfter: 2
- node: bola
entity: Bola

View File

@@ -1,4 +1,4 @@
- type: construction
- type: construction
name: crude spear
id: spear
graph: spear
@@ -8,3 +8,14 @@
description: A crude spear for when you need to put holes in somebody.
icon: Objects/Weapons/Melee/spear.rsi/spear.png
objectType: Item
- type: construction
name: makeshift bola
id: bola
graph: bola
startNode: start
targetNode: bola
category: Weapons
description: A simple weapon for tripping someone at a distance.
icon: Objects/Weapons/Throwable/bola.rsi/icon.png
objectType: Item