mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Speech from atoms inside containers will now be properly made bold to… (#15903)
* Speech from atoms inside containers will now be properly made bold to observers in vision range * Bold works with zoom * okay
This commit is contained in:
@@ -33,9 +33,8 @@
|
|||||||
|
|
||||||
say_testing(src, "/mob/dead/observer/Hear(): source=[source], frequency=[speech.frequency], source_turf=[formatJumpTo(source_turf)]")
|
say_testing(src, "/mob/dead/observer/Hear(): source=[source], frequency=[speech.frequency], source_turf=[formatJumpTo(source_turf)]")
|
||||||
|
|
||||||
if (get_dist(source_turf, src) <= world.view) // If this isn't true, we can't be in view, so no need for costlier proc.
|
if (get_dist(source_turf, src) <= get_view_range())
|
||||||
if (source_turf in view(src))
|
rendered_speech = "<B>[rendered_speech]</B>"
|
||||||
rendered_speech = "<B>[rendered_speech]</B>"
|
|
||||||
else
|
else
|
||||||
if(client && client.prefs)
|
if(client && client.prefs)
|
||||||
if (!speech.frequency)
|
if (!speech.frequency)
|
||||||
|
|||||||
Reference in New Issue
Block a user