Chapter 6: Shops
Now this section really isn't hard at all...it is
done within the Mob editor... So turn it on and lets
go....
Step 1.) Medit Vnum
example: medit 8600
make sure that this is the mob that you want to be the
shopkeeper.
step 2.) SHOP HOURS [#Opening] [#Closing]
example: shop hours 1 24
This sets the shops hours. If you want the shop to only be open 1
hour a day it is possible...just
set the time...a 1 24 shop is open 24 hours.
step 3.) SHOP PROFIT [#Buying%] [#Selling%]
example: shop profit 10 100
This shopkeeper would sell things at 100% markup and buy things
at 10% of thier price.
step 4.) SHOP TYPE [#0-4] [Item Type]
example: shop type 0 weapon
This would place the shop to buy weapons. You can set up to 5 of
these. Same flags as object
type. see ? type inside the editor.
That is all there is to it...Make sure that you have the resets
done right... You MUST have loaded
the mob with the items you want it to sell into its inventory.
example: oreset 8600 puff none
This places object 8600 into puff's inventory...and thus if he is
a shopkeeper will sell it.
PETSHOPS
These are done in the same fashion...only one
difference...you DO NOT load the mobs onto the
shopkeeper...you MUST make a room 1 vnum higher than the petshops
room. DO NOT connect
this room to the shop or to any room in the MUD.
So for example if you have a petshop with the vnum of 6400 the
petshop must have a backroom to
keep the pets in...so 6401 would do it...just load the pets into
room 6401 and give the pets a pet flag and you will be
set....Also make sure you flag the room as pet_shop. Otherwise it
won't work. Its as easy as that to make a petshop.
Oooops, I don't want the shop to buy those anymore....
simple just do this step...
step 1.)SHOP DELETE [#0-4]
example: shop delete 0
Its as easy as that...Now you should know everything you need to
know about OLC.