add crossBOLT

This commit is contained in:
Ed
2024-04-22 22:01:47 +03:00
parent 39f64dea73
commit 8ba56847bb
6 changed files with 51 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
- type: entity
parent: BaseArrow
id: CP14BaseCrossbolt
abstract: true
components:
- type: Tag
tags:
- CP14CrossbowBolt
- type: entity
id: CP14Crossbolt
parent: CP14BaseCrossbolt
name: crossbow bolt
description: Rod with a sharpened spike. No plumage, they're not bows.
components:
- type: Projectile
deleteOnCollide: false
onlyCollideWhenShot: true
damage:
types:
Piercing: 20
- type: Sprite
sprite: _CP14/Objects/Weapons/Ranged/Projectiles/crossbolt.rsi
layers:
- state: rod
- state: solution1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false

View File

@@ -39,7 +39,7 @@
insertSound: /Audio/Weapons/Guns/Misc/arrow_nock.ogg
whitelist:
tags:
- Arrow
- CP14CrossbowBolt
- type: ContainerContainer
containers:
projectiles: !type:ContainerSlot
@@ -51,4 +51,4 @@
unwielded-arrow:
whitelist:
tags:
- Arrow
- CP14CrossbowBolt

View File

@@ -2,4 +2,7 @@
id: CP14Key
- type: Tag
id: CP14Coin
id: CP14Coin
- type: Tag
id: CP14CrossbowBolt

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by TheShuEd (github) for CrystallPunk14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "rod"
},
{
"name": "solution1"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B