![]() |
#1 |
Rookie
Join Date: Feb 2011
Posts: 13
![]() |
Item Generation in Stores
It seems that in more recent versions, non-blackmarket stores carry weaker items until much later in the game.
Is my perception accurate? If so, what is the trigger for better items to start appearing? Is it max depth reached or character level? |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
The stores certainly got nerfed some time back, but it's been a few years since that happened, I think. I believe these days they just always generate items as if they were at level 0, though I could be wrong. I'm reasonably confident that nothing scales directly with player level; one of Angband's design philosophies is that the player is not meant to be the only (or even the most important) adventurer around, and having "external" mechanics that directly cue off of the player's level goes against that.
|
![]() |
![]() |
![]() |
#3 |
Prophet
Join Date: Apr 2008
Posts: 2,826
![]() |
From the source code:
Code:
/* Decide min/max levels */ if (store->sidx == STORE_B_MARKET) { min_level = p_ptr->max_depth + 5; max_level = p_ptr->max_depth + 20; } else { min_level = 1; max_level = STORE_OBJ_LEVEL + MAX(p_ptr->max_depth - 20, 0); } if (min_level > 55) min_level = 55; if (max_level > 70) max_level = 70;
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Apr 2008
Posts: 2,826
![]() |
See the previous code excerpt: stores get better once the player dives past 1000ft.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
Aw geez, really? That's so lame.
![]() A better solution IMO would be to have the stores use a very broad distribution when picking the depth for their items -- something like average level 20, standard distribution 20. Anyway, thanks for the correction, PowerWyrm. |
![]() |
![]() |
![]() |
#6 |
Rookie
Join Date: Feb 2011
Posts: 13
![]() |
OK thanks, that seems to align with my observations
|
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: Jan 2011
Location: Sarf Laaaahdon
Posts: 323
![]() |
I wish there was a Mushroom Emporium.
:-( |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with item generation in vaults on dlvl 99? | flechette | v4 | 18 | November 12, 2011 18:42 |
Item generation suggestion | Timo Pietilä | Development | 58 | June 18, 2010 14:45 |
Item generation in 3.12 versus 3.0x | awldune | Vanilla | 2 | February 19, 2010 20:41 |
item generation | bron | Vanilla | 21 | November 25, 2009 07:55 |
r1415 bug - Item generation | Sirridan | Vanilla | 3 | June 1, 2009 09:23 |