Repository navigation
cortex-lib v4.0.0
cortex-lib 4.0.0 (2026-11-22)
Replace the cortex-lib folder, start it before its consumers, and restart the server.
Before you update
- Prompts from every script on
cortex-libnow show in full only within 1.5 m or when you look at them, otherwise a small ring marker.anchor.alwaysPrompt = truekeeps a prompt always on. - Six new default keys: E uses the thing in front of you, Z is the Look key, X cancels, Y answers, M opens Actions, B points.
setr cortex_lib_use_key,cortex_lib_peek_key,cortex_lib_cancel_key,cortex_lib_answer_key,cortex_lib_actions_keyandcortex_lib_point_keychange the defaults. X, Y, M and B do nothing until a script registers something on them.
New
- Things (
lib.thing): describe an object and its verbs; the lib shows one key and one verb, asks the server, walks the character to the stand point and locks the thing while it is in use ("In use" for everyone else). - Cortex keys (
lib.keys): four shared keys every Cortex script uses for the same job. Cancel (X) stops the newest thing the player started, Answer (Y) answers the newest invite or check, Actions (M) opens one wheel built from every script's actions, Point (B) gives taps and holds to the right owner. A cancelable progress bar joins Cancel. - Look key: recent notices you missed, up to five, next to the live ones.
- Notices: named senders (
lib.registerSender), a 40-notice session log, and Quiet notifications in Settings. - Skins: a HUD can restyle notifications, progress and text UI to match its design (
setPresentationDesign). - Settings hosts: resources listed in
cortex_lib_settings_hostscan read every settings tab and change a setting for the player. - Lists on one key fold to
+N; blocked rows show a reason. - Accent bars removed from rows, titles and fields; notification icon sits in a round coin.
- Fixed: two prompts on the same key near each other no longer block each other; a far prompt no longer takes the key.