Skip to content
MMOMinion edited this page Feb 12, 2014 · 24 revisions

Enumerations

  • All enumerations made by us are listed here. Enumerations are pre-defined global variables that can and SHOULD be used everywhere in your lua code for better understanding and to reduce problems that come with patches & updates of the game that change these ingame enumerations.
  • IMPORTANT: THE GLOBAL VARIABLES ARE NOT YET DEFINED IN THE CURRENTLY RUNNING CLOSED BETA TEST!

Usage example:

- the 'd' command is a global command for printing out information into the console
d(FFXIV.JOBS.SUMMONER)
-- Result: 28 (which is the internal identifier for summoner

ACTIONTYPE

ACTIONS = 1,
ITEM = 2,
GENERAL = 5,
COMPANION = 6,
MINIONS = 8,
CRAFT = 9,
MAINCOMMANDS = 10,
PET = 11,
MOUNT = 13,

CHARACTERTYPE

PET = 2,
PLAYER = 4,
ENEMY = 5,

ENTITYTYPE

PC = 1,
BATTLENPC = 2,
EVENTNPC = 3,
AETHERYTE = 5,
RESOURCENODE = 6,
EVENTOBJECT = 7,
MINIPET = 9,

FATESTATE

ACTIVE = 2,
NOTACTIVE = 4,
PREPARING = 7,
COMPLETED = 8,

FATESTATUS

ACTIVE = 2,
NOTACTIVE = 4,
PREPARING = 7,
COMPLETET = 8,

FISHINGSTATE

NONE = 0,
POLEOUT = 1,
PULLPOLEIN= 2,
QUIT = 3,
POLEREADY = 4,
BITE = 5,
REELIN = 6,

JOB

ADVENTURER = 0,
GLADIATOR = 1,
PUGILIST = 2,
MARAUDER = 3,
LANCER = 4,
ARCHER = 5,
CONJURER = 6,
THAUMAGURGE = 7,
CARPENTER = 8,
BLACKSMITH = 9,
ARMORER = 10,
GOLDSMITH = 11,
LEATHERWORKER = 12,
WEAVER = 13,
ALCHEMIST = 14,
CULINARIAN = 15,
MINER = 16,
BOTANIST = 17,
FISHER = 18,
PALADIN = 19,
MONK = 20,
WARRIOR = 21,
DRAGOON = 22,
BARD = 23,
WHITEMAGE = 24,
BLACKMAGE = 25,
ARCANIST = 26,
SUMMONER = 27,
SCHOLER= 28,

MOVEMENTSTATE

FORWARD,
BACKWARD,
STRAFELEFT,
STRAFERIGHT,

REVIVESTATE

NONE = 0,
DIE = 1,
DEAD = 2,
REVIVING = 3,

ROLE

NONE = 0,
TANK = 1,
DPS = 2,
DPS2 = 3,
HEALER = 4,

ITEMCATEGORY

WEAPON = 1
ARCANA = 2
SHIELD = 3
ARMOR = 4
FOOD = 5
ENHANCEMENT = 6
ENFEEBLEMENT = 7
ETHER = 8
POTION = 9
ELIXER = 10
CRYSTAL = 11
MATERIAL = 12
MATERIA = 13
FURNISHING = 14
DYE = 15
MISC = 16
BAIT = 17

INVENTORYTYPE

INV_BAG0 = 0,
INV_BAG1 = 1,
INV_BAG2 = 2,
INV_BAG3 = 3,

INV_EQUIPPED = 1000,

INV_CURRENCY = 2000,
INV_SHARDS = 2001,
UNK2002 = 2002,
UNK2003 = 2003,
UNK2004 = 2004,
UNK2005 = 2005,
UNK2006 = 2006,
NPC_REPAIRABLEGEAR = 2007,
UNK2008 = 2008,
UNK2009 = 2009,
UNK2010 = 2010,

INV_ARMORY_OFFHAND = 3200,
INV_ARMORY_HEAD = 3201,
INV_ARMORY_BODY = 3202,
INV_ARMORY_HANDS = 3203,
INV_ARMORY_WAIST = 3204,
INV_ARMORY_LEGS = 3205,
INV_ARMORY_FEET = 3206,
INV_ARMORY_NECK = 3207,
INV_ARMORY_EARS = 3208,
INV_ARMORY_WRIST = 3209,
INV_ARMORY_RINGS = 3300,
INV_ARMORY_SOULCRYSTAL = 3400,
INV_ARMORY_MAINHAND = 3500, 
Clone this wiki locally