Custom statuses
Show your own bar in the status widget, such as drunk, nitro or radiation. Players can hide it and change its color like any other status.An icon name. Known:
beer, brain, droplet, droplets, flame, footprints, heart, pill, radiation, shield, skull, snowflake, sparkles, thermometer, utensils, waves, wind, zap. Others show a dot.AddStatusraises on bad input. Calling it again with the same name updates the status.- A status belongs to the resource that added it. Other resources cannot change or remove it:
SetStatusandRemoveStatusreturnfalse. - At most 16 custom statuses exist at once.
- Statuses are removed when their resource stops.
- A status is display only. Keep the real value in your resource, on the server when it matters.
Hiding the HUD
SetHidden(false) or stopped. It also hides on its own in the pause menu, on faded screens and before a character is loaded.
Needs and money
ug-hud reads needs and balances from ug-core. Change them withUgCore.Needs and UgCore.Accounts on the server, and the HUD follows.