Viper High Capacity Ammo (#42392)

* yeah

* Fix sprite & let mk58 use the mag

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
This commit is contained in:
ScarKy0
2026-01-13 19:17:22 +01:00
committed by GitHub
parent 4d1843f5e4
commit c860502e66
6 changed files with 13 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ uplink-shrapnel-grenade-desc = Launches a spray of sharp fragments dealing great
# Ammo
uplink-pistol-magazine-name = Pistol Magazine (.35 auto)
uplink-pistol-magazine-desc = Pistol magazine with 10 cartridges. Compatible with the Viper.
uplink-pistol-magazine-desc = Pistol magazine with 15 cartridges. Compatible with the Viper.
uplink-pistol-magazine-c20r-name = SMG magazine (.35 auto)
uplink-pistol-magazine-c20r-desc = SMG magazine with 30 cartridges. Compatible with C-20r.

View File

@@ -524,8 +524,8 @@
id: UplinkPistol9mmMagazine
name: uplink-pistol-magazine-name
description: uplink-pistol-magazine-desc
icon: { sprite: /Textures/Objects/Weapons/Guns/Ammunition/Magazine/Pistol/pistol_mag.rsi, state: red-icon }
productEntity: MagazinePistol
icon: { sprite: /Textures/Objects/Weapons/Guns/Ammunition/Magazine/Pistol/pistol_high_capacity_mag.rsi, state: base-icon }
productEntity: MagazinePistolHighCapacity
cost:
Telecrystal: 1
categories:

View File

@@ -45,7 +45,7 @@
whitelist:
tags:
- CartridgePistol
capacity: 16
capacity: 15
- type: Item
size: Small
- type: ContainerContainer
@@ -396,7 +396,7 @@
id: MagazinePistolHighCapacityEmpty
name: machine pistol magazine (.35 auto any)
suffix: empty
description: Custom 16-round double-stack magazine for the Viper pistol.
description: Custom 15-round double-stack magazine for the Viper pistol.
components:
- type: BallisticAmmoProvider
proto: null
@@ -417,7 +417,7 @@
parent: BaseMagazinePistolHighCapacity
id: MagazinePistolHighCapacity
name: machine pistol magazine (.35 auto)
description: Custom 16-round double-stack magazine for the Viper pistol. Intended to hold general-purpose kinetic ammunition.
description: Custom 15-round double-stack magazine for the Viper pistol. Intended to hold general-purpose kinetic ammunition.
components:
- type: BallisticAmmoProvider
proto: CartridgePistol
@@ -438,7 +438,7 @@
parent: BaseMagazinePistolHighCapacity
id: MagazinePistolHighCapacityPractice
name: machine pistol magazine (.35 auto practice)
description: Custom 16-round double-stack magazine for the Viper pistol. Intended to hold harmless practice ammunition.
description: Custom 15-round double-stack magazine for the Viper pistol. Intended to hold harmless practice ammunition.
components:
- type: BallisticAmmoProvider
proto: CartridgePistolPractice

View File

@@ -48,6 +48,7 @@
whitelist:
tags:
- MagazinePistol
- MagazinePistolHighCapacity
whitelistFailPopup: gun-magazine-whitelist-fail
gun_chamber:
name: Chamber
@@ -80,7 +81,7 @@
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistol
startingItem: MagazinePistolHighCapacity
insertSound: /Audio/Weapons/Guns/MagIn/pistol_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg
priority: 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -5,7 +5,7 @@
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/tgstation/tgstation/pull/1684/commits/19e51caef09e78ca1122d26455b539ff5968d334, https://github.com/tgstation/tgstation/blob/master/icons/obj/weapons/guns/ammo.dmi, inhands by TiniestShark (github)",
"copyright": "https://github.com/tgstation/tgstation/pull/1684/commits/19e51caef09e78ca1122d26455b539ff5968d334, https://github.com/tgstation/tgstation/blob/master/icons/obj/weapons/guns/ammo.dmi, inhands by TiniestShark (github), base-icon made via base combined with mag-5 by SlamBamActionman (github)",
"states": [
{
"name": "base"
@@ -43,6 +43,9 @@
{
"name": "inhand-right-stripe",
"directions": 4
},
{
"name": "base-icon"
}
]
}