added light crossbow
@@ -0,0 +1,54 @@
|
||||
- type: entity
|
||||
id: CP14BaseLightCrossbow
|
||||
name: light crossbow
|
||||
parent: BaseItem
|
||||
description: a small, compact crossbow that is comfortable to hold with one hand. Not too strong on the back side.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Weapons/Ranged/light_crossbow.rsi
|
||||
layers:
|
||||
- state: unwielded
|
||||
map: [ base ]
|
||||
- type: Item
|
||||
size: Small
|
||||
- type: Clothing
|
||||
equipDelay: 0.45
|
||||
unequipDelay: 0.45
|
||||
sprite: _CP14/Objects/Weapons/Ranged/light_crossbow.rsi
|
||||
quickEquip: false
|
||||
breakOnMove: false
|
||||
slots:
|
||||
- belt
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
- type: Gun
|
||||
fireRate: 1
|
||||
minAngle: 15
|
||||
maxAngle: 35
|
||||
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:
|
||||
- Arrow
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
projectiles: !type:ContainerSlot
|
||||
- type: ContainerAmmoProvider
|
||||
container: projectiles
|
||||
- type: Appearance
|
||||
- type: ItemMapper
|
||||
mapLayers:
|
||||
unwielded-arrow:
|
||||
whitelist:
|
||||
tags:
|
||||
- Arrow
|
||||
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 583 B |
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by TheShuEd (github) for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "unwielded"
|
||||
},
|
||||
{
|
||||
"name": "unwielded-arrow"
|
||||
},
|
||||
{
|
||||
"name": "wielded"
|
||||
},
|
||||
{
|
||||
"name": "wielded-arrow"
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 345 B |
|
After Width: | Height: | Size: 145 B |
|
After Width: | Height: | Size: 357 B |