====== Experience ====== The experience system implements a few features within GPHUD, as follows: Firstly experience pools are supported, and 3 are implemented by default - EventXP (if the module is enabled), FactionXP (if enabled) and VisitXP. These are all of type "Quotaed Experience", which means there are weekly caps in place on how much XP can be earned. Unlike previous products (RPHUD), there is no "predefined weekly reset", instead the XP caps are done on a rolling basis, that is, if you are only allowed to earn VisitXP once per week, and you earn a point on a Tuesday, the next point of Visit XP will not be available until the following Tuesday. By default, rather than implementing strict 7 days between XP events, we implement 6.75 days, otherwise the user's XP available time will creep forward by at least 1 hour every week and eventually roll over into the next day (or cause late nights :P). As such by setting it to 6.75 hours it always becomes available slightly earlier the following week, meaning the user will likely gain it as soon as they spend the ammount of time on the sim. In theory, their allowance could occur earlier and earlier each week until it runs into them 'waking up', as such 6.75 days interval probably works out better as 'a week' than 7 days. Experience from the 3 pools is summed and converted to levels based on a configurable XP curve. This can then be accessed as ''--LEVEL--'' through the templater in various places. There is a configuration for "ability points" which defines how many ability points a player may spend on certain attributes, this can be set to for example "--LEVEL--/2" to give a new point every 2 levels or similar. A character spends their ability points to increase attributes that allow this, and the increase is noted on their character sheet and becomes part of the CUMULATIVE KV value. The sum of the attributes on the character sheet tells how many ability points have been spent, and thus the ammount remaining can be calculated. The experience module also causes character attributes of type "EXPERIENCE" to gain their KVs, permissions, and so forth. Please see [[Adding your own type of XP]]