diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
commit | ca1426eabc873f781eb0dd389d45634b7d183250 (patch) | |
tree | 15ea83658ca3824232f14fe4b32ec714e0aa05c6 /assets/opensb/interface.config.patch | |
parent | d5f5fb5ddf0d4a9f0b0e6ac012121926d2fcd949 (diff) |
Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
Diffstat (limited to 'assets/opensb/interface.config.patch')
-rw-r--r-- | assets/opensb/interface.config.patch | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/assets/opensb/interface.config.patch b/assets/opensb/interface.config.patch index 5e71a20..d798609 100644 --- a/assets/opensb/interface.config.patch +++ b/assets/opensb/interface.config.patch @@ -1,29 +1,44 @@ { "nametag" : { "showMasterNames" : true, - "fontDirectives" : "?border=1;222;2224", + // border is double here as it otherwise fades out near the end + // (could just the end to opaque too, but then diagonals are more jaggy) + "textStyle" : { "backDirectives" : "?border=1;222;2224?border=1;222;2224" }, "inspectOpacityRate" : 0.15, "movementThreshold" : 0.5, "offset" : [0, 13] }, - "font" : { - "defaultDirectives" : "", - "defaultFont" : "" + "specialDamageBar" : { + "nameStyle" : {} }, - "cursorTooltip" : { - "font" : "" + "textStyle" : {}, + "buttonTextStyle" : { + "shadow" : "black" }, + "labelTextStyle" : {}, + "paneTextStyle" : {}, + "textBoxTextStyle" : {}, + "itemSlotTextStyle" : { + "backDirectives" : "?border=1;444;4444" + }, + "teamBarNameStyle" : {}, + "cursorTooltip" : { "textStyle" : {} }, - "debugFont" : "iosevka-semibold", - "debugFontSize" : 7, - "debugFontDirectives" : "?border=1;111a;1114", + "debugTextStyle" : { + "font" : "iosevka-semibold", + "fontSize" : 7, + "backDirectives" : "?border=2;111a;1114" + }, "debugSpatialClearTime" : 0.0, "debugOffset" : [80, 130], // Change planet name to support the new internal string formatting. "planetNameFormatString" : "- {} -", - "planetNameDirectives" : "?border=4;000;000", - + "planetTextStyle" : { + "backDirectives" : "?border=6;000;000", + "fontSize" : 24 + }, + "buttonClickSound" : [ "/sfx/interface/button/click.wav" ], "buttonReleaseSound" : [ "/sfx/interface/button/release.wav" ], "buttonHoverSound" : [ "/sfx/interface/button/hover.wav" ], |