Login
User Name:

Password:



Register

Forgot your password?
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
Users Online
CommonCrawl, AhrefsBot, SemrushBot, Majestic-12

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
486
3,766
19,510
575
Zedethar

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » SWR FUSS » custom shop inventories?
Forum Rules | Mark all | Recent Posts

custom shop inventories?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Feb 6, 2010 10:39 pm   
Go to the top of the page
Go to the bottom of the page

jenni
Fledgling
GroupMembers
Posts9
JoinedFeb 6, 2010

 
is it possible to assign a custom inventory to a shopkeeper mob so they'll sell objects you've created?

Post is unread #2 Feb 6, 2010 10:40 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,199
JoinedMar 21, 2006

 
Set the mob as a shopkeeper.
Give them the items you want them to sell.
Instaroom.
Save the area.

Should be good to go.

Post is unread #3 Feb 8, 2010 12:02 am   
Go to the top of the page
Go to the bottom of the page

Andril
Magician
GroupMembers
Posts147
JoinedJun 9, 2009

 
If we're talking about shops created by builders you'll also want to set the inventory flag on any items the shop sells so they don't run out of stock on their regular items. Otherwise you'll have to make sure the mob loads a ton of each object to have a decent number of items in stock.

Post is unread #4 Feb 8, 2010 12:04 am   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,199
JoinedMar 21, 2006

 
Uhm. I don't think you need to set the item as inventory. The code applies it automatically when the item is reset into the shop. And if SWR/SWFotE FUSS aren't, well, then that needs fixed.

Post is unread #5 Feb 8, 2010 12:11 am   
Go to the top of the page
Go to the bottom of the page

Andril
Magician
GroupMembers
Posts147
JoinedJun 9, 2009

 
You are correct sir. They do indeed set it automatically.

Pages:<< prev 1 next >>