added light crossbow
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user