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

New Item Template insertion #229

Open
Syrchalis opened this issue Sep 23, 2023 · 0 comments
Open

New Item Template insertion #229

Syrchalis opened this issue Sep 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Syrchalis
Copy link

Syrchalis commented Sep 23, 2023

I was wondering if it was possible to somehow implement a sort of "item template" automation. What mainly bothers me is all the copy-paste linking of the rootTemplate, the armor.txt and the loca file.

Basically, with one button press:

  • Add a new RootTemplate with newly generated handles and UUID and a custom name you filled in
  • Append an entry in the armor.txt with the UUID already filled in and the same custom name
  • Append two entries in the loca file with the handles (description and name)

Optionally:

  • Have an icon browser with the item icons (only item icons is enough)
  • Automatically fill in the icon name based on the selected icon and an associated parentTemplate ID (most/all icons have one in the items.json list)

Implementation suggestions:

  • For an easy implementation, require picking the needed files manually
  • For a "better" implementation, require picking a folder (= the folder you would drop into multitool for .pak-ing) with the multitool finding the files (if they are in the correct folder structure) automatically and generating the required folders and file if they don't exist
@ShinyHobo ShinyHobo added the enhancement New feature or request label Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants