Resprited tranq weapons.

This commit is contained in:
MistakeNot4892
2023-12-28 01:23:05 +11:00
parent 47c7c5bdb7
commit c390425f30
9 changed files with 12 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
uniform = /obj/item/clothing/under/xenofauna
id_type = /obj/item/card/id/science
suit = /obj/item/clothing/suit/storage/toggle/labcoat/science
l_ear = /obj/item/radio/headset/explorer
shoes = /obj/item/clothing/shoes/boots/winter
/decl/hierarchy/outfit/job/science/roboticist
name = OUTFIT_JOB_NAME("Roboticist")

View File

@@ -59,6 +59,8 @@
var/move_delay = 1
var/fire_sound = null // This is handled by projectile.dm's fire_sound var now, but you can override the projectile's fire_sound with this one if you want to.
var/fire_sound_text = "gunshot"
var/fire_volume_silenced = 10
var/fire_volume = 50
var/fire_anim = null
var/recoil = 0 //screen shake
var/silenced = 0
@@ -648,9 +650,9 @@
return
if(silenced)
playsound(src, shot_sound, 10, 1)
playsound(src, shot_sound, fire_volume_silenced, 1)
else
playsound(src, shot_sound, 50, 1)
playsound(src, shot_sound, fire_volume, 1)
//Suicide handling.
/obj/item/gun/var/mouthshoot = 0 //To stop people from suiciding twice... >.>

View File

@@ -23,17 +23,21 @@
projectile_type = /obj/item/projectile/energy/phase/tranq
accuracy = 15
one_handed_penalty = 30
fire_volume_silenced = 5
fire_volume = 15
/obj/item/gun/energy/phasegun/tranq_pistol
name = "tranquilizer pistol"
desc = "A niche RayZar product designed for nonlethal animal control. A specialized emitter disrupts the nervous system of the target, eventually inducing sleep. Only rated for use on wildlife."
icon_state = "tranq"
item_state = "taser"
item_state = "tranq"
w_class = ITEMSIZE_NORMAL
slot_flags = SLOT_BELT|SLOT_HOLSTER
charge_cost = 200
projectile_type = /obj/item/projectile/energy/phase/tranq/weak
one_handed_penalty = 0
fire_volume_silenced = 5
fire_volume = 15
/obj/item/gun/energy/phasegun/mounted
self_recharge = TRUE

View File

@@ -300,7 +300,9 @@
damage = 0
nodamage = TRUE
SA_bonus_damage = 0
icon_state = "flight"
hud_state = "laser_heat"
fire_sound = 'sound/weapons/dartgun.ogg'
var/tranq_duration = 30 SECONDS
var/tranq_delay = 10 SECONDS
var/tranq_delay_modifier = 0.7

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

BIN
sound/weapons/dartgun.ogg Normal file

Binary file not shown.