Shops Block

From The Final Challenge Wiki
Revision as of 13:34, 5 October 2012 by Cordir (talk | contribs) (Shops Block)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The block start with the string "#SHOPS" without quotes, followed by one or more shop records, and ending with the string "0" without quotes.


This is an example of a shops block:

#SHOPS 
shop 1: see syntax for a shop record for layout 
shop 2: see syntax for a shop record for layout 
shop 3: see syntax for a shop record for layout 
. 
. 
. 
0 

Example:


#SHOPS
2782  9 14 0 0 0  100 100  6 23  1 * Mereth
2784  30 27 9 14 12  100 100  10 20  1 * Mistress Valanya
2786  19 11 0 0 0  100 100  8 18  1 * Jarettir
0

In this example: Shopkeeper #2781 - Mereth
1: Buy Type: Armor
2: buy Type: Animal Armor
3: Buy Type: None
4: Buy Type: None
5: Buy Type: None
6: Open Hour: 6
7: Close Hour: 23
8: Race: Dwarf


Shopkeeper #2784 - Mistress Valanya
1: Buy Type: Jewelry
2: Buy Type: Decoration
3: Buy Type: Armor
4: Buy Type: Animal Armor
5: Buy Type: Furniture
6: Open Hour: 10
7: Close Hour: 20
8: Race: Dwarf