mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
fix runechat offset (#17510)
* don't double this * . * urg * always use if defined * eh * tgui window from tg * skip on char select * rh * . * move to config
This commit is contained in:
@@ -452,24 +452,16 @@ var/list/runechat_image_cache = list()
|
||||
return (width - bound_width) * -0.5 + get_oversized_icon_offsets()["x"]
|
||||
|
||||
/atom/movable/runechat_y_offset()
|
||||
return ..() + get_oversized_icon_offsets()["y"]
|
||||
return ..() + get_oversized_icon_offsets()["y"] * 1.5 // Fix to use 2 if we ever can measure sprites
|
||||
|
||||
/* Nothing special
|
||||
/mob/runechat_x_offset(width, height)
|
||||
return (width - bound_width) * -0.5
|
||||
*/
|
||||
|
||||
/mob/runechat_y_offset(var/consider_height)
|
||||
if(consider_height)
|
||||
return ..()
|
||||
/mob/runechat_y_offset()
|
||||
return ..()*size_multiplier
|
||||
|
||||
/mob/living/runechat_y_offset(var/consider_height)
|
||||
var/size_diff = vis_height - world.icon_size
|
||||
if(size_diff > 0)
|
||||
return (..(TRUE) + size_diff) * size_multiplier
|
||||
return ..(FALSE)
|
||||
|
||||
// Allows you to specify a different attachment point for messages from yourself
|
||||
/atom/proc/runechat_holder(datum/chatmessage/CM)
|
||||
return src
|
||||
|
||||
Reference in New Issue
Block a user