Skip to content

Commit cebaacc

Browse files
authored
- Renamed q.is_cooldown_type to q.is_cooldown_category (#257)
1 parent 63345cc commit cebaacc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/data/general.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ export namespace General {
799799
documentation: "Returns 1.0 if the entity has chests attached to it, else it returns 0.0.",
800800
},
801801
{
802-
id: "is_cooldown_type",
803-
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."
802+
id: "is_cooldown_category",
803+
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."
804804
},
805805
{
806806
id: "is_crawling",
@@ -1561,6 +1561,11 @@ export namespace General {
15611561
"DEPRECATED (Use query.is_name_any instead if possible so names can be changed later without breaking content.)",
15621562
deprecated: "query.is_name_any",
15631563
},
1564+
{
1565+
id: "is_cooldown_type",
1566+
documentation: "DEPRECATED",
1567+
deprecated: "query.is_cooldown_category"
1568+
},
15641569
{
15651570
id: "overlay_alpha",
15661571
documentation: "DEPRECATED (Do not use - this function is deprecated and will be removed)",

0 commit comments

Comments
 (0)