Login
User Name:

Password:



Register

Forgot your password?
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
AFKMud 2.5.1
Jan 17, 2025 2:22 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, Bing, Amazonbot, Bytespider, Google, AhrefsBot

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,722
591
TracySpencer

» 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 >>