mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
Maptext 2023 tweaks 3 (#76552)
## About The Pull Request Hopefully the last set of changes in this demonstration of the [Goldilocks principle](https://en.wikipedia.org/wiki/Goldilocks_principle). Some more font changes, the big (hah) one being the context tooltips again. - Context tooltips smaller main line, more compact sublines. - Improves documentation on the usage of the macros. - Removes incorrect comment I added earlier in tgstation.dme - Adds black outlines as default in the macros. - Icon sized letters (Dwarf Fortress, credits). - Deathrattle and other actions reduced spacing. - Aligned cooldowns/countdowns. <details> <summary>Screenshots</summary>        </details> ## Changelog 🆑 LT3 image: More maptext and font tweaks spellcheck: Context tooltips too small, too big... just right? /🆑 --------- Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -66,10 +66,10 @@
|
||||
/datum/action/cooldown/create_button()
|
||||
var/atom/movable/screen/movable/action_button/button = ..()
|
||||
button.maptext = ""
|
||||
button.maptext_x = 6
|
||||
button.maptext_x = 4
|
||||
button.maptext_y = 2
|
||||
button.maptext_width = 24
|
||||
button.maptext_height = 12
|
||||
button.maptext_width = 32
|
||||
button.maptext_height = 16
|
||||
return button
|
||||
|
||||
/datum/action/cooldown/update_button_status(atom/movable/screen/movable/action_button/button, force = FALSE)
|
||||
@@ -79,9 +79,9 @@
|
||||
button.maptext = ""
|
||||
else
|
||||
if (cooldown_rounding > 0)
|
||||
button.maptext = MAPTEXT("[round(time_left/10, cooldown_rounding)]")
|
||||
button.maptext = MAPTEXT_TINY_UNICODE("[round(time_left/10, cooldown_rounding)]")
|
||||
else
|
||||
button.maptext = MAPTEXT("[round(time_left/10)]")
|
||||
button.maptext = MAPTEXT_TINY_UNICODE("[round(time_left/10)]")
|
||||
|
||||
if(!IsAvailable() || !is_action_active(button))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user