forked from space-wizards/space-station-14
-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #628 from KingMudkipIII/sas
emergency laser rifles
- Loading branch information
Showing
17 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Resources/Prototypes/_Impstation/Catalog/Cargo/cargo_emergency.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,9 @@ | ||
- type: cargoProduct | ||
id: EmergencyLasers | ||
icon: | ||
sprite: _Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi | ||
state: icon | ||
product: EmergencyLaserCrate | ||
cost: 5000 | ||
category: cargoproduct-category-name-emergency | ||
group: market |
12 changes: 12 additions & 0 deletions
12
Resources/Prototypes/_Impstation/Catalog/Fills/Crates/emergency.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,12 @@ | ||
- type: entity | ||
id: EmergencyLaserCrate | ||
parent: CrateCommandSecure | ||
name: emergency lasers crate | ||
description: A crate of four emergency laser rifles, for situations where getting clearance isn't an option. | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: EmergencyWeaponLaserCarbine | ||
- id: EmergencyWeaponLaserCarbine | ||
- id: EmergencyWeaponLaserCarbine | ||
- id: EmergencyWeaponLaserCarbine |
28 changes: 28 additions & 0 deletions
28
Resources/Prototypes/_Impstation/Entities/Objects/Weapons/Guns/Battery/emergencylaser.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,28 @@ | ||
- type: entity | ||
name: emergency laser rifle | ||
parent: [WeaponLaserCarbinePractice, BaseGunWieldable, BaseRestrictedContraband] | ||
id: EmergencyWeaponLaserCarbine | ||
description: An emergency laser rifle, for use when getting timely clearance isn't an option. Hand this in to security once the coast is clear. | ||
components: | ||
- type: Sprite | ||
sprite: _Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-unshaded-4 | ||
map: ["enum.GunVisualLayers.MagUnshaded"] | ||
shader: unshaded | ||
- type: StaticPrice | ||
price: 420 | ||
- type: HitscanBatteryAmmoProvider | ||
proto: EmergencyRedLaser | ||
fireCost: 50 | ||
- type: Item | ||
size: Ginormous | ||
- type: PointLight | ||
radius: 1.5 | ||
energy: 14 | ||
color: "#ff0043" | ||
mask: /Textures/Effects/LightMasks/double_cone.png | ||
- type: RotatingLight | ||
speed: 180 |
14 changes: 14 additions & 0 deletions
14
Resources/Prototypes/_Impstation/Entities/Objects/Weapons/Guns/Projectiles/hitscan.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,14 @@ | ||
- type: hitscan | ||
id: EmergencyRedLaser | ||
damage: | ||
types: | ||
Heat: 12 | ||
muzzleFlash: | ||
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi | ||
state: muzzle_laser | ||
travelFlash: | ||
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi | ||
state: beam | ||
impactFlash: | ||
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi | ||
state: impact_laser |
Binary file added
BIN
+341 Bytes
...tures/_Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/base.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
+1.38 KB
...tion/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/equipped-BACKPACK.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
+1.38 KB
...n/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/equipped-SUITSTORAGE.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
+750 Bytes
...tures/_Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.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
+322 Bytes
...Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.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
+337 Bytes
...mpstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.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.
Binary file added
BIN
+175 Bytes
...station/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/mag-unshaded-1.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
+175 Bytes
...station/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/mag-unshaded-2.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
+176 Bytes
...station/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/mag-unshaded-3.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
+172 Bytes
...station/Objects/Weapons/Guns/Battery/emergency_laser_gun.rsi/mag-unshaded-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions
53
...urces/Textures/_Impstation/Objects/Weapons/Guns/Battery/emergency_laser_gun.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,53 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from Polaris at https://github.com/PolarisSS13/Polaris/commit/9ded73fb85b9106d6bbf1c9a34d1d2fa27ee0e2e, backpack sprite by Peptide, backpack sling sprite edited by Boaz1111, wield sprites by RiceMar1244", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "base" | ||
}, | ||
{ | ||
"name": "mag-unshaded-1" | ||
}, | ||
{ | ||
"name": "mag-unshaded-2" | ||
}, | ||
{ | ||
"name": "mag-unshaded-3" | ||
}, | ||
{ | ||
"name": "mag-unshaded-4" | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-BACKPACK", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-SUITSTORAGE", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+929 Bytes
...on/Objects/Weapons/Guns/Battery/emergency_laser_gun.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
+919 Bytes
...n/Objects/Weapons/Guns/Battery/emergency_laser_gun.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.