mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 07:59:08 +01:00
6a234681c2
Preserve newlines in flavor text. Include name and designation of cyborgs. Include OOC text. Display flavor text in chat within examine text span instead of after.
11 lines
455 B
Plaintext
11 lines
455 B
Plaintext
/mob/living/silicon/examine(mob/user)
|
|
// GS13: Silicon Examine Text
|
|
// COMSIG_PARENT_EXAMINE is called in /mob/living/silicon/robot/examine instead of /atom/proc/examine
|
|
// to display flavour_text in the examine text span similar to /mob/living/carbon/human/examine
|
|
|
|
//Display a silicon's laws to ghosts
|
|
if(laws && isobserver(user))
|
|
. += "<b>[src] has the following laws:</b>"
|
|
for(var/law in laws.get_law_list(include_zeroth = TRUE))
|
|
. += law
|