cerea1:builders:ztk_init_store
Table of Contents
ztk_init_store.nss
Usage
This script is used in the generic dialog script ztk_merch. For more information how to use that see the documentation of ztk_merch.
What it does
This function will do following things:
- Set the custom tokens 3820-3822 needed by dialog. text_greetings, text_open_shop, and text_no_shopping
- See if the shop is already created and if so, exit. shop_tag
- Create shop, and set the shop parameters shop_resref, shop_gold, shop_max_buy_price, shop_identify_cost.
- Copy some variables from shopkeeper to created shop. fill_time
Related things
cerea1/builders/ztk_init_store.txt · Last modified: 2015/05/03 12:46 by 127.0.0.1