Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the pull request
Mirrored from cmss13-devs/cmss13#6270
Fixes
CALL
query wasn't usedSDQL_print()
not handling assoc lists-in-lists correctlyFeatures
SSstatpanels
fire.IN global.clients
to a query.LISTSOURCE
option, taking argOPTIMIZED
. Adding this arg will use some CM-added lists (likeGLOB.mob_list
) instead of iterating overworld
. This arg does nothing if the list being queried isn'tworld
.SELECTPRINT
option, taking argNO_PRINT
. Adding this arg will prevent the HTML window containing every object found using aSELECT
query. Useful because assembling the HTML window is incredibly taxing on the server whenSELECT
ing a massive amount of objects at once.sleep()
in SDQL queries by usingglobal._sleep()
SINGLECALL
query, taking an arg ofobject.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.
Explain why it's good for the game
Fixes good, features that make SDQL2 better good.
Changelog
🆑
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: