mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-07 15:32:47 +00:00
* Balloon alerts - Text for minor actions w/o other feedback (#59130) Currently only applies to beakers changing amounts as a proof of concept of an action that we can't really provide any non-text feedback on, as opposed to something you could have different sounds for. Inspired by SS14. Why It's Good For The Game In the right place, balloon alerts will let you keep your eyes on the game itself, rather than constantly looking at the chat. This is especially important when chat messages will collapse into each other. This is in most cases warranted, but can make other cases (such as changing beaker amounts) confusing. Changelog cl qol: Changing a reagent container's transfer amount will now give you feedback in the form of text on the container itself. /cl * Balloon alerts - Text for minor actions w/o other feedback Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
6 lines
282 B
Plaintext
6 lines
282 B
Plaintext
/// Prepares a text to be used for maptext. Use this so it doesn't look hideous.
|
|
#define MAPTEXT(text) {"<span class='maptext'>[##text]</span>"}
|
|
|
|
/// Macro from Lummox used to get height from a MeasureText proc
|
|
#define WXH_TO_HEIGHT(x) text2num(copytext(x, findtextEx(x, "x") + 1))
|