equal
deleted
inserted
replaced
400 * The mission ends successfully when all targets have been destroyed |
400 * The mission ends successfully when all targets have been destroyed |
401 * The mission ends unsuccessfully when the time runs out or the hedgehog dies |
401 * The mission ends unsuccessfully when the time runs out or the hedgehog dies |
402 * When the mission ends, a score is awarded, based on the performance (hit targets, accuracy and remaining time) of the hedgehog. When not all targets are hit, there will be no accuracy and time bonuses. |
402 * When the mission ends, a score is awarded, based on the performance (hit targets, accuracy and remaining time) of the hedgehog. When not all targets are hit, there will be no accuracy and time bonuses. |
403 |
403 |
404 If you want to create a more sophisticated training mission, use your own code instead. The main motivation to write this library was to reduce redundancy in existing target practice missions. |
404 If you want to create a more sophisticated training mission, use your own code instead. The main motivation to write this library was to reduce redundancy in existing target practice missions. |
405 |
|
406 Thos library also loads the Locale library for its own purposes. If you use !TargetPractice, you do not have to explicitly load Locale anymore. |
|
407 |
405 |
408 === `TargetPracticeMission(params)` === |
406 === `TargetPracticeMission(params)` === |
409 This function sets up the *entire* training mission and needs one argument: `params`. |
407 This function sets up the *entire* training mission and needs one argument: `params`. |
410 `params` is a table containing fields which describe the training mission. |
408 `params` is a table containing fields which describe the training mission. |
411 |
409 |
475 == !SpeedShoppa == |
473 == !SpeedShoppa == |
476 Starting with 0.9.22, this library provides a function to create a simple shoppa-style mission. |
474 Starting with 0.9.22, this library provides a function to create a simple shoppa-style mission. |
477 |
475 |
478 In !SpeedShoppa missions, the player starts with infinite ropes and has to collect all crates as fast as possible and compete for the fastest time. |
476 In !SpeedShoppa missions, the player starts with infinite ropes and has to collect all crates as fast as possible and compete for the fastest time. |
479 |
477 |
480 This library also loads the Locale library for its own purposes. If you use !SpeedShoppa, you do not have to explicitly load Locale anymore. |
|
481 |
|
482 === `SpeedShoppaMission(params)` === |
478 === `SpeedShoppaMission(params)` === |
483 This function sets up the *entire* mission and needs one argument: `params`. |
479 This function sets up the *entire* mission and needs one argument: `params`. |
484 The argument “`params`” is a table containing fields which describe the training mission. |
480 The argument “`params`” is a table containing fields which describe the training mission. |
485 |
481 |
486 Mandatory fields: |
482 Mandatory fields: |