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.
Utiliser un objet de l’inventaire.
inventory:useItem(gid)
gid
int
boolean
true
false
-- Utiliser une potion de soin if inventory:useItem(123) then global:printSuccess("Potion de soin utilisée") else global:printError("Échec de l'utilisation de la potion") end