Difference between revisions of "shop random"
Jump to navigation
Jump to search
(Created page with '; shop_random [<boolean flag>] : Randomizes the order of your shop items. Category:config.txt') |
m (Conversion script moved page Shop random to shop random: Converting page titles to lowercase) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ; shop_random [< | + | ; shop_random <flag> |
− | : Randomizes the order of your shop items. | + | ; buyerShop_random [<flag>] |
+ | : Randomizes the order of items in your [[shop.txt|shop]] or [[buyer_shop.txt|buyer shop]]. | ||
+ | |||
+ | |||
+ | {|border="1" cellpadding="2" cellspacing="1" | ||
+ | |- style=background-color:#F9F9F9; | ||
+ | !Value | ||
+ | !Description | ||
+ | |- | ||
+ | |align=center|0 | ||
+ | |Disables. | ||
+ | |- | ||
+ | |align=center|1 | ||
+ | |Picks items to be sold and then shuffle their order | ||
+ | |- | ||
+ | |align=center|2 | ||
+ | |Shuffles shop.txt (virtually, not the actual file) and then picks the items to be sold | ||
+ | |} | ||
+ | |||
+ | == Notes == | ||
+ | * The difference between flags 1 and 2 arises when [[shop.txt]] or [[buyer_shop.txt]] contains more items than we're able to sell at once: | ||
+ | ** "_random 1" will always pick the shop items as they're listed (and then shuffle them); | ||
+ | ** "_random 2" will shuffle the item list before picking the items that will be sold, therefore different items might be picked each time we open shop | ||
+ | |||
+ | |||
[[Category:config.txt]] | [[Category:config.txt]] | ||
+ | [[Category:Vending]] |
Latest revision as of 22:34, 26 April 2021
- shop_random <flag>
- buyerShop_random [<flag>]
- Randomizes the order of items in your shop or buyer shop.
Value | Description |
---|---|
0 | Disables. |
1 | Picks items to be sold and then shuffle their order |
2 | Shuffles shop.txt (virtually, not the actual file) and then picks the items to be sold |
Notes
- The difference between flags 1 and 2 arises when shop.txt or buyer_shop.txt contains more items than we're able to sell at once:
- "_random 1" will always pick the shop items as they're listed (and then shuffle them);
- "_random 2" will shuffle the item list before picking the items that will be sold, therefore different items might be picked each time we open shop