mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Examining robomodules.
This commit is contained in:
@@ -187,17 +187,17 @@ its easier to just keep the beam vertical.
|
||||
|
||||
|
||||
//All atoms
|
||||
/atom/proc/examine(mob/user, var/distance = -1, var/sufix = "")
|
||||
/atom/proc/examine(mob/user, var/distance = -1, var/infix = "", var/suffix = "")
|
||||
//This reformat names to get a/an properly working on item descriptions when they are bloody
|
||||
var/f_name = "\a [src]."
|
||||
var/f_name = "\a [src][infix]."
|
||||
if(src.blood_DNA && !istype(src, /obj/effect/decal))
|
||||
if(gender == PLURAL)
|
||||
f_name = "some "
|
||||
else
|
||||
f_name = "a "
|
||||
f_name += "<span class='danger'>blood-stained</span> [name]!"
|
||||
f_name += "<span class='danger'>blood-stained</span> [name][infix]!"
|
||||
|
||||
user << "\icon[src] That's [f_name] [sufix]"
|
||||
user << "\icon[src] That's [f_name] [suffix]"
|
||||
|
||||
if(desc)
|
||||
user << desc
|
||||
|
||||
@@ -117,8 +117,8 @@
|
||||
size = "huge"
|
||||
else
|
||||
//if ((CLUMSY in usr.mutations) && prob(50)) t = "funny-looking"
|
||||
var/custom_sufix = "It is a [size] item."
|
||||
return ..(user, distance, custom_sufix)
|
||||
var/custom_suffix = "It is a [size] item."
|
||||
return ..(user, distance, suffix = custom_suffix)
|
||||
|
||||
/obj/item/attack_hand(mob/user as mob)
|
||||
if (!user) return
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/mob/living/silicon/robot/examine(mob/user)
|
||||
..(user)
|
||||
var/custom_infix = custom_name ? ", [modtype] [braintype]" : ""
|
||||
..(user, infix = custom_infix)
|
||||
|
||||
var/msg = ""
|
||||
msg += "<span class='warning'>"
|
||||
|
||||
Reference in New Issue
Block a user