You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Database:Spawns"
| Line 13: | Line 13: | ||
=== Command Fields === | === Command Fields === | ||
| − | * command_primary = The primary command of the NPC, see the | + | * command_primary = The primary entity command of the NPC, see the entity_commands table for more information. EG: 9 may = bank |
| − | * command_secondary = The secondary command of the NPC, see the | + | * command_secondary = The secondary entity command of the NPC, see the entity_commands table for more information. EG: 9 may = bank |
=== Merchant Fields === | === Merchant Fields === | ||
Revision as of 08:45, 24 September 2009
Contents
About
Please fill more information in here as you find it
Table Breakdown
The following lists how fields function in the database
Generic Spawn Fields
- name = The name of the spawn
Command Fields
- command_primary = The primary entity command of the NPC, see the entity_commands table for more information. EG: 9 may = bank
- command_secondary = The secondary entity command of the NPC, see the entity_commands table for more information. EG: 9 may = bank
Merchant Fields
- merchant_id = The merchant list id
- merchant_type = (1 - no buy), (2 - no buy back), (3 - spells), (4 - crafting)
Related tables
merchants
- merchant_id = the merchant_id for your table
- inventory_id = the inventory the merchant list will show (see merchant_inventory)
- description = the description of the merchant list
merchant_inventory
- inventory_id = the inventory_id to place the item in (see merchants/inventory_id)
- item_id = the id of the item to sell
- quantity = the amount of item to sell