Page 1 of 1

Boutique vs Emporium : What’s the Difference?

PostPosted: Wednesday, 25th March 2020, 09:34
by mogn0308
I need information on the shop suffix like Shoppe, boutique, emporium, etc.
Are they different from others?

Re: Boutique vs Emporium : What’s the Difference?

PostPosted: Wednesday, 25th March 2020, 17:46
by Implojin
Shop suffix doesn't matter for playing DCSS, it's just flavor. Crawl has a roughly 1/4 chance of generating each suffix.

If you find one of those vault-emplaced shops like nicolae's Gozag vault of LOL DONT BE POOR, then you're about to see a themed list of stuff.

shopping.cc , line 1524.

General shops, general antique shops, and distilleries don't get suffixes. It looks like other shops get assigned a suffix based on their map grid location in x+y (using dungeon builder coordinates) modulo the shop suffix array; this should result in a roughly 1/4 chance of each suffix, but the actual shop suffix chance probably varies imperceptibly from that in practice as the dungeon builder has other goals than "be perfectly random". In any case, the suffix only appears to be used as a string descriptor.

Shops *are* given different content based upon how and where the game generated them, internally, but as far as I can tell, the suffix is never checked during this process:
https://github.com/crawl/crawl/blob/master/crawl-ref/source/mapdef.h#L756
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5775
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5676
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5618

None of this is really relevant to gameplay: While playing, you might notice things like "Hey, I recognize this snake-themed vault, that's going to be that one poison shop", or "Hey, shops at deeper dungeon depths tend to have better stuff." It's all pretty basic, non-gameable stuff, although now that I'm skimming over the code I'm wondering if it's more optimal to generate Gozag call shops at the deepest possible absdepth?

Anyway, don't worry about shop suffix, it's irrelevant.

Re: Boutique vs Emporium : What’s the Difference?

PostPosted: Wednesday, 25th March 2020, 20:13
by chequers
I'm wondering if it's more optimal to generate Gozag call shops at the deepest possible absdepth?

It used to be, but now gozag merchant quality scales with XL

Re: Boutique vs Emporium : What’s the Difference?

PostPosted: Wednesday, 25th March 2020, 20:20
by Implojin
chequers wrote:It used to be, but now gozag merchant quality scales with XL

Yeah, I found it, thanks.

https://github.com/crawl/crawl/blob/master/crawl-ref/source/god-abil.cc#L2949

Re: Boutique vs Emporium : What’s the Difference?

PostPosted: Thursday, 26th March 2020, 06:24
by mogn0308
Implojin wrote:Shop suffix doesn't matter for playing DCSS, it's just flavor. Crawl has a roughly 1/4 chance of generating each suffix.

If you find one of those vault-emplaced shops like nicolae's Gozag vault of LOL DONT BE POOR, then you're about to see a themed list of stuff.

shopping.cc , line 1524.

General shops, general antique shops, and distilleries don't get suffixes. It looks like other shops get assigned a suffix based on their map grid location in x+y (using dungeon builder coordinates) modulo the shop suffix array; this should result in a roughly 1/4 chance of each suffix, but the actual shop suffix chance probably varies imperceptibly from that in practice as the dungeon builder has other goals than "be perfectly random". In any case, the suffix only appears to be used as a string descriptor.

Shops *are* given different content based upon how and where the game generated them, internally, but as far as I can tell, the suffix is never checked during this process:
https://github.com/crawl/crawl/blob/master/crawl-ref/source/mapdef.h#L756
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5775
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5676
https://github.com/crawl/crawl/blob/master/crawl-ref/source/dungeon.cc#L5618

None of this is really relevant to gameplay: While playing, you might notice things like "Hey, I recognize this snake-themed vault, that's going to be that one poison shop", or "Hey, shops at deeper dungeon depths tend to have better stuff." It's all pretty basic, non-gameable stuff, although now that I'm skimming over the code I'm wondering if it's more optimal to generate Gozag call shops at the deepest possible absdepth?

Anyway, don't worry about shop suffix, it's irrelevant.





Thank you for helping me. Plus question, does antique effect to shop quality?