mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Reworks examine (a little) (#86506)
## About The Pull Request Basically, reworks how examining things looks to the user. #86497 is required even though this pretty much replaces the entire PR. Examining random objects and simplemobs:   Examining a person:   Examining an ID card a person is wearing (by clicking the hyperlink adorning the ID card when examining them): (Note, you can only pull up this if you are within 3 tiles of the person)  ## Why It's Good For The Game Examine is very old and very inconsistent between atoms and mobs. So I thought I could spruce it up a bit while bringing some consistency along. This should also help with losing certain details in massive walls of examine text - stuff like names will stick out more. ## Changelog 🆑 Melbert qol: The way examine looks has been updated. qol: A person's ID card no longer appears with a big icon on examine. You can now click on their ID card (in the chat box) to get a bigger picture of it, as well as information about them. refactor: Much of examine backend code has been refactored, report any odd looking text. /🆑
This commit is contained in:
@@ -136,6 +136,12 @@
|
||||
/// Type of mob light emitter we use when on fire
|
||||
var/moblight_type = /obj/effect/dummy/lighting_obj/moblight/fire
|
||||
|
||||
/datum/status_effect/fire_handler/fire_stacks/get_examine_text()
|
||||
if(owner.on_fire)
|
||||
return
|
||||
|
||||
return "[owner.p_They()] [owner.p_are()] covered in something flammable."
|
||||
|
||||
/datum/status_effect/fire_handler/fire_stacks/proc/owner_touched_sparks()
|
||||
SIGNAL_HANDLER
|
||||
|
||||
@@ -294,6 +300,9 @@
|
||||
enemy_types = list(/datum/status_effect/fire_handler/fire_stacks)
|
||||
stack_modifier = -1
|
||||
|
||||
/datum/status_effect/fire_handler/wet_stacks/get_examine_text()
|
||||
return "[owner.p_They()] look[owner.p_s()] a little soaked."
|
||||
|
||||
/datum/status_effect/fire_handler/wet_stacks/tick(seconds_between_ticks)
|
||||
adjust_stacks(-0.5 * seconds_between_ticks)
|
||||
if(stacks <= 0)
|
||||
|
||||
Reference in New Issue
Block a user