makeshop

Posted by Nick Gammon on Tue 06 Jun 2006 06:06 AM — 1 posts, 8,636 views.

Australia Forum Administrator #0
Command:   makeshop
Handler:   do_makeshop
Min level: 54
Min posn:  any (dead)
Log:       build

Syntax: makeshop <mobile vnum>

Creates a new shop and assigns it to a mobile.

The levels of the items in the shop are picked randomly based on item type:

--------------------------------------------
|Item Type | Level Range                   |
--------------------------------------------
| default  | 0                             |
| pill     | 0 to 10                       |
| potion   | 0 to 10                       |
| scroll   | value[0] of the scroll object |
| wand     | 10 to 20                      |
| staff    | 15 to 25                      |
| armor    | 5 to 15                       |
| weapon   | 5 to 15                       |
--------------------------------------------

See SHOPSTAT, SHOPSET and SHOPS.




Add comments here ...