Add giveTrophy
This commit is contained in:
parent
49d0e64752
commit
f2668b6c88
@ -135,4 +135,9 @@ function GJ.fetchStorageKeys(isGlobal)
|
||||
return t
|
||||
end
|
||||
|
||||
-- trophies
|
||||
function GJ.giveTrophy(id)
|
||||
return string.find(req("trophies/add-achieved/?trophy_id=" .. tostring(id), "dump", true, true), "SUCCESS") ~= nil
|
||||
end
|
||||
|
||||
return GJ
|
Reference in New Issue
Block a user