What's the easiest/best way to keep items from showing up in stores?

正在查看此主题的用户

LCJr

Knight
OK if I want an item to NOT show up in stores what's the best way to do it?

Delete the itp_merchandise tag?  Change it to itp_unique?  Set abundance to 0?
 
the unique tag causes problems.

What problems?

And wouldn't an item with no merchandise tag still be lootable? Or will setting abundance to 0 prevent that?
 
An item with no merchandise tag will still be lootable. Do you want the item just not in stores, or also not lootable? See fisheye's post above.
 
In the triggers file, when renewing merchandise and passing it out to merchants, set probability of the goods you don't want to zero, e.g. if you don't want itm_gordon_brown, then:

[set_item_probability_in_merchandise, "itm_gordon_brown", 0],

This has to be set after all other probabilities are set (so as not to renew).
 
Leaving out itp_merchandise has exactly the same effect and does not require a separate line for each item...
 
fisheye 说:
Leaving out itp_merchandise has exactly the same effect and does not require a separate line for each item...

True. 


The advantage of using probability (ideally via a script) is that you can tailor different goods to different merchant types, in case you want those goods to show up in some merchants' inventories and not in others. But I guess that's not what the original question was.  :oops:
 
Well you make an excellent point now that you elaborate :smile:

More specifically you can make some items show up in some merchants and be really rare in others. Khergit gear be more common in Tulga and not available in Tihr, for example.
 
To do that, go the othe way. Set everything to zero, not to 100. Then set the things you do want to 100. A million times cleaner.
 
后退
顶部 底部