1
--------------------------------------------------------------------------------
2
--------------------------------------------------------------------------------
6
--------------------------------------------------------------------------------
7
--------------------------------------------------------------------------------
9
local TDF = VFS.Include('gamedata/parse_tdf.lua')
11
--------------------------------------------------------------------------------
12
--------------------------------------------------------------------------------
14
if (not VFS.FileExists('gamedata/resources_map.tdf')) then
18
local resources, err = TDF.Parse('gamedata/resources_map.tdf')
19
if (resources == nil) then
20
error('Error parsing resources.tdf: ' .. err)
23
--------------------------------------------------------------------------------
27
--------------------------------------------------------------------------------
28
--------------------------------------------------------------------------------