Plugin : Achievements

Author:Rex.Rainbow

Download

Properties

Delimiter

  • Set delimiter for splitting items.

Actions

Execute

Action:Run tests

  • Run tests.

Force

Action:Force obtain

  • Force obtain or take out an achievement.
    • Level ( string ) : Level or game name.
    • Achievement ( string ) : achievement name.
    • Action ( Combo ) : Obtain or take out this achievement.
      • Options : ["take out","obtain"]

JSON

Action:Load

  • Load from an accomplishments previously encoded in JSON format.
    • JSON ( string ) : A string of the JSON data to load.

Action:Load states

  • Load states from an accomplishments previously encoded in JSON format.
    • JSON ( string ) : A string of the JSON data to load.

Load

Action:Load rules

  • Load rules in csv table for condition-items.
    • Data ( string ) : Data in CSV format.

Prepare

Action:Set level name

  • Set level name.
    • Level ( string ) : Level or game name.

Action:Set property

  • Set property.
    • Property ( string ) : Property name.
    • Value ( number or string ) : The value to set.

Expressions

For each

Expression:CurAchievementName

  • Get achievement name in a For Each loop.

JSON

Expression:AsJSON

  • Return the contents of achievements in JSON format, include states and rules.

Expression:StatesAsJSON

  • Return the states of accomplishments in JSON format.

Level

Expression:LevelName

  • Level name of current achievements.

Conditions

Achievements

Condition:Is obtained

  • Return true if this achievement is obtained.
    • Level ( string ) : Level or game name.
    • Achievement ( string ) : achievement name.
    • Latest ( Combo ) : obtain this achievement in the latest test.
      • Options : ["","in the latest test"]

For each

Condition:For each achievement

  • Repeat the event for each achievement.
    • Level ( string ) : Level or game name.