forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
232 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- files: ["draw_bow2.ogg"] | ||
license: "CC-BY-SA-3.0" | ||
copyright: "Is taken from tgstation at https://github.com/ss220-space/tgstation/blob/eee5e8ffb539d91a507316abf17839779326aa99/sound/weapons/draw_bow2.ogg" | ||
source: "https://github.com/tgstation/tgstation" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Weapons | ||
uplink-ecrossbow-name = { ent-WeaponMiniEnergyCrossbow } | ||
uplink-ecrossbow-desc = { ent-WeaponMiniEnergyCrossbow.desc } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ent-WeaponMiniEnergyCrossbow = мини энерго-арбалет | ||
.desc = Оружие, излюбленное специалистами синдиката, предпочитающими работать скрытно. | ||
ent-WeaponEnergyCrossbow = энерго-арбалет | ||
.desc = Оружие, спроектированное методом обратной инженерии с использованием технологий синдиката. Средних размеров и слабее "оригинала". | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,3 +168,5 @@ | |
cost: 15000 | ||
recipeUnlocks: | ||
- WeaponAdvancedLaser | ||
- WeaponEnergyCrossbow #SS220 Energy crossbow | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- type: listing | ||
id: UplinkEcrossbow | ||
name: uplink-ecrossbow-name | ||
description: uplink-ecrossbow-desc | ||
icon: { sprite: /Textures/SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi, state: icon } | ||
productEntity: WeaponMiniEnergyCrossbow | ||
cost: | ||
Telecrystal: 10 | ||
categories: | ||
- UplinkWeapons |
18 changes: 18 additions & 0 deletions
18
Resources/Prototypes/SS220/Entities/Objects/Weapons/Guns/Projectiles/impacts.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- type: entity | ||
id: BulletImpactEffectGreenLaser | ||
noSpawn: true | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.2 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi | ||
state: impact_laser_greyscale | ||
color: "#00cb00" | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu |
55 changes: 55 additions & 0 deletions
55
Resources/Prototypes/SS220/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
- type: entity | ||
name: mini energy crossbow bolt | ||
id: BulletMiniEnergyCrossbow | ||
parent: BaseBullet | ||
noSpawn: true | ||
components: | ||
- type: FlyBySound | ||
sound: | ||
collection: EnergyMiss | ||
params: | ||
volume: 5 | ||
- type: Sprite | ||
noRot: false | ||
sprite: SS220/Objects/Weapons/Guns/Projectiles/projectiles.rsi | ||
color: "#00cb00" | ||
layers: | ||
- state: cbbolt | ||
shader: unshaded | ||
- type: Physics | ||
- type: Fixtures | ||
fixtures: | ||
projectile: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.2,-0.2,0.2,0.2" | ||
hard: false | ||
mask: | ||
- Opaque | ||
- type: StaminaDamageOnCollide | ||
damage: 25 | ||
- type: Ammo | ||
- type: Projectile | ||
impactEffect: BulletImpactEffectGreenLaser | ||
damage: | ||
types: | ||
Poison: 15 | ||
soundHit: | ||
path: "/Audio/Weapons/tap.ogg" | ||
soundForce: true | ||
- type: StunOnCollide | ||
stunAmount: 1 | ||
knockdownAmount: 1 | ||
|
||
- type: entity | ||
name: energy crossbow bolt | ||
id: BulletEnergyCrossbow | ||
parent: BulletMiniEnergyCrossbow | ||
noSpawn: true | ||
components: | ||
- type: StaminaDamageOnCollide | ||
damage: 20 | ||
- type: Projectile | ||
damage: | ||
types: | ||
Poison: 10 |
57 changes: 57 additions & 0 deletions
57
Resources/Prototypes/SS220/Entities/Objects/Weapons/Guns/crossbow.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#© SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt | ||
- type: entity | ||
name: crossbow | ||
parent: BaseItem | ||
id: BaseWeaponCrossbow | ||
abstract: true | ||
description: Energy crossbow. | ||
components: | ||
- type: AmmoCounter | ||
- type: UseDelayOnShoot | ||
- type: UseDelay | ||
delay: 4 | ||
- type: RechargeBasicEntityAmmo | ||
rechargeCooldown: 4 | ||
rechargeSound: | ||
path: /Audio/SS220/Weapons/Guns/MagIn/draw_bow2.ogg | ||
- type: Gun | ||
fireRate: 1 | ||
soundGunshot: | ||
path: /Audio/Weapons/Guns/Gunshots/taser2.ogg | ||
- type: Item | ||
size: 10 | ||
|
||
- type: entity | ||
name: mini energy crossbow | ||
parent: BaseWeaponCrossbow | ||
id: WeaponMiniEnergyCrossbow | ||
description: A weapon favored by syndicate specialists who prefer to work covertly. | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi | ||
state: icon | ||
- type: BasicEntityAmmoProvider | ||
proto: BulletMiniEnergyCrossbow | ||
capacity: 1 | ||
count: 1 | ||
|
||
- type: entity | ||
name: energy crossbow | ||
parent: WeaponMiniEnergyCrossbow | ||
id: WeaponEnergyCrossbow | ||
description: A weapon designed by reverse engineering using syndicate technology. Medium-sized and weaker than the "original". | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi | ||
state: icon | ||
- type: Item | ||
size: 30 | ||
- type: BasicEntityAmmoProvider | ||
proto: BulletEnergyCrossbow | ||
capacity: 1 | ||
count: 1 | ||
- type: Wieldable | ||
wieldTime: 0.5 | ||
wieldSound: | ||
path: /Audio/Items/bow_pull.ogg | ||
- type: GunRequiresWield |
Binary file added
BIN
+340 Bytes
Resources/Textures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...urces/Textures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...rces/Textures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
Resources/Textures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/2532911353d63661b735004f2895103d45858b50/icons/obj/weapons/guns/energy.dmi", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.21 KB
...xtures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/wielded-inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...tures/SS220/Objects/Weapons/Guns/Crossbow/crossbow.rsi/wielded-inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+343 Bytes
Resources/Textures/SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+579 Bytes
...s/Textures/SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+611 Bytes
.../Textures/SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
Resources/Textures/SS220/Objects/Weapons/Guns/Crossbow/minicrossbow.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/2532911353d63661b735004f2895103d45858b50/icons/obj/weapons/guns/energy.dmi", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+242 Bytes
...rces/Textures/SS220/Objects/Weapons/Guns/Projectiles/projectiles.rsi/cbbolt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
Resources/Textures/SS220/Objects/Weapons/Guns/Projectiles/projectiles.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/2532911353d63661b735004f2895103d45858b50/icons/obj/weapons/guns/projectiles.dmi", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "cbbolt" | ||
} | ||
] | ||
} |