mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 10:02:28 +00:00
Examine tweaks (#8099)
* Tweaks examines verbs. * And the voicer change description too. * This is better. * go understand this code. * Adds changelog. * arrow's request.
This commit is contained in:
@@ -5,10 +5,9 @@
|
||||
var/active
|
||||
|
||||
/obj/item/clothing/mask/gas/voice
|
||||
name = "gas mask"
|
||||
desc = "A face-covering mask that can be connected to an air supply. It seems to house some odd electronics."
|
||||
var/obj/item/voice_changer/changer
|
||||
origin_tech = list(TECH_ILLEGAL = 4)
|
||||
description_antag = "This mask can be used to change the owner's voice."
|
||||
|
||||
/obj/item/clothing/mask/gas/voice/verb/Toggle_Voice_Changer()
|
||||
set category = "Object"
|
||||
|
||||
@@ -80,6 +80,8 @@
|
||||
|
||||
|
||||
/obj/item/cell/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
|
||||
|
||||
@@ -559,6 +559,8 @@
|
||||
|
||||
/obj/item/gun/examine(mob/user)
|
||||
..()
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
if(needspin)
|
||||
if(pin)
|
||||
to_chat(user, "\The [pin] is installed in the trigger mechanism.")
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
/obj/item/gun/launcher/spikethrower/examine(mob/user)
|
||||
..(user)
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
to_chat(user, "It has [spikes] spike\s remaining.")
|
||||
|
||||
/obj/item/gun/launcher/spikethrower/update_icon()
|
||||
|
||||
@@ -92,6 +92,8 @@
|
||||
|
||||
/obj/item/gun/energy/examine(mob/user)
|
||||
..(user)
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
var/shots_remaining = round(power_supply.charge / charge_cost)
|
||||
to_chat(user, "Has [shots_remaining] shot\s remaining.")
|
||||
return
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
/obj/item/gun/energy/laser/prototype/examine(mob/user)
|
||||
..(user)
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
if(gun_mods.len)
|
||||
for(var/obj/item/laser_components/modifier/modifier in gun_mods)
|
||||
to_chat(user, "You can see \the [modifier] attached.")
|
||||
|
||||
@@ -365,4 +365,6 @@
|
||||
/obj/item/gun/launcher/crossbow/RFD/examine(var/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
to_chat(user, "It currently holds [stored_matter]/[max_stored_matter] matter-units.")
|
||||
|
||||
@@ -234,6 +234,8 @@
|
||||
|
||||
/obj/item/gun/projectile/examine(mob/user)
|
||||
..(user)
|
||||
if(get_dist(src, user) > 1)
|
||||
return
|
||||
if(is_jammed)
|
||||
to_chat(user, "<span class='warning'>It looks jammed.</span>")
|
||||
if(ammo_magazine)
|
||||
|
||||
Reference in New Issue
Block a user