mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
Resizing & better runechat (#17384)
* Resizing & better runechat Sprite decals also adjusted. Now get generated BEFORE tummies, so they don't overlay over stomachs. * no world * Update resize_vr.dm * else * n dent * Update resize_vr.dm * always allow 100% size * no breaking the cap without admin intervention
This commit is contained in:
@@ -459,9 +459,17 @@ var/list/runechat_image_cache = list()
|
||||
return (width - bound_width) * -0.5
|
||||
*/
|
||||
|
||||
/mob/runechat_y_offset()
|
||||
/mob/runechat_y_offset(var/consider_height)
|
||||
if(consider_height)
|
||||
return ..()
|
||||
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