Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 18, 2013, 22:48   #1
Bombadil
Rookie
 
Join Date: Feb 2011
Posts: 13
Bombadil is on a distinguished road
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?
Bombadil is offline   Reply With Quote
Old February 19, 2013, 01:45   #2
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,024
Derakon is on a distinguished road
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.
Derakon is offline   Reply With Quote
Old February 19, 2013, 13:14   #3
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,826
PowerWyrm is on a distinguished road
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;
So items in normal stores increase in quality as the player dives deeper. Once the character reaches dlvl 90, you can get level 70 items in normal stores, which means a lot more chances to get ego items.
__________________
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!
PowerWyrm is offline   Reply With Quote
Old February 19, 2013, 13:15   #4
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,826
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Bombadil View Post
If so, what is the trigger for better items to start appearing? Is it max depth reached or character level?
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!
PowerWyrm is offline   Reply With Quote
Old February 19, 2013, 16:14   #5
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,024
Derakon is on a distinguished road
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.
Derakon is offline   Reply With Quote
Old February 19, 2013, 21:53   #6
Bombadil
Rookie
 
Join Date: Feb 2011
Posts: 13
Bombadil is on a distinguished road
OK thanks, that seems to align with my observations
Bombadil is offline   Reply With Quote
Old February 20, 2013, 07:12   #7
scud
Swordsman
 
Join Date: Jan 2011
Location: Sarf Laaaahdon
Posts: 323
scud is on a distinguished road
I wish there was a Mushroom Emporium.

:-(
scud is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 18:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.