From 7ab74bc8384b88d83c2e484da3db1bd707479492 Mon Sep 17 00:00:00 2001 From: Xterionix Date: Sat, 13 Sep 2025 16:34:43 -0500 Subject: [PATCH] - Renamed q.is_cooldown_type to q.is_cooldown_category --- src/data/general.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/data/general.ts b/src/data/general.ts index 32517cb..8d1a184 100644 --- a/src/data/general.ts +++ b/src/data/general.ts @@ -799,8 +799,8 @@ export namespace General { documentation: "Returns 1.0 if the entity has chests attached to it, else it returns 0.0.", }, { - id: "is_cooldown_type", - documentation: "Returns 1.0 if the specified held or worn item has the specified cooldown type name, otherwise returns 0.0. First argument is the cooldown name to check for, second argument is the equipment slot name, and if required third argument is the numerical slot id. For second and third arguments, uses the same name and id that the replaceitem command takes when querying entities." + id: "is_cooldown_category", + documentation: "Returns 1.0 if the specified held or worn item has the specified cooldown category, otherwise returns 0.0. First argument is the cooldown name to check for, second argument is the equipment slot name, and if required third argument is the numerical slot id. For second and third arguments, uses the same name and id that the replaceitem command takes when querying entities." }, { id: "is_crawling", @@ -1561,6 +1561,11 @@ export namespace General { "DEPRECATED (Use query.is_name_any instead if possible so names can be changed later without breaking content.)", deprecated: "query.is_name_any", }, + { + id: "is_cooldown_type", + documentation: "DEPRECATED", + deprecated: "query.is_cooldown_category" + }, { id: "overlay_alpha", documentation: "DEPRECATED (Do not use - this function is deprecated and will be removed)",