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

  • npc_vendor_template


    antz
     Share

     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_template' table for MaNGOSOne

    The npc_vendor_template table holds item lists usable for multiple vending creatures.

    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'   The unique identifier for the vending template.
    item mediumint(8) unsigned NO PRI '0'   Template ID of the item.
    maxcount tinyint(3) unsigned NO '0'   The maximum amount of the item a vendor should carry
    incrtime int(10) unsigned NO '0'   How frequently a vendor will restock an item having a maximum count.
    ExtendedCost mediumint(8) unsigned NO '0'    
    condition_id mediumint(8) unsigned NO '0'   This references the 'conditions' tables unique ID for which the entry is valid.

    Description of the fields

    entry mediumint(8) unsigned

    The unique identifier for the vending template. A "creature_template" table references this from its vendor_id column.

    item mediumint(8) unsigned

    The item a vendor should sell. This references the "item_template" tables unique ID.

    maxcount tinyint(3) unsigned

    The maximum amount of the item a vendor should carry. Set to 0 to provide unlimited supplies.

    incrtime int(10) unsigned

    This field decides how frequently a vendor will restock an item having a maximum count. The value is given in seconds, and for limited items, the BuyCount column of the "item_template" table is taken into account when restocking.

    ExtendedCost mediumint(8) unsigned

    condition_id mediumint(8) unsigned

    This references the "conditions" tables unique ID for which the entry is valid.


    auto-generated by the getMaNGOS.eu MAGNET dbdocs module

    Edited by Antz

     Share


    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