343 SendStat(siCustomAchievement, loc("To win the game, Hog Solo has to get the bottom crates and come back to the surface.")) |
343 SendStat(siCustomAchievement, loc("To win the game, Hog Solo has to get the bottom crates and come back to the surface.")) |
344 SendStat(siCustomAchievement, loc("You can use the other 2 hogs to assist you.")) |
344 SendStat(siCustomAchievement, loc("You can use the other 2 hogs to assist you.")) |
345 SendStat(siCustomAchievement, loc("Do not destroy the crates!")) |
345 SendStat(siCustomAchievement, loc("Do not destroy the crates!")) |
346 if tookPartInBattle then |
346 if tookPartInBattle then |
347 SendStat(siCustomAchievement, loc("You'll have to eliminate the Strawberry Assassins at the end.")) |
347 SendStat(siCustomAchievement, loc("You'll have to eliminate the Strawberry Assassins at the end.")) |
|
348 if permitCaptainLimeDeath then |
|
349 sendSimpleTeamRankings({teamC.name, teamA.name}) |
|
350 else |
|
351 sendSimpleTeamRankings({teamA.name}) |
|
352 end |
348 else |
353 else |
349 SendStat(siCustomAchievement, loc("You'll have to eliminate Captain Lime at the end.")) |
354 SendStat(siCustomAchievement, loc("You'll have to eliminate Captain Lime at the end.")) |
350 SendStat(siCustomAchievement, loc("Don't eliminate Captain Lime before collecting the last crate!")) |
355 SendStat(siCustomAchievement, loc("Don't eliminate Captain Lime before collecting the last crate!")) |
351 end |
356 if permitCaptainLimeDeath then |
352 SendStat(siPlayerKills,'0',teamA.name) |
357 sendSimpleTeamRankings({teamB.name, teamA.name}) |
|
358 else |
|
359 sendSimpleTeamRankings({teamA.name}) |
|
360 end |
|
361 end |
353 EndGame() |
362 EndGame() |
354 ended = true |
363 ended = true |
355 end |
364 end |
356 end |
365 end |
357 |
366 |
397 -- hero win in scenario of escape in 1st part |
406 -- hero win in scenario of escape in 1st part |
398 saveCompletedStatus(3) |
407 saveCompletedStatus(3) |
399 SendStat(siGameResult, loc("Congratulations, you won!")) |
408 SendStat(siGameResult, loc("Congratulations, you won!")) |
400 SendStat(siCustomAchievement, loc("You retrieved the lost part.")) |
409 SendStat(siCustomAchievement, loc("You retrieved the lost part.")) |
401 SendStat(siCustomAchievement, loc("You defended yourself against Captain Lime.")) |
410 SendStat(siCustomAchievement, loc("You defended yourself against Captain Lime.")) |
402 SendStat(siPlayerKills,'1',teamA.name) |
411 sendSimpleTeamRankings({teamA.name, teamB.name}) |
403 SendStat(siPlayerKills,'0',teamB.name) |
|
404 EndGame() |
412 EndGame() |
405 end |
413 end |
406 |
414 |
407 function redTeamDeath(gear) |
415 function redTeamDeath(gear) |
408 -- hero win in battle scenario |
416 -- hero win in battle scenario |
409 saveCompletedStatus(3) |
417 saveCompletedStatus(3) |
410 SendStat(siGameResult, loc("Congratulations, you won!")) |
418 SendStat(siGameResult, loc("Congratulations, you won!")) |
411 SendStat(siCustomAchievement, loc("You retrieved the lost part.")) |
419 SendStat(siCustomAchievement, loc("You retrieved the lost part.")) |
412 SendStat(siCustomAchievement, loc("You defended yourself against the Strawberry Assassins.")) |
420 SendStat(siCustomAchievement, loc("You defended yourself against the Strawberry Assassins.")) |
413 SendStat(siPlayerKills,'1',teamA.name) |
421 sendSimpleTeamRankings({teamA.name, teamC.name}) |
414 SendStat(siPlayerKills,'0',teamC.name) |
|
415 EndGame() |
422 EndGame() |
416 end |
423 end |
417 |
424 |
418 -------------- ANIMATIONS ------------------ |
425 -------------- ANIMATIONS ------------------ |
419 |
426 |