Skip to content

GP command syntax

Frostbyte edited this page Jul 28, 2024 · 2 revisions

The amount of points to give or take when using the /gp command is specified as a string. This wiki page documents the format of the amount parameter.

The amount parameter has two syntax options, described below.

Simple syntax

When using simple syntax, the provided string will simply be parsed as a decimal value. The value can also be provided as an integer. If the value is omitted, the default is 1.

Examples:

  • /gp add <user>
  • /gp add <user> 8
  • /gp add <user> 2.25

Compound syntax

When using compound syntax, the amount string is composed of multiple terms, separated by "+". Whitespace is removed, so separating the terms is optional, and can be done for readability purposes.

Each term can be either:

a) A positive integer, or

b) A positive integer followed by a suffix. Each possible suffix represents an art contibution that has an associated GP value. The full list of suffixes is:

  • da: Dungeon sprite animation
  • sa: Starter sprite animation
  • oa: Other sprite animation
  • p: Portrait emotion
  • ap: Asym portrait emotion
  • sr: Shiny or recolor sprite

Altaria will calculate the value of each term and sum them all to get the final GP value.

Example 1: We want to give a user the amount of GP equivalent to 4 portait emotions. The command to run would be /gp add <user> 4p.

Example 2: We want to give a user the amount of GP equivalent to:

  • 5 dungeon sprite animations, plus
  • 12 starter sprite animations, plus
  • 20 portrait emotions, plus
  • An additional 10 GP

The command to run would be /gp add <user> 5da + 12sa + 20p + 10.

Clone this wiki locally