equal
deleted
inserted
replaced
383 end |
383 end |
384 AddFunction({func = LoseMission, args = {}}) |
384 AddFunction({func = LoseMission, args = {}}) |
385 end |
385 end |
386 |
386 |
387 function LoseMission() |
387 function LoseMission() |
388 ParseCommand("teamgone " .. loc("Natives")) |
388 DismissTeam(loc("Natives")) |
389 ParseCommand("teamgone " .. loc("Cannibals")) |
389 DismissTeam(loc("Cannibals")) |
390 ParseCommand("teamgone " .. loc("011101001")) |
390 DismissTeam(loc("011101001")) |
391 TurnTimeLeft = 0 |
391 TurnTimeLeft = 0 |
392 end |
392 end |
393 |
393 |
394 function WonMission() |
394 function WonMission() |
395 RestoreHedge(cyborg) |
395 RestoreHedge(cyborg) |
401 |
401 |
402 function WinMission() |
402 function WinMission() |
403 if progress and progress<9 then |
403 if progress and progress<9 then |
404 SaveCampaignVar("Progress", "9") |
404 SaveCampaignVar("Progress", "9") |
405 end |
405 end |
406 ParseCommand("teamgone " .. loc("011101001")) |
406 DismissTeam(loc("011101001")) |
407 TurnTimeLeft = 0 |
407 TurnTimeLeft = 0 |
408 end |
408 end |
409 -----------------------------Misc-------------------------------------- |
409 -----------------------------Misc-------------------------------------- |
410 function HideHedge(hedge) |
410 function HideHedge(hedge) |
411 if hedgeHidden[hedge] ~= true then |
411 if hedgeHidden[hedge] ~= true then |