Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed some dumplogs (e.g. mine and ShivanHunter's) weren't very accurate about amulet materials when listing valuables at the end of the file. For instance, my
blessed mithril amulet of unchanging
became1 gold amulet of unchanging
. This patch keeps track of amulet type and material separately to fix that. (Downside: instead of8 amulets of life saving
(!), ShivanHunter would have had3 silver amulets of life saving, 2 copper amulets of life saving, 2 amulets of life saving, 1 gold amulet of life saving
-- a bit more of a mouthful.)This patch also changes the price of the amulets based on their materials. Instead of all being worth 150zm, their value is scaled up by the matprices from shk.c (so silver amulets are worth 450zm, for example).