shopkeepers

S

Sporeon

Guest
shopkeepers

Does anyone know how to make a new shopkeeper and then edit his "buy" and "wanted" lists? Seems like a much better way to have new items than cluttering a region with a ton of chests.
 

OldBoy

25,000
Re: shopkeepers

This is how the shops work I believe, someone correct me if I'm wrong.

Example of the shop in bowerstone north:

In the bowerstoneposh.tng a shop is spawned; BUILDING_BS_NORTH_POSH_SHOP_01

This building has an entry under BUILDING in the game.bin

In the CDefs of the BUILDING_BS_NORTH_POSH_SHOP_01 there's a CShopDef.

The CShopDef controls the type of shop, the creature that belongs to it (the vendor), and what it has in stock.
So if you would create this yourself, it should possible.
You might not even need the shop; make a new CShopDef -> create a new CREATURE entry (or edit a creature that's not used in the game) -> and add your new CShopDef to the creature's CDefs -> spawn the creature...
 
S

Sporeon

Guest
Re: shopkeepers

That sounds like it would be correct. And better than spawning chests all over the place. I also wonder if anyone has managed to put items in the water that have to be fished out.
 
R

Rhadiel

Guest
Re: shopkeepers

Sporeon;112005 said:
That sounds like it would be correct. And better than spawning chests all over the place. I also wonder if anyone has managed to put items in the water that have to be fished out.
that sounds neat...but idk y ud have to do that if u can just spawn stuff lol.and i dont like fishing :P
 

OldBoy

25,000
Re: shopkeepers

Sporeon;112005 said:
That sounds like it would be correct. And better than spawning chests all over the place.
Yeah sounds pretty simple, doesn't it... ;)

Sporeon;112005 said:
I also wonder if anyone has managed to put items in the water that have to be fished out.
Yes.
 
F

fablefreak323

Guest
Re: shopkeepers

Hey Old Boy, this is completely off topic, but how did you get the title of Modder?
 
H

HodgePodge

Guest
Re: shopkeepers

Yes, if you submit enough mods, and help out enough here and on the mod site, you get the title of modder ;)
 
Top