Skip to content

Commit

Permalink
Laser Pistol
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer committed Jun 16, 2024
1 parent 16ada9e commit b7137bf
Show file tree
Hide file tree
Showing 23 changed files with 108 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: AmmoVendInventory
startingInventory:
SurvivalKnife: 10
WeaponLaserGun: 10
WeaponLaserPistolNF: 10 # Frontier
WeaponSniperMosin: 10
WeaponSniperRepeater: 10
MagazineBoxLightRifle: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,29 @@
magState: charge-level
steps: 6
zeroVisible: true

- type: entity
parent: WeaponLaserGun
id: WeaponLaserPistolNF
name: laser pistol
suffix: Frontier
description: Slightly outdated design of civilian grade laser pistol.
components:
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Battery/laser_pistol.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
inhandVisuals:
left:
- state: inhand-left
- state: inhand-left-unshaded
shader: unshaded
right:
- state: inhand-right
- state: inhand-right-unshaded
shader: unshaded
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

# Energy
- type: entity
parent: [ WeaponLaserGun, UnregisteredFirearmBase ]
parent: [ WeaponLaserPistolNF, UnregisteredFirearmBase ]
noSpawn: true
id: WeaponLaserGunExpedition

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Icon taken from baystation at https://github.com/Baystation12/Baystation12/blob/dev/icons/obj/guns/ion_pistol.dmi | inhands sprites by erhardsteinhauer (discord/github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "mag-unshaded-0"
},
{
"name": "mag-unshaded-1"
},
{
"name": "mag-unshaded-2"
},
{
"name": "mag-unshaded-3"
},
{
"name": "mag-unshaded-4"
},
{
"name": "inhand-left-0",
"directions": 4
},
{
"name": "inhand-right-0",
"directions": 4
},
{
"name": "inhand-left-1",
"directions": 4
},
{
"name": "inhand-right-1",
"directions": 4
},
{
"name": "inhand-left-2",
"directions": 4
},
{
"name": "inhand-right-2",
"directions": 4
},
{
"name": "inhand-left-3",
"directions": 4
},
{
"name": "inhand-right-3",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left-unshaded",
"directions": 4
},
{
"name": "inhand-right-unshaded",
"directions": 4
}
]
}

0 comments on commit b7137bf

Please sign in to comment.