26 Aug, 2009, Terraco wrote in the 1st comment:
Votes: 0
Anyone have a link to how-to on shops? I cant really figure out the reset and why it wont show the info untill you reset the code or shutdown the mud and start it back up.
26 Aug, 2009, Ssolvarain wrote in the 2nd comment:
Votes: 0
reset (resetNumber) obj (objVnum) none
For example:
reset 2 obj 9999 none

The items must be the first ones on the list, after the mob's reset itself. So it will look something like this when it's set right:

[ 1] M[ 4601] item shopkeep in room             R[ 4619]  1- 1 The Mideel Item 
[ 2] O[ 214] potion stock in the inventory of S[ 4601] item shopkeeper


A "purge" followed but a "redit reset" and you should be set.

Unless I've completely missed what you were asking :P


(Of secondary and possibly unnecessary note, you should never reset items from one area into another, unless you've set it up to where it can be done without crashing the mud due to load error.)
26 Aug, 2009, Sandi wrote in the 3rd comment:
Votes: 0
In stock ROM, shop resets look like this:

M 0 8057 1 8014 1      * Mob: #8057 the hedge witch => #8014 Between the Hedges
G 1 8008 1 * – Give: #8008 an uplifting potion
G 1 8050 1 * – Give: #8050 a perceptive potion


You can use items from any area as long as your new area goes on the end of the area.lst. It's really pretty simple.
26 Aug, 2009, Ssolvarain wrote in the 4th comment:
Votes: 0
How did people ever read that?! It's so… sparse.
26 Aug, 2009, Sandi wrote in the 5th comment:
Votes: 0
That's why it's called "code". :)

Remember, back then, characters were at a premium.
26 Aug, 2009, Ssolvarain wrote in the 6th comment:
Votes: 0
I've tried your "walked uphill through a blizzard" old-style building without OLC. I pity you folks :P
26 Aug, 2009, Terraco wrote in the 7th comment:
Votes: 0
I do believe my question was misunderstood. I was wondering if anyone can tell me site where it breaks down the reset so I can properly add it in typing reset 1 obj <vnum> s <vnum> doesn't work. I don't know area file code, I have OLC, so I ignore it unless I have an error in my area files lol. I would look at other areas for an example.. but I no longer have a single stock area left lol. Anyways thanx in advance.
26 Aug, 2009, Ssolvarain wrote in the 8th comment:
Votes: 0
I just told you how to reset items into a shop in ROM…
26 Aug, 2009, Sandi wrote in the 9th comment:
Votes: 0
Ssolvarain said:
I've tried your "walked uphill through a blizzard" old-style building without OLC. I pity you folks :P

Don't pity us, we get to use regular expressions and perl scripts!


Terraco, wish I could help, but I'll have to leave you to the mercy of this guy without snowshoes. :wink:
0.0/9