bow and quiver
@@ -6,7 +6,7 @@
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Belt/quiver.rsi
|
||||
sprite: _CP14/Clothing/Belt/quiver.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
- map: [ "enum.StorageContainerVisualLayers.Fill" ]
|
||||
@@ -25,6 +25,7 @@
|
||||
whitelist:
|
||||
tags:
|
||||
- CP14CrossbowBolt
|
||||
- CP14Arrow
|
||||
- type: Appearance
|
||||
- type: StorageContainerVisuals
|
||||
maxFillLevels: 3
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
- type: entity
|
||||
parent: BaseArrow
|
||||
id: CP14BaseArrow
|
||||
categories: [ ForkFiltered ]
|
||||
abstract: true
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- CP14Arrow
|
||||
|
||||
- type: entity
|
||||
id: CP14Arrow
|
||||
parent: CP14BaseArrow
|
||||
name: arrow
|
||||
description: Wooden rod with iron tip and plumage. Simple and dangerous.
|
||||
components:
|
||||
- type: Projectile
|
||||
deleteOnCollide: false
|
||||
onlyCollideWhenShot: true
|
||||
damage:
|
||||
types:
|
||||
Piercing: 25
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Weapons/Ranged/Projectiles/arrows.rsi
|
||||
layers:
|
||||
- state: tail
|
||||
- state: rod
|
||||
- state: tip
|
||||
- state: solution1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
@@ -0,0 +1,80 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14BaseBow
|
||||
abstract: true
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Weapons/Ranged/bow.rsi
|
||||
- type: Item
|
||||
size: Normal
|
||||
- type: Clothing
|
||||
equipDelay: 0.45
|
||||
unequipDelay: 0.45
|
||||
sprite: _CP14/Objects/Weapons/Ranged/bow.rsi
|
||||
quickEquip: false
|
||||
breakOnMove: false
|
||||
slots:
|
||||
- neck
|
||||
- type: Wieldable
|
||||
wieldSound:
|
||||
path: /Audio/Items/bow_pull.ogg
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
- type: GunRequiresWield
|
||||
- type: Gun
|
||||
minAngle: 0
|
||||
maxAngle: 5
|
||||
fireRate: 1
|
||||
selectedMode: SemiAuto
|
||||
availableModes:
|
||||
- SemiAuto
|
||||
soundGunshot:
|
||||
collection: BulletMiss
|
||||
soundEmpty: null
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
projectiles:
|
||||
name: Projectiles
|
||||
startingItem: null
|
||||
insertSound: /Audio/Weapons/Guns/Misc/arrow_nock.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- CP14Arrow
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
projectiles: !type:ContainerSlot
|
||||
- type: ContainerAmmoProvider
|
||||
container: projectiles
|
||||
|
||||
- type: entity
|
||||
name: combat bow
|
||||
description: A standard ranged weapon, and even without magic.
|
||||
id: CP14BowCombat
|
||||
parent: CP14BaseBow
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: unwielded
|
||||
map: [ base ]
|
||||
- state: unwielded-arrow
|
||||
map: [ arrow ]
|
||||
visible: false
|
||||
- type: Appearance
|
||||
- type: ItemMapper
|
||||
spriteLayers:
|
||||
- arrow
|
||||
mapLayers:
|
||||
arrow:
|
||||
whitelist:
|
||||
tags:
|
||||
- CP14Arrow
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.WieldableVisuals.Wielded:
|
||||
arrow:
|
||||
True: { state: wielded-arrow }
|
||||
False: { state: unwielded-arrow }
|
||||
base:
|
||||
True: { state: wielded }
|
||||
False: { state: unwielded }
|
||||
@@ -78,3 +78,6 @@
|
||||
|
||||
- type: Tag
|
||||
id: CP14SpellScroll
|
||||
|
||||
- type: Tag
|
||||
id: CP14Arrow
|
||||
|
||||
|
After Width: | Height: | Size: 374 B |
BIN
Resources/Textures/_CP14/Clothing/Belt/quiver.rsi/fill-1.png
Normal file
|
After Width: | Height: | Size: 193 B |
BIN
Resources/Textures/_CP14/Clothing/Belt/quiver.rsi/fill-2.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
Resources/Textures/_CP14/Clothing/Belt/quiver.rsi/fill-3.png
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
Resources/Textures/_CP14/Clothing/Belt/quiver.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 343 B |
27
Resources/Textures/_CP14/Clothing/Belt/quiver.rsi/meta.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprited by discord: odlieerr",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "fill-1"
|
||||
},
|
||||
{
|
||||
"name": "fill-2"
|
||||
},
|
||||
{
|
||||
"name": "fill-3"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 281 B |
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by odlieerr (discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "tail"
|
||||
},
|
||||
{
|
||||
"name": "rod"
|
||||
},
|
||||
{
|
||||
"name": "tip"
|
||||
},
|
||||
{
|
||||
"name": "solution1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 209 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 524 B |
|
After Width: | Height: | Size: 538 B |
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprited by discord: odlieerr",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "unwielded"
|
||||
},
|
||||
{
|
||||
"name": "unwielded-arrow"
|
||||
},
|
||||
{
|
||||
"name": "wielded"
|
||||
},
|
||||
{
|
||||
"name": "wielded-arrow"
|
||||
},
|
||||
{
|
||||
"name": "equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 889 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 337 B |