Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • npc_vendor

     NOTE:  This page is auto-generated from the MAGNET DBDocs module,
                 Any changes made directly to this page will be lost when it is regenerated.

    Description of the 'npc_vendor' table for MaNGOSZero

    This table holds the vendor data for all NPCs that sell items. The gold price for each item is in its item template as BuyPrice.

    Table Notes

    This table uses the 'MyISAM' DB Engine

    The Field definitions follow:

    Field Name Field Type Nullable Key Default Value Attributes Notes
    entry mediumint(8) unsigned NO PRI '0'   Creature ID [See creature_template.entry].
    item mediumint(8) unsigned NO PRI '0'   Item ID [See item_template.entry].
    maxcount tinyint(3) unsigned NO '0'   Items available.
    incrtime int(10) unsigned NO '0'   Restoration time, sec.
    condition_id mediumint(8) unsigned NO '0'   Condition ID [See conditions.condition_entry].

    Description of the fields

    entry mediumint(8) unsigned

    ID ofNPC which is a vendor, see item_template.entry.

    item mediumint(8) unsigned

    ID of item, see item_template.entry.

    maxcount tinyint(3) unsigned

    Maximum count of the available item instances. If equal to 0, ulimited supply.

    incrtime int(10) unsigned

    Time interval (sec) at the end of which the limited items are fully restored, i.e. come back in stock.

    condition_id mediumint(8) unsigned

    ID of condition [See conditions.condition_entry] which player must fulfill to see this item in the stock. If equal to 0, unconditionally.

    auto-generated by the getMaNGOS.eu MAGNET dbdocs module

    Edited by Antz

    User Feedback

    Recommended Comments

    There are no comments to display.

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use