Resprited tranq weapons.
@@ -35,7 +35,7 @@
|
|||||||
uniform = /obj/item/clothing/under/xenofauna
|
uniform = /obj/item/clothing/under/xenofauna
|
||||||
id_type = /obj/item/card/id/science
|
id_type = /obj/item/card/id/science
|
||||||
suit = /obj/item/clothing/suit/storage/toggle/labcoat/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
|
/decl/hierarchy/outfit/job/science/roboticist
|
||||||
name = OUTFIT_JOB_NAME("Roboticist")
|
name = OUTFIT_JOB_NAME("Roboticist")
|
||||||
|
|||||||
@@ -59,6 +59,8 @@
|
|||||||
var/move_delay = 1
|
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 = 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_sound_text = "gunshot"
|
||||||
|
var/fire_volume_silenced = 10
|
||||||
|
var/fire_volume = 50
|
||||||
var/fire_anim = null
|
var/fire_anim = null
|
||||||
var/recoil = 0 //screen shake
|
var/recoil = 0 //screen shake
|
||||||
var/silenced = 0
|
var/silenced = 0
|
||||||
@@ -648,9 +650,9 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
if(silenced)
|
if(silenced)
|
||||||
playsound(src, shot_sound, 10, 1)
|
playsound(src, shot_sound, fire_volume_silenced, 1)
|
||||||
else
|
else
|
||||||
playsound(src, shot_sound, 50, 1)
|
playsound(src, shot_sound, fire_volume, 1)
|
||||||
|
|
||||||
//Suicide handling.
|
//Suicide handling.
|
||||||
/obj/item/gun/var/mouthshoot = 0 //To stop people from suiciding twice... >.>
|
/obj/item/gun/var/mouthshoot = 0 //To stop people from suiciding twice... >.>
|
||||||
|
|||||||
@@ -23,17 +23,21 @@
|
|||||||
projectile_type = /obj/item/projectile/energy/phase/tranq
|
projectile_type = /obj/item/projectile/energy/phase/tranq
|
||||||
accuracy = 15
|
accuracy = 15
|
||||||
one_handed_penalty = 30
|
one_handed_penalty = 30
|
||||||
|
fire_volume_silenced = 5
|
||||||
|
fire_volume = 15
|
||||||
|
|
||||||
/obj/item/gun/energy/phasegun/tranq_pistol
|
/obj/item/gun/energy/phasegun/tranq_pistol
|
||||||
name = "tranquilizer 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."
|
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"
|
icon_state = "tranq"
|
||||||
item_state = "taser"
|
item_state = "tranq"
|
||||||
w_class = ITEMSIZE_NORMAL
|
w_class = ITEMSIZE_NORMAL
|
||||||
slot_flags = SLOT_BELT|SLOT_HOLSTER
|
slot_flags = SLOT_BELT|SLOT_HOLSTER
|
||||||
charge_cost = 200
|
charge_cost = 200
|
||||||
projectile_type = /obj/item/projectile/energy/phase/tranq/weak
|
projectile_type = /obj/item/projectile/energy/phase/tranq/weak
|
||||||
one_handed_penalty = 0
|
one_handed_penalty = 0
|
||||||
|
fire_volume_silenced = 5
|
||||||
|
fire_volume = 15
|
||||||
|
|
||||||
/obj/item/gun/energy/phasegun/mounted
|
/obj/item/gun/energy/phasegun/mounted
|
||||||
self_recharge = TRUE
|
self_recharge = TRUE
|
||||||
|
|||||||
@@ -300,7 +300,9 @@
|
|||||||
damage = 0
|
damage = 0
|
||||||
nodamage = TRUE
|
nodamage = TRUE
|
||||||
SA_bonus_damage = 0
|
SA_bonus_damage = 0
|
||||||
|
icon_state = "flight"
|
||||||
hud_state = "laser_heat"
|
hud_state = "laser_heat"
|
||||||
|
fire_sound = 'sound/weapons/dartgun.ogg'
|
||||||
var/tranq_duration = 30 SECONDS
|
var/tranq_duration = 30 SECONDS
|
||||||
var/tranq_delay = 10 SECONDS
|
var/tranq_delay = 10 SECONDS
|
||||||
var/tranq_delay_modifier = 0.7
|
var/tranq_delay_modifier = 0.7
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |