shadow cloaks

Timezone: Central Time (US & Canada) (GMT-06:00)
� Previous :: Next �
AuthorMessage
merton
shadow cloaks
Sunday, February 17th, 2008 at 12:30 pm
I tried to stock shadow cloaks in my shop and it told me that i wouldnt want to sell second hand trash. Is this a bug or are they not supposed to be sold in shops?

Dominus
Dungeonmaster
Re: shadow cloaks
Sunday, February 17th, 2008 at 2:02 pm
If you check out the code:
Code:
if(obj->shopValue) {
	print(fd, "Why would you want to sell second hand trash?\n");
	return(0);
}
If the object's shopValue is already set, it means you can't sell it in your shop.

This essentialy means, since you bought the cloak from another shop, you're not allowed to restock it in yours.
Angel Heaven doesn't want me and Hell is afraid I'll take over. Evil

Dominus
Dungeonmaster
Re: shadow cloaks
Sunday, February 17th, 2008 at 9:49 pm
Looks like the shopValue got saved to the database, meaning all new shadow cloaks loaded with a shop value. It's been cleared, so you can put any new ones in a shop.
Angel Heaven doesn't want me and Hell is afraid I'll take over. Evil

Realms ForumQuestionsshadow cloaks