Oooh thanks for the info, I could use it realy realy soon like right now ahah
I'm currently working on a new mod, where I add a function to an already existing item. The function I add is an Attachment type, the item doesn't have it in vanilla.
So could this kind of thing work :
scripItem:DoParam("AttachmentType = Holster")
And sorry to ask a lot of question, I'm a total beginner but in which folder in the LUA folder I have to write this ? And I guess I can name the txt file as I want, it's not like I was redeclaring something right ?
To comeback on the base subject and your answer.
As I change the category of all items, I feel like it will be done faster the way I did it instead of yours. Am I write ?
I'll show you how look like a little part of the code.
I've took time first to sort them even if it wasn't necessary but it's clear now and easier for me to naviguate threw and after that I've just copy paste each category in few minutes.
The reason I ask you this question is to now and learn things from it. I've never try modding before and I kinda enjoy do it, I know it's not a complicated code that I did but it was fun haha and I'd like to avoid mistake like this in the future.
Thanks again for your anwser !