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:
Cameron Lennox
2025-04-07 05:10:40 -04:00
committed by GitHub
parent a1ac262628
commit e2980a5c48
5 changed files with 29 additions and 11 deletions
+9 -1
View File
@@ -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