Skip to content

Lua [Item]

Info

Also see Spire Quest API Explorer for latest definitions and Quest examples

EVENT_AUGMENT_INSERT

function EVENT_AUGMENT_INSERT(e) {
    eq.debug("item " .. e.item);
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_AUGMENT_ITEM

function EVENT_AUGMENT_ITEM(e) {
    eq.debug("aug " .. e.aug);
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_AUGMENT_REMOVE

function EVENT_AUGMENT_REMOVE(e) {
    eq.debug("item " .. e.item);
    eq.debug("slot_id " .. e.slot_id);
    eq.debug("destroyed " .. e.destroyed);
}

EVENT_DESTROY_ITEM

function EVENT_DESTROY_ITEM(e) {
}

EVENT_DROP_ITEM

function EVENT_DROP_ITEM(e) {
}

EVENT_EQUIP_ITEM

function EVENT_EQUIP_ITEM(e) {
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_ITEM_CLICK

function EVENT_ITEM_CLICK(e) {
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_ITEM_CLICK_CAST

function EVENT_ITEM_CLICK_CAST(e) {
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_ITEM_ENTER_ZONE

function EVENT_ITEM_ENTER_ZONE(e) {
}

EVENT_LOOT

function EVENT_LOOT(e) {
    eq.debug("corpse " .. e.corpse);
}

EVENT_SCALE_CALC

function EVENT_SCALE_CALC(e) {
}

EVENT_TIMER

function EVENT_TIMER(e) {
    eq.debug("timer " .. e.timer);
}

EVENT_TIMER_PAUSE

function EVENT_TIMER_PAUSE(e) {
    eq.debug("timer " .. e.timer);
    eq.debug("duration " .. e.duration);
}

EVENT_TIMER_RESUME

function EVENT_TIMER_RESUME(e) {
    eq.debug("timer " .. e.timer);
    eq.debug("duration " .. e.duration);
}

EVENT_TIMER_START

function EVENT_TIMER_START(e) {
    eq.debug("timer " .. e.timer);
    eq.debug("duration " .. e.duration);
}

EVENT_TIMER_STOP

function EVENT_TIMER_STOP(e) {
    eq.debug("timer " .. e.timer);
}

EVENT_UNAUGMENT_ITEM

function EVENT_UNAUGMENT_ITEM(e) {
    eq.debug("aug " .. e.aug);
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_UNEQUIP_ITEM

function EVENT_UNEQUIP_ITEM(e) {
    eq.debug("slot_id " .. e.slot_id);
}

EVENT_WEAPON_PROC

function EVENT_WEAPON_PROC(e) {
    eq.debug("target " .. e.target);
    eq.debug("spell " .. e.spell);
}