mirror of
https://github.com/edubart/otclient.git
synced 2025-05-01 10:09:21 +02:00
restore client_tibiafiles
This commit is contained in:
parent
b2d1e6bd89
commit
08a88e3842
14
modules/client_tibiafiles/tibiafiles.otmod
Normal file
14
modules/client_tibiafiles/tibiafiles.otmod
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Module
|
||||||
|
name: client_tibiafiles
|
||||||
|
description: Contains tibia spr and dat
|
||||||
|
unloadable: false
|
||||||
|
autoload: true
|
||||||
|
autoload-antecedence: 170
|
||||||
|
|
||||||
|
onLoad: |
|
||||||
|
if not g_thingsType.load('/client_tibiafiles/Tibia.dat') then
|
||||||
|
fatal("Unable to load dat file, please place a valid Tibia dat in modules/client_tibiafiles/Tibia.dat")
|
||||||
|
end
|
||||||
|
if not g_sprites.load('/client_tibiafiles/Tibia.spr') then
|
||||||
|
fatal("Unable to load spr file, please place a valid Tibia spr in modules/client_tibiafiles/Tibia.spr")
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user