Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Obtenir la quantité d’un objet spécifique dans l’inventaire.
inventory:itemCount(gid)
gid
int
local potions = inventory:itemCount(123) -- ID de la potion de soin if potions < 10 then global:printWarning("Potions insuffisantes !") end