mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
- The Protector is now a minature energy gun, it has 3 lethal, 6 standard stun, and no special stun shot anymore. It retains the alert level lock, there is a version without the lock. - The energy net gun now gets 3 net shots, but loses its stun alternate fire. It also gets a new sprite from baystation. - Refactors all Vorestation weapons in vore/fluffstuff to be in their appropriate directories. - Removes all personalized custom weapons. - KHI is no longer the manufacturer for the Protector, Net Gun, and AR Glasses. I wanted to make KHI a bit rarer, and their specialty mainly ultra high tech equipment. - Refactors Expedition Phasers. No practical change, but now there are unlocked versions of all three phaser variants.
30 lines
978 B
Plaintext
30 lines
978 B
Plaintext
//-----------------------Tranq Gun----------------------------------
|
|
/obj/item/weapon/gun/projectile/dartgun/tranq
|
|
name = "tranquilizer gun"
|
|
desc = "A gas-powered dart gun designed by the National Armory of Gaia. This gun is used primarily by United Federation special forces for Tactical Espionage missions. Don't forget your bandana."
|
|
icon_state = "tranqgun"
|
|
item_state = null
|
|
|
|
caliber = "dart"
|
|
fire_sound = 'sound/weapons/empty.ogg'
|
|
fire_sound_text = "a metallic click"
|
|
recoil = 0
|
|
silenced = 1
|
|
load_method = MAGAZINE
|
|
magazine_type = /obj/item/ammo_magazine/chemdart
|
|
allowed_magazines = list(/obj/item/ammo_magazine/chemdart)
|
|
auto_eject = 0
|
|
|
|
/obj/item/weapon/gun/projectile/dartgun/tranq/update_icon()
|
|
if(!ammo_magazine)
|
|
icon_state = "tranqgun"
|
|
return 1
|
|
|
|
if(!ammo_magazine.stored_ammo || ammo_magazine.stored_ammo.len)
|
|
icon_state = "tranqgun"
|
|
else if(ammo_magazine.stored_ammo.len > 5)
|
|
icon_state = "tranqgun"
|
|
else
|
|
icon_state = "tranqgun"
|
|
return 1
|