Shop Record

From The Final Challenge Wiki
Jump to navigation Jump to search

Each mob designated as a shopkeeper will get an information line in the area section on shops. A shopkeeper information line is laid out as:


A: This is the vnum of the mob who is being identified as a shopkeeper.

B-F: These are the item types the mob will BUY. If a value is not used, enter a 0 in the field.

  • Note: A mob will SELL whatever he has in inventory as given to him by "The Give Reset," things he has bought, or things any character has given him.

G: Set this to 100. Don't ask why, just do it.

H: Set this to 100. Don't ask why, just do it.

I: This is the hour the mob opens for business, 0 to 23.

J: This is the hour the mob closes up business, 0 to 23.

K: This is the mobs race number from the flag list. To those of his race, he gives a price break. To those of a different race, he jacks up the price. Use -1 to have the price break scheme ignored.

L: This is a space for a comment, usually containing the mob's name.

A sample shop record follows:

4710 5 0 0 0 0 100 100 6 20 9 This makes Herman a shop who will buy weapons.