Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request ## Fixes - Fixed partially empty string being printed to chat when `CALL` query wasn't used - Fixed `SDQL_print()` not handling assoc lists-in-lists correctly ## Features - SDQL2 tab now works. Also appears instantly instead of on next `SSstatpanels` fire. - Clients now can be selected without needing to add `IN global.clients` to a query. - Added `LISTSOURCE` option, taking arg `OPTIMIZED`. Adding this arg will use some CM-added lists (like `GLOB.mob_list`) instead of iterating over `world`. This arg does nothing if the list being queried isn't `world`. - Added `SELECTPRINT` option, taking arg `NO_PRINT`. Adding this arg will prevent the HTML window containing every object found using a `SELECT` query. Useful because assembling the HTML window is incredibly taxing on the server when `SELECT`ing a massive amount of objects at once. - You can now call `sleep()` in SDQL queries by using `global._sleep()` - Added `SINGLECALL` query, taking an arg of `object.proc_call()`. This allows you to call a proc on an object (`global`, `marked`, `SSticker`, etc.) without needing to iterate over anything. Primarily useful for an in-between when chaining queries together. For more details and examples, see [my SDQL2 documentation](https://hackmd.io/@mRAdleXgRfmKqh97O8ixSA/ryZ-oqE2c). # Explain why it's good for the game Fixes good, features that make SDQL2 better good. # Changelog :cl: admin: Added LISTSOURCE and SELECTPRINT options to SDQL queries. admin: Added SINGLECALL SQDL query. admin: SDQL tab now works. admin: Clients can now be selected with SDQL more easily. /:cl:
- Loading branch information