Browse Source

Add missing file

Eduardo Bart 8 years ago
parent
commit
7cd49712f8
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      modules/game_tibiafiles/tibiafiles.lua

+ 13
- 0
modules/game_tibiafiles/tibiafiles.lua View File

@@ -0,0 +1,13 @@
1
+TibiaFiles = {}
2
+
3
+function TibiaFiles.init()
4
+  if not g_things.loadDat('/game_tibiafiles/Tibia.dat') then
5
+    fatal(tr("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat"))
6
+  end
7
+  if not g_sprites.loadSpr('/game_tibiafiles/Tibia.spr') then
8
+    fatal(tr("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr"))
9
+  end
10
+end
11
+
12
+function TibiaFiles.terminate()
13
+end

Loading…
Cancel
Save