Yoda Tasks is a standalone browser-based task display by Yoda-Things. It presents progress or a simple message through client exports and events. It is a user-interface resource, not a job system: it does not persist objectives, grant rewards or verify that a player completed an activity.
Progress tasks and the single active task
The client export showProgTask takes title, count, maxcount, icon and color; updateProgTask changes the displayed count. The Lua client tracks one currentTask, so plan for one active task rather than a queue of simultaneous objectives. Keep authoritative progress in your gameplay logic.
The browser calculates progress from count divided by maxcount. Validate a positive maximum and sensible numeric counts before calling the export. Completion is triggered by exact equality, followed by hiding the display after three seconds; a count beyond the maximum does not satisfy that equality check.
Simple-task interfaces need correction
The README describes showSimpleTask with a title and message. The reviewed Lua implementation instead accepts message and color, then sends only a title to the browser. The browser expects a separate message field. Align the README, Lua payload and interface before depending on the documented two-text-field behavior.
The client cancelSimpleTask export and event call a Lua function named cancelSimpleTask that is not defined in the client file. A similarly named JavaScript function exists in the interface, but that does not define the Lua function. Correct the missing client-to-browser path and test cancellation instead of assuming the exported name works.
Installation, inputs and review scope
Keep client/main.lua, the manifest and the ui directory in the same resource folder, and start it before scripts that call its exports. The manifest has no framework dependency. Its interface loads Font Awesome from an external CDN; verify icon loading under your server browser policy.
The browser assembles task markup with innerHTML using supplied title, message, icon and color values. Escape text and allowlist supported icons and colors before displaying untrusted inputs. Test progress limits, completion, replacement, cancellation, long text and resource restarts on a development server.
Source checked on 10 September 2026 at revision 22746bdce33b881410a22421f1e79faff2b8d634. README, manifest, Lua client and browser code were inspected. No fixes were applied to the upstream resource and no gameplay test was performed.