Lua [Player]
Info
Also see Spire Quest API Explorer for latest definitions and Quest examples
Last generated 2023.01.15
EVENT_AA_BUY¶
function EVENT_AA_BUY(e) {
eq.debug("aa_cost " .. e.aa_cost);
eq.debug("aa_id " .. e.aa_id);
eq.debug("aa_previous_id " .. e.aa_previous_id);
eq.debug("aa_next_id " .. e.aa_next_id);
}
EVENT_AA_GAIN¶
function EVENT_AA_GAIN(e) {
eq.debug("aa_gained " .. e.aa_gained);
}
EVENT_ALT_CURRENCY_MERCHANT_BUY¶
function EVENT_ALT_CURRENCY_MERCHANT_BUY(e) {
eq.debug("currency_id " .. e.currency_id);
eq.debug("npc_id " .. e.npc_id);
eq.debug("merchant_id " .. e.merchant_id);
eq.debug("item_id " .. e.item_id);
eq.debug("item_cost " .. e.item_cost);
}
EVENT_ALT_CURRENCY_MERCHANT_SELL¶
function EVENT_ALT_CURRENCY_MERCHANT_SELL(e) {
eq.debug("currency_id " .. e.currency_id);
eq.debug("npc_id " .. e.npc_id);
eq.debug("merchant_id " .. e.merchant_id);
eq.debug("item_id " .. e.item_id);
eq.debug("item_cost " .. e.item_cost);
}
EVENT_AUGMENT_INSERT_CLIENT¶
function EVENT_AUGMENT_INSERT_CLIENT(e) {
eq.debug("item " .. e.item);
eq.debug("augment " .. e.augment);
eq.debug("item_id " .. e.item_id);
eq.debug("item_slot " .. e.item_slot);
eq.debug("augment_id " .. e.augment_id);
eq.debug("augment_slot " .. e.augment_slot);
}
EVENT_AUGMENT_REMOVE_CLIENT¶
function EVENT_AUGMENT_REMOVE_CLIENT(e) {
eq.debug("item " .. e.item);
eq.debug("augment " .. e.augment);
eq.debug("item_id " .. e.item_id);
eq.debug("item_slot " .. e.item_slot);
eq.debug("augment_id " .. e.augment_id);
eq.debug("augment_slot " .. e.augment_slot);
eq.debug("destroyed " .. e.destroyed);
}
EVENT_BOT_COMMAND¶
function EVENT_BOT_COMMAND(e) {
eq.debug("bot_command " .. e.bot_command);
eq.debug("args " .. e.args);
}
EVENT_BOT_CREATE¶
function EVENT_BOT_CREATE(e) {
eq.debug("bot_name " .. e.bot_name);
eq.debug("bot_id " .. e.bot_id);
eq.debug("bot_race " .. e.bot_race);
eq.debug("bot_class " .. e.bot_class);
eq.debug("bot_gender " .. e.bot_gender);
}
EVENT_CAST¶
function EVENT_CAST(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
}
EVENT_CAST_BEGIN¶
function EVENT_CAST_BEGIN(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
}
EVENT_CAST_ON¶
function EVENT_CAST_ON(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
}
EVENT_CLICK_DOOR¶
function EVENT_CLICK_DOOR(e) {
eq.debug("door " .. e.door);
}
EVENT_CLICK_OBJECT¶
function EVENT_CLICK_OBJECT(e) {
eq.debug("object " .. e.object);
}
EVENT_COMBINE¶
function EVENT_COMBINE(e) {
eq.debug("container_slot " .. e.container_slot);
}
EVENT_COMBINE_FAILURE¶
function EVENT_COMBINE_FAILURE(e) {
eq.debug("recipe_id " .. e.recipe_id);
eq.debug("recipe_name " .. e.recipe_name);
}
EVENT_COMBINE_SUCCESS¶
function EVENT_COMBINE_SUCCESS(e) {
eq.debug("recipe_id " .. e.recipe_id);
eq.debug("recipe_name " .. e.recipe_name);
}
EVENT_COMBINE_VALIDATE¶
function EVENT_COMBINE_VALIDATE(e) {
eq.debug("recipe_id " .. e.recipe_id);
eq.debug("validate_type " .. e.validate_type);
eq.debug("zone_id " .. e.zone_id);
eq.debug("tradeskill_id " .. e.tradeskill_id);
}
EVENT_COMMAND¶
function EVENT_COMMAND(e) {
eq.debug("command " .. e.command);
eq.debug("args " .. e.args);
}
EVENT_CONNECT¶
function EVENT_CONNECT(e) {
}
EVENT_CONSIDER¶
function EVENT_CONSIDER(e) {
eq.debug("entity_id " .. e.entity_id);
}
EVENT_CONSIDER_CORPSE¶
function EVENT_CONSIDER_CORPSE(e) {
eq.debug("corpse_entity_id " .. e.corpse_entity_id);
}
EVENT_DEATH¶
function EVENT_DEATH(e) {
eq.debug("other " .. e.other);
eq.debug("killer_id " .. e.killer_id);
eq.debug("damage " .. e.damage);
eq.debug("spell " .. e.spell);
eq.debug("skill " .. e.skill);
}
EVENT_DEATH_COMPLETE¶
function EVENT_DEATH_COMPLETE(e) {
eq.debug("other " .. e.other);
eq.debug("killer_id " .. e.killer_id);
eq.debug("damage " .. e.damage);
eq.debug("spell " .. e.spell);
eq.debug("skill " .. e.skill);
}
EVENT_DISCONNECT¶
function EVENT_DISCONNECT(e) {
}
EVENT_DISCOVER_ITEM¶
function EVENT_DISCOVER_ITEM(e) {
eq.debug("item " .. e.item);
}
EVENT_DUEL_LOSE¶
function EVENT_DUEL_LOSE(e) {
eq.debug("other " .. e.other);
}
EVENT_DUEL_WIN¶
function EVENT_DUEL_WIN(e) {
eq.debug("other " .. e.other);
}
EVENT_ENTER¶
function EVENT_ENTER(e) {
}
EVENT_ENTER_AREA¶
function EVENT_ENTER_AREA(e) {
eq.debug("area_id " .. e.area_id);
eq.debug("area_type " .. e.area_type);
}
EVENT_ENTER_ZONE¶
function EVENT_ENTER_ZONE(e) {
}
EVENT_ENVIRONMENTAL_DAMAGE¶
function EVENT_ENVIRONMENTAL_DAMAGE(e) {
eq.debug("env_damage " .. e.env_damage);
eq.debug("env_damage_type " .. e.env_damage_type);
eq.debug("env_final_damage " .. e.env_final_damage);
}
EVENT_EQUIP_ITEM_CLIENT¶
function EVENT_EQUIP_ITEM_CLIENT(e) {
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("slot_id " .. e.slot_id);
eq.debug("item " .. e.item);
}
EVENT_EXIT¶
function EVENT_EXIT(e) {
}
EVENT_FEIGN_DEATH¶
function EVENT_FEIGN_DEATH(e) {
eq.debug("other " .. e.other);
}
EVENT_FISH_FAILURE¶
function EVENT_FISH_FAILURE(e) {
}
EVENT_FISH_START¶
function EVENT_FISH_START(e) {
}
EVENT_FISH_SUCCESS¶
function EVENT_FISH_SUCCESS(e) {
eq.debug("item " .. e.item);
}
EVENT_FORAGE_FAILURE¶
function EVENT_FORAGE_FAILURE(e) {
}
EVENT_FORAGE_SUCCESS¶
function EVENT_FORAGE_SUCCESS(e) {
eq.debug("item " .. e.item);
}
EVENT_GM_COMMAND¶
function EVENT_GM_COMMAND(e) {
eq.debug("message " .. e.message);
}
EVENT_GROUP_CHANGE¶
function EVENT_GROUP_CHANGE(e) {
}
EVENT_INSPECT¶
function EVENT_INSPECT(e) {
eq.debug("other " .. e.other);
}
EVENT_LANGUAGE_SKILL_UP¶
function EVENT_LANGUAGE_SKILL_UP(e) {
eq.debug("skill_id " .. e.skill_id);
eq.debug("skill_value " .. e.skill_value);
eq.debug("skill_max " .. e.skill_max);
eq.debug("is_tradeskill " .. e.is_tradeskill);
}
EVENT_LEAVE_AREA¶
function EVENT_LEAVE_AREA(e) {
eq.debug("area_id " .. e.area_id);
eq.debug("area_type " .. e.area_type);
}
EVENT_LEVEL_DOWN¶
function EVENT_LEVEL_DOWN(e) {
eq.debug("levels_lost " .. e.levels_lost);
}
EVENT_LEVEL_UP¶
function EVENT_LEVEL_UP(e) {
eq.debug("levels_gained " .. e.levels_gained);
}
EVENT_LOOT¶
function EVENT_LOOT(e) {
eq.debug("item " .. e.item);
eq.debug("corpse " .. e.corpse);
}
EVENT_MERCHANT_BUY¶
function EVENT_MERCHANT_BUY(e) {
eq.debug("npc_id " .. e.npc_id);
eq.debug("merchant_id " .. e.merchant_id);
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("item_cost " .. e.item_cost);
}
EVENT_MERCHANT_SELL¶
function EVENT_MERCHANT_SELL(e) {
eq.debug("npc_id " .. e.npc_id);
eq.debug("merchant_id " .. e.merchant_id);
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("item_cost " .. e.item_cost);
}
EVENT_PAYLOAD¶
function EVENT_PAYLOAD(e) {
eq.debug("payload_id " .. e.payload_id);
eq.debug("payload_value " .. e.payload_value);
}
EVENT_PLAYER_PICKUP¶
function EVENT_PLAYER_PICKUP(e) {
eq.debug("item " .. e.item);
}
EVENT_POPUP_RESPONSE¶
function EVENT_POPUP_RESPONSE(e) {
eq.debug("popup_id " .. e.popup_id);
}
EVENT_RESPAWN¶
function EVENT_RESPAWN(e) {
eq.debug("option " .. e.option);
eq.debug("resurrect " .. e.resurrect);
}
EVENT_SAY¶
function EVENT_SAY(e) {
eq.debug("message " .. e.message);
eq.debug("language " .. e.language);
}
EVENT_SIGNAL¶
function EVENT_SIGNAL(e) {
eq.debug("signal " .. e.signal);
}
EVENT_SKILL_UP¶
function EVENT_SKILL_UP(e) {
eq.debug("skill_id " .. e.skill_id);
eq.debug("skill_value " .. e.skill_value);
eq.debug("skill_max " .. e.skill_max);
eq.debug("is_tradeskill " .. e.is_tradeskill);
}
EVENT_TARGET_CHANGE¶
function EVENT_TARGET_CHANGE(e) {
}
EVENT_TASK_BEFORE_UPDATE¶
function EVENT_TASK_BEFORE_UPDATE(e) {
eq.debug("count " .. e.count);
eq.debug("activity_id " .. e.activity_id);
eq.debug("task_id " .. e.task_id);
}
EVENT_TASK_COMPLETE¶
function EVENT_TASK_COMPLETE(e) {
eq.debug("count " .. e.count);
eq.debug("activity_id " .. e.activity_id);
eq.debug("task_id " .. e.task_id);
}
EVENT_TASK_FAIL¶
function EVENT_TASK_FAIL(e) {
eq.debug("task_id " .. e.task_id);
}
EVENT_TASK_STAGE_COMPLETE¶
function EVENT_TASK_STAGE_COMPLETE(e) {
eq.debug("task_id " .. e.task_id);
eq.debug("activity_id " .. e.activity_id);
}
EVENT_TASK_UPDATE¶
function EVENT_TASK_UPDATE(e) {
eq.debug("count " .. e.count);
eq.debug("activity_id " .. e.activity_id);
eq.debug("task_id " .. e.task_id);
}
EVENT_TEST_BUFF¶
function EVENT_TEST_BUFF(e) {
}
EVENT_TIMER¶
function EVENT_TIMER(e) {
eq.debug("timer " .. e.timer);
}
EVENT_UNEQUIP_ITEM_CLIENT¶
function EVENT_UNEQUIP_ITEM_CLIENT(e) {
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("slot_id " .. e.slot_id);
eq.debug("item " .. e.item);
}
EVENT_UNHANDLED_OPCODE¶
function EVENT_UNHANDLED_OPCODE(e) {
eq.debug("packet " .. e.packet);
eq.debug("connecting " .. e.connecting);
}
EVENT_USE_SKILL¶
function EVENT_USE_SKILL(e) {
eq.debug("skill_id " .. e.skill_id);
eq.debug("skill_level " .. e.skill_level);
}
EVENT_WARP¶
function EVENT_WARP(e) {
eq.debug("from_x " .. e.from_x);
eq.debug("from_y " .. e.from_y);
eq.debug("from_z " .. e.from_z);
}
EVENT_ZONE¶
function EVENT_ZONE(e) {
eq.debug("from_zone_id " .. e.from_zone_id);
eq.debug("from_instance_id " .. e.from_instance_id);
eq.debug("from_instance_version " .. e.from_instance_version);
eq.debug("zone_id " .. e.zone_id);
eq.debug("instance_id " .. e.instance_id);
eq.debug("instance_version " .. e.instance_version);
}