|
![]() |
|
Thread Tools | Display Modes |
![]() |
#1 | ||
Knight
Join Date: Mar 2015
Posts: 935
![]() |
![]()
Hiho!
PWMA player there ![]() I've started PWMA server and trying to customize it. Customization are made via vanilla gamedata, so maybe someone would be able to help me to understanding this feature: C:\games\PWMAngband\lib\gamedata\store.txt --- # slots: min : max (number of 'normal' slots to keep stocked) How does 'slots' work? I've tried to add more items to '1' store and reassigned slots so they would appear more often (from slots:0:4 to 6:18) # General store store:1:General Store owner:5000:Bilbo the Friendly (Hobbit) owner:10000:Rincewind the Chicken (Human) owner:20000:Snafu the Midget (Gnome) owner:30000:Lyar-el the Comely (Elf) slots:6:18 turnover:2 always:cloak:Cloak always:food:Ration of Food always:light:Wooden Torch always:flask:Flask of Oil always:digger:Shovel always:rock:Rock always:shot:Iron Shot always:arrow:Arrow always:bolt:Bolt always:light:Lantern normal:food:Pint of Fine Wine normal:food:Slime Mold normal:food:Flask of Whisky normal:food:Hard Biscuit normal:food:Pint of Fine Ale normal:mushroom:Stoneskin normal ![]() normal:digger:Pick normal ![]() buy:light buy:food buy:mushroom buy:flask buy:digger buy:crop buy:horn ------------------- after some time I had an error: Quote:
Quote:
So I suppose it's because my mistake with slots; I've changed it to slots:1:5 to be save. But still I'm not sure that I get it clearly: # slots: min : max (number of 'normal' slots to keep stocked) Is it max amount of 'normal' items which store has to have so new 'normal' items wouldn't be generated? Or maybe the problem appeared because I moved 'pick' to 'normal' from 'always' and it generated several Pick of Digging and overflow store list?
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
||
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,319
Donated: $60
![]() ![]() |
The maximum number of slots is 24 (although you can change that in constants.txt). You have 10 always items, so you don't want to set the max normal slots to more than 14. I think what happened is the store had things in more than 14 normal slots, and then there wasn't a slot free to fill an always slot.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Mar 2015
Posts: 935
![]() |
![]()
Thank you very much for an explanation!
![]()
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
3.5 dev bug: quiver slots not showing in inventory | Nomad | Vanilla | 2 | August 1, 2013 04:30 |
Advice needed for first max stat charachter | serybuff | Vanilla | 10 | January 15, 2012 18:29 |
Bug report - negative min values in ego_item.txt | jens | Development | 5 | June 19, 2011 12:30 |
Thinking about weapon slots. | ClaytonAguiar | Vanilla | 15 | May 25, 2010 17:46 |
Quiver uses backpack slots like in NPP/S | d_m | Vanilla | 5 | December 12, 2009 21:12 |