-- test script for ELua/Lunatic Interpreter print('--- ELua Test script ---') local i print('tweaking sector pals') for i = 0, gv.numsectors/2 do sector[i].floorpal = 1; sector[i].ceilingpal = 2; end print(gv.numsectors) print(gv.numwalls) print('--- end test script ---') --sector[-1].ceilingpal = 4; -- this must FAIL! --sector[0].wallnum = 0; -- as must this --gv.numsectors = 4 -- and this --sector[4] = sector[6] -- this is forbidden, too