Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Commands ➜ shopset

shopset

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Tue 06 Jun 2006 06:06 AM (UTC)

Amended on Thu 22 Jun 2006 03:48 AM (UTC) by Nick Gammon

Message
Command:   shopset
Handler:   do_shopset
Min level: 54
Min posn:  any (dead)
Log:       always

Syntax: shopset <mobile vnum> <field> <value>

-----------------------------------------------
| Fields | Meaning                            |
-----------------------------------------------
| buy#   | Types of items the keeper will buy |
| buy    | Profit on buying items             |
| sell   | Profit on selling items            |
| open   | Hour shop opens                    |
| close  | Hour shop closes                   |
| keeper | Vnum of shop keeper                |
-----------------------------------------------

Lets you set certain stats on a shop.

See MAKESHOP, SHOPSTAT, SHOPS and SHOPVALUES.


SHOPVALUES
Syntax: shopset <mobile vnum> buy# <value>
 
1  - light               21 - pen                41 - rune
2  - scroll              22 - boat               42 - runepouch
3  - wand                23 - corpse             43 - match
4  - staff               24 - corpse_pc          44 - trap
5  - weapon              25 - fountain           45 - map
6  - _fireweapon         26 - pill               46 - portal
7  - _missile            27 - blood              47 - paper
8  - treasure            28 - bloodstain         48 - tinder
9  - armor               29 - scraps             49 - lockpick
10 - potion              30 - pipe               50 - spike
11 - _worn               31 - herbcon            51 - disease
12 - furniture           32 - herb               52 - oil
13 - trash               33 - incense            53 - fuel
14 - _oldtrap            34 - fire               54 - shortbow
15 - container           35 - book               55 - longbow
16 - _note               36 - switch             56 - crossbow
17 - drinkcon            37 - lever              57 - projectile
18 - key                 38 - pullchain          58 - quiver
19 - food                39 - button             59 - shovel
20 - money               40 - dial               60 - salve




Add comments here ...

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


8,517 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.