Skip to main content
Part of Configuration. Every key on this page lives in config.lua.

Theme

Every UgCore screen follows ug-lib’s theme. theme changes this screen only, with the same fields as the ug-lib theme. Any field MAY be left out.
  • mode: 'dark' or 'light'.
  • colors: HSL triplets such as '258 90% 66%', keyed by ug-lib token (primary, accent, background, destructive, success, …) or by one of this screen’s own: weapon, ammo, attachment, consumable, clothing and item color the item categories, overlay darkens the sides around the character.
  • radius: '0.75rem', '12px'.
  • font: 'Inter'.
  • scale: 0.75 to 1.5.
config.lua

Layout

layout sets where things are and what shows. A field you leave out keeps its default.

Sounds

soundEffects maps each sound to { name, set } of PlaySoundFrontend. A sound you leave out is muted. The defaults cover open, close, hover, pick, menu, move, use, give, drop, buy, attach, detach, reload and error.
config.lua

Animations

previewAnimations sets what the character preview plays: idle while open, and give, buy and drop after one went through. duration is how long, in ms, a reaction plays before the idle comes back. A line you leave out plays nothing.
config.lua
clothingAnimations sets what the player plays while a clothing piece comes off or goes on, one entry per piece. The piece changes halfway through duration. upperBody = false plays it on the whole body, so the player stops moving. A line you leave out plays nothing.
config.lua