tibia-client/modules/game_tibiafiles/tibiafiles.lua

13 lines
439 B
Lua

TibiaFiles = {}
function TibiaFiles.init()
if not g_things.loadDat('/game_tibiafiles/Tibia.dat') then
fatal(tr("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat"))
end
if not g_sprites.loadSpr('/game_tibiafiles/Tibia.spr') then
fatal(tr("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr"))
end
end
function TibiaFiles.terminate()
end