share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua
changeset 12571 903a30fb49e6
parent 12539 19192a3cb674
child 12575 0c5ce463949b
equal deleted inserted replaced
12570:0fb15ad40595 12571:903a30fb49e6
    42 hero.dead = false
    42 hero.dead = false
    43 ally.name = loc("Paul McHoggy")
    43 ally.name = loc("Paul McHoggy")
    44 ally.x = 860
    44 ally.x = 860
    45 ally.y = 130
    45 ally.y = 130
    46 teamA.name = loc("Hog Solo")
    46 teamA.name = loc("Hog Solo")
    47 teamA.color = tonumber("38D61C",16) -- green
    47 teamA.color = 0x38D61C -- green
    48 teamB.name = loc("Allies")
    48 teamB.name = loc("Allies")
    49 teamB.color = tonumber("FF0000",16) -- red
    49 teamB.color = 0x38D61C -- green
    50 -- way points
    50 -- way points
    51 local current waypoint = 1
    51 local current waypoint = 1
    52 local waypoints = {
    52 local waypoints = {
    53 	[1] = {x=1450, y=140},
    53 	[1] = {x=1450, y=140},
    54 	[2] = {x=990, y=580},
    54 	[2] = {x=990, y=580},
    68 }
    68 }
    69 
    69 
    70 -------------- LuaAPI EVENT HANDLERS ------------------
    70 -------------- LuaAPI EVENT HANDLERS ------------------
    71 
    71 
    72 function onGameInit()
    72 function onGameInit()
    73 	GameFlags = gfInvulnerable
    73 	GameFlags = gfInvulnerable + gfOneClanMode
    74 	Seed = 1
    74 	Seed = 1
    75 	TurnTime = 15000
    75 	TurnTime = 15000
    76 	CaseFreq = 0
    76 	CaseFreq = 0
    77 	MinesNum = 0
    77 	MinesNum = 0
    78 	MinesTime = 1
    78 	MinesTime = 1