class Partyhat::Stat

Constants

ActivitiesList

List of activities that appear in the highscores

CombatSkillsList

List of skills that count in your combat level

HumanNames

Human readable names for all skills and activities

List

List of all stats that can belong to a player

SkillsList

List of skills that appear in the highscores

Public Class Methods

human_name_for(stat) click to toggle source

Get the human readable name for a stat name

  • returns ‘Undefined’ if not found

# File lib/partyhat/stat.rb, line 108
def self.human_name_for stat
  HumanNames[stat] || 'Undefined'
end