summaryrefslogtreecommitdiff
path: root/VP-roomwork.lua
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-10-25 09:32:15 -0700
committerPixel <pixel@nobis-crew.org>2012-10-25 09:32:15 -0700
commit911936a303001d2fb2f2e94c7228374656d1b88b (patch)
treeb9c8b2a37e6ade550b737c05f3f3b766c5f6a191 /VP-roomwork.lua
parent0294089b7ddf4c957ecd37123a9a0ed6f78bf176 (diff)
A bit more on the menus.
Diffstat (limited to 'VP-roomwork.lua')
-rw-r--r--VP-roomwork.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua
index ac0a958..4349ca4 100644
--- a/VP-roomwork.lua
+++ b/VP-roomwork.lua
@@ -190,7 +190,7 @@ function process_arcroom(fname, h, size, ext)
counter = counter + 1
return ret
end
- elseif dump_mode and ext == "main" and index[i].ftype == 4 then
+ elseif dump_mode and ext == "sarc" and index[i].ftype == 4 then
if script then error "Can't have two scripts in these..." end
handler = function(fname, h, size, ext)
if counter == 1 then
@@ -202,7 +202,7 @@ function process_arcroom(fname, h, size, ext)
end
counter = counter + 1
end
- elseif dump_mode and ext == "main" and index[i].ftype == 7 then
+ elseif dump_mode and ext == "sarc" and index[i].ftype == 7 then
if font then error "Can't have two fonts in these..." end
handler = function(fname, h, size, ext)
if counter == 1 then
@@ -214,9 +214,9 @@ function process_arcroom(fname, h, size, ext)
end
counter = counter + 1
end
- elseif not dump_mode and ext == "main" and index[i].ftype == 4 then
+ elseif not dump_mode and ext == "sarc" and index[i].ftype == 4 then
error "Not written yet"
- elseif not dump_mode and ext == "main" and index[i].ftype == 7 then
+ elseif not dump_mode and ext == "sarc" and index[i].ftype == 7 then
error "Not written yet"
end
outfile[i] = process_single_file(fname .. string.format("/%04i-%08X", i, index[i].ftype), h, index[i].size, "room", handler)