Add mini-ebow (#357)

This commit is contained in:
Aviu00
2023-09-04 12:03:37 +03:00
committed by Aviu00
parent e64c1b7e81
commit 73cca78e61
11 changed files with 113 additions and 0 deletions

View File

@@ -63,6 +63,23 @@
- UplinkWeapons
saleLimit: 1
- type: listing
id: UplinkMiniEbow
name: маленький энергетический арбалет
description: Довольно тихое оружие, которое автоматически перезаряжается и оглушает. Хорошо сочетается с другими видами оружия.
icon: { sprite: /Textures/Objects/Weapons/Guns/Battery/mini-ebow.rsi, state: icon }
productEntity: EnergyCrossbowMini
cost:
Telecrystal: 10
categories:
- UplinkWeapons
conditions:
- !type:StoreWhitelistCondition
blacklist:
tags:
- NukeOpsUplink
saleLimit: 1
- type: listing
id: UplinkEsword
name: uplink-esword-name

View File

@@ -0,0 +1,20 @@
- type: entity
name: energy crossbow bolt
id: BoltEnergyCrossbow
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/plasma.rsi
state: bullet
- type: Ammo
muzzleFlash: null
- type: Projectile
impactEffect: null
damage:
types:
Poison: 15
- type: StunOnCollide
stunAmount: 2
knockdownAmount: 2

View File

@@ -0,0 +1,34 @@
- type: entity
parent: BaseItem
id: EnergyCrossbowMini
name: маленький энергетический арбалет
description: Стреляет энергетическими болтами, которые отравляют и оглушают цель.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Battery/mini-ebow.rsi
- type: Item
size: 10
sprite: Objects/Weapons/Guns/Battery/mini-ebow.rsi
- type: Clothing
slots:
- Belt
- type: Gun
fireRate: 0.4
soundGunshot:
path: /Audio/Weapons/click.ogg
- type: RechargeBasicEntityAmmo
rechargeCooldown: 2
rechargeSound:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
- type: BasicEntityAmmoProvider
proto: BoltEnergyCrossbow
capacity: 1
count: 1
- type: AmmoCounter
- type: GenericVisualizer
visuals:
enum.AmmoVisuals.HasAmmo:
base:
True: { state: icon }
False: { state: empty }
- type: Appearance

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

View File

@@ -0,0 +1,28 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "empty"
},
{
"name": "bolt"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "See copyright for above folder (Weapons/Guns/Projectiles)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "bullet"
}
]
}