Laser gun for security (#3632)

* laser gun

* filled up the energy depletion overlay

* small sprite correction

Co-authored-by: and_a <and_a@DESKTOP-RJENGIR>
This commit is contained in:
TaralGit
2021-03-15 02:53:16 -07:00
committed by GitHub
parent 72094f9265
commit 08f44050fe
10 changed files with 76 additions and 0 deletions

View File

@@ -159,3 +159,42 @@
magState: mag
steps: 5
zeroVisible: true
- type: entity
name: laser gun
parent: BaseItem
id: LaserSecGun
description: Standard issued laser carbine for Nanotrasen security operatives.
components:
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi
layers:
- state: base
map: ["enum.RangedBarrelVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.RangedBarrelVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
size: 24
sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi
- type: RangedWeapon
- type: BatteryBarrel
minAngle: 10
maxAngle: 45
angleIncrease: 15
angleDecay: 45
currentSelector: Single
allSelectors:
- Single
fireRate: 6
powerCellPrototype: PowerCellMediumStandard
powerCellRemovable: true
ammoPrototype: RedLaser
soundGunshot: /Audio/Weapons/Guns/Gunshots/laser.ogg
- type: Appearance
visuals:
- type: MagVisualizer
magState: mag
steps: 5
zeroVisible: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

View File

@@ -0,0 +1,37 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13 at commit 3b42532472e7cc1e65bba9d166c27ab6f7ea89b5",
"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
}
]
}