mirror of
https://codeberg.org/usrib/emeraldbank.git
synced 2024-11-19 22:23:50 +01:00
function emeraldbank.get_emeralds(name)
This commit is contained in:
parent
f36651701e
commit
a4fa4c21ef
@ -21,6 +21,11 @@
|
||||
|
||||
local S = core.get_translator(core.get_current_modname())
|
||||
|
||||
function emeraldbank.get_emeralds(name)
|
||||
atm.read_account(name)
|
||||
return atm.balance[name]
|
||||
end
|
||||
|
||||
function emeraldbank.add_emeralds(player, num)
|
||||
if not player then return false end
|
||||
local meta = player:get_meta()
|
||||
|
Loading…
Reference in New Issue
Block a user