Verbal Exosuit Commands (#10814)

This commit is contained in:
Geeves
2021-01-02 16:01:55 +01:00
committed by GitHub
parent dbce27e96e
commit 31d05da050
9 changed files with 296 additions and 44 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ var/list/floating_chat_colors = list()
I.maptext_height = 64
I.plane = FLOAT_PLANE
I.layer = HUD_LAYER - 0.01
I.pixel_x = -round(I.maptext_width/2) + 16
I.pixel_x = (-round(I.maptext_width/2) + 16) + holder.get_floating_chat_x_offset()
I.appearance_flags = RESET_COLOR|RESET_ALPHA|RESET_TRANSFORM
style = "font-family: 'Small Fonts'; -dm-text-outline: 1 black; font-size: [size]px; [style]"
@@ -69,4 +69,4 @@ var/list/floating_chat_colors = list()
/proc/remove_floating_text(atom/movable/holder, image/I)
animate(I, 2, pixel_y = I.pixel_y + 10, alpha = 0)
LAZYREMOVE(holder.stored_chat_text, I)
LAZYREMOVE(holder.stored_chat_text, I)