Jump to content

Add items to json tags based on the item's registry name


Akisephila

Recommended Posts

How do I add items to json tags based on the item's registry name? I am attempting to categorize all possible weapons based on name, including modded ones, by tagging them based on keywords in their registry (Sword is "Sword", Pickaxe is "Pick", Axe is "Axe" but excludes "Pick", etc.)

Link to comment
Share on other sites

Trying to limit players to using a weapon type of their choice (or having their chosen weapon type simply gain a power boost based on config), and I wanted to add items to json tags based on registry name so that it would be compatible with every mod that adds weapons with those keywords, without the need to manually add things to the json tags.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.