diff options
author | Pixel <pixel@nobis-crew.org> | 2012-10-28 22:25:38 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-10-28 22:25:38 -0700 |
commit | 8fa0f9de66fdb283ed9f74aabfca03f7844b4c3d (patch) | |
tree | d053bb2f770e55f771612b7eea495d9650160d14 /VP-textwork.lua | |
parent | 1845b90ac8e54ea6f4c6dd22a0278d70c2956db0 (diff) |
Making some tags a bit smarter.
Diffstat (limited to 'VP-textwork.lua')
-rw-r--r-- | VP-textwork.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/VP-textwork.lua b/VP-textwork.lua index 6b8ca6b..acc196e 100644 --- a/VP-textwork.lua +++ b/VP-textwork.lua @@ -73,7 +73,13 @@ function dump_special(script, code) local t, u t = script:readU8() u = script:readU8() - return '<delay t="' .. t .. '" u="' .. u .. '">', "" + if u == 0 then + return '<delay0 t="' .. t .. '">', "" + elseif u == 1 then + return '<delay1 t="' .. t .. '">', "" + else + return '<delay t="' .. t .. '" u="' .. u .. '">', "" + end elseif code == 18 then return "<ssync/>", "" elseif code == 19 then |