Skip to content

Commit

Permalink
Fixes a very old bug with players being examined (#706)
Browse files Browse the repository at this point in the history
* better player examines

* removes survival stuffs

* applies burger's suggestion

* updates tha name
  • Loading branch information
Gboster-0 authored Jan 26, 2025
1 parent 1adcd75 commit 5ae4634
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions code/_core/mob/living/advanced/player/_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,22 @@

expiration_time = SECONDS_TO_DECISECONDS(180)

/mob/living/advanced/player/get_examine_list(var/mob/living/examiner)
var/species/owner_species = SPECIES(species)
. = list(
div("examine_title", src.name),
div("center bold","Level [level] [owner_species.name]"),
div("examine_description_long", src.desc_extended)
)

var/activity_text = get_activity_text()
if(activity_text)
. += activity_text

var/damage_description = get_damage_description(examiner)
if(damage_description)
. += damage_description

/mob/living/advanced/player/Finalize()
. = ..()
setup_difficulty()
Expand Down

0 comments on commit 5ae4634

Please sign in to comment.