Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let the user look at more "nogen" items in the help menu. #4178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Aliscans
Copy link
Contributor

@Aliscans Aliscans commented Dec 16, 2024

Replace the "nogen" tag with a "deleted" one for "TAG_MAJOR_VERSION = 34" sections of art-data.txt. Both tags mean the item isn't created in the normal way. The "deleted" tag alone stops the help menu from giving details of the item.

Remove the code in extant_unrandart_by_exact_name() which let some (but not all) of the nogen items be looked up.

My hope here is that, if the data is all in art-data.txt, it's more likely to be updated correctly than it would be with two lists in completely different bits of code.

For what it's worth, the artefacts which have nogen but weren't on the list are:

faerie dragon scales (created with the Enchantress)
dreamdust necklace (created by using the dreamshard necklace)
Axe of Woe (Arena of Blood)
amulet of invisibility (Fedhas' Mad Dash)
scarf of invisibility (Fedhas' Mad Dash)

Aliscans added 2 commits December 16, 2024 19:49
Replace the "nogen" tag with a "deleted" one for "TAG_MAJOR_VERSION =
34" sections of art-data.txt. Both tags mean the item isn't created in
the normal way. The "deleted" tag alone stops the help menu from giving
details of the item.

Remove the code in extant_unrandart_by_exact_name() which let some of
the nogen items be looked up.
Add the DELETED flag to the other place where it is needed for the
script to add it to art-data.h.
@Cgettys
Copy link
Contributor

Cgettys commented Jan 20, 2025

Very nice, less places to update seems sane to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants