Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
13spacemen committed Jun 27, 2022
1 parent dd291b6 commit 56cd117
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion code/game/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,11 @@
* Produces a signal [COMSIG_PARENT_EXAMINE]
*/
/atom/proc/examine(mob/user)
. = list("[get_examine_string(user, TRUE)][!get_examine_string() ? null : "."]")
var/examine_string = get_examine_string(user, thats = TRUE)
if(examine_string)
. = list("[examine_string].")
else
. = list()

. += get_name_chaser(user)
if(desc)
Expand Down
3 changes: 0 additions & 3 deletions code/modules/mob/living/silicon/ai/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@
ai_voicechanger = null
return ..()

/mob/living/silicon/ai/get_examine_string()
return null

/// Removes all malfunction-related abilities from the AI
/mob/living/silicon/ai/proc/remove_malf_abilities()
QDEL_NULL(modules_action)
Expand Down
3 changes: 3 additions & 0 deletions code/modules/mob/living/silicon/ai/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
. += "</span>"

. += ..()

/mob/living/silicon/ai/get_examine_string(mob/user, thats = FALSE)
return null
3 changes: 3 additions & 0 deletions code/modules/mob/living/silicon/robot/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
. += "</span>"

. += ..()

/mob/living/silicon/robot/get_examine_string(mob/user, thats = FALSE)
return null
2 changes: 0 additions & 2 deletions code/modules/mob/living/silicon/robot/robot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@

model.transform_to(model_list[input_model])

/mob/living/silicon/robot/get_examine_string()
return null

/// Used to setup the a basic and (somewhat) unique name for the robot.
/mob/living/silicon/robot/proc/setup_default_name()
Expand Down

0 comments on commit 56cd117

Please sign in to comment.