UnReal World forums

UnReal World => Suggestions => Topic started by: Roheline on November 04, 2020, 11:39:14 PM

Title: Naming:First Word Tag Please for Modding
Post by: Roheline on November 04, 2020, 11:39:14 PM
TL;DR:
I'm able to mostly accomplish what I want with modding with the [naming:last word] tag but there are times the naming would be a lot less awkward and allow for more precise modding if a [naming:first word] tag.



For example, if I want to be able to make a single fiber craft "Weave wool cloth" I can have the game label my cloth "Green wool cloth" only if I named the yarn "Wool yarn dyed green" so that "green" is the last word. Otherwise I'd have to have 8 different crafts each calling for a specific starting material "Green cloth" from "Green yarn", "Blue cloth" from "Blue yarn" etc, and if I then wanted to make clothing the menu would get completely out of control for 15 different clothing options (shirt, cloak, apron etc) times however many colors I wished to represent in my dyeing mod.

If there were a [naming:first word] tag I could streamline it to only a few menu options where the color tag gets carried through the process and I still get the fun customization I'm working on. So "blue wool yarn" could get processed through a single weave craft into "blue wool cloth" through a single "Make a shirt" craft into "blue wool shirt" each time renaming the previous item into the next one based on the first word.
Title: Re: Naming:First Word Tag Please for Modding
Post by: Buoidda on December 08, 2020, 09:28:49 AM
Please  :D


Here's a more complex suggestion:
https://www.unrealworld.fi/forums/index.php?topic=5258.msg12281#msg12281 (https://www.unrealworld.fi/forums/index.php?topic=5258.msg12281#msg12281)

Although just the first word-tag would suffice to me in most cases.
Title: Re: Naming:First Word Tag Please for Modding
Post by: Sami on December 26, 2020, 05:59:38 PM
I'm able to mostly accomplish what I want with modding with the [naming:last word] tag but there are times the naming would be a lot less awkward and allow for more precise modding if a [naming:first word] tag.

We understand there are many crafting syntax ideas which can come up in modding, but in general we tweak and enchance the syntax foremostly based on the game’s need and the modding possibilities then follow. This sounds like a simple thing to add, but sometimes weird setbacks can be met on the code level. However, I’ll take a look at the code and explore the options.