File: armageddon.lua

package info (click to toggle)
scummvm 2.2.0%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 227,768 kB
  • sloc: cpp: 2,525,134; ansic: 144,108; asm: 28,422; sh: 9,109; python: 8,774; xml: 6,003; perl: 3,523; java: 1,547; makefile: 948; yacc: 720; lex: 437; javascript: 336; objc: 81; sed: 22; php: 1
file content (9 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
set_g_armageddon(true)
magic_casting_effect()
local i
for i=1,0xff do
   local actor = Actor.get(i)
   if i ~= 1 and i ~= 5 and actor ~= nil and actor.alive then --don't kill the Avatar or Lord British.
   	Actor.kill(actor, false) --false = don't create body
   end
end