LuaLibraryAchievements.wiki
changeset 1487 1800c3c11a33
parent 1486 4984ebed9535
child 1488 a955f982d72a
equal deleted inserted replaced
1486:4984ebed9535 1487:1800c3c11a33
     5 
     5 
     6 This is simple library for awarding an achievement to the player, to be used in missions. They are not meant for multiplayer.
     6 This is simple library for awarding an achievement to the player, to be used in missions. They are not meant for multiplayer.
     7 
     7 
     8 An achievement in Hedgewars is a simple award given for doing something awesome or difficult in a mission, or winning a mission in a great way.
     8 An achievement in Hedgewars is a simple award given for doing something awesome or difficult in a mission, or winning a mission in a great way.
     9 Achievements are a hidden feature in Hedgewars so far and far from complete.
     9 Achievements are a hidden feature in Hedgewars so far and far from complete.
    10 One example achievement is “Lively Lifeguard” in the mission “That Sinking Feeling” for rescuing all hogs.
    10 
       
    11 One existing achievement in Hedgewars is “Lively Lifeguard” in the scenario “That Sinking Feeling” which is awarded for rescuing all hogs.
    11 
    12 
    12 == `awardAchievement(name, statText, capgrp)` ==
    13 == `awardAchievement(name, statText, capgrp)` ==
    13 Awards an achievement with name `name` to player.
    14 Awards an achievement with name `name` to player.
    14 
    15 
    15 Currently, this only displays a caption and adds a mention in the stat screen.
    16 Currently, this only displays a caption and adds a mention in the stat screen.