Same category

I would like to gather some of my mods in a single category But I get one category per mod, even if they are identical (copy-paste) How to do it? CDO?
No description
Solution:
Then you have to edit your mod's uplugin (can be done via Alpakit's Edit button) and you'd add another entry to the dependencies, referring to the new mod you just created
Jump to solution
25 Replies
Rex
Rex•2w ago
You would need to have the category in a common place, e.g. in the cat that's in front of my screen right now a dependency mod
Jean Michel
Jean MichelOP•2w ago
"a dependency mod" ! What is it?
Rex
Rex•2w ago
Another mod, which your mods depend on (since they would be using that category) At its simplest, your dependency mod only needs to have the category asset (and the icon, if it's a custom one) You know how your mods depend on SML?
Jean Michel
Jean MichelOP•2w ago
I have no idea how to achieve this!
Rex
Rex•2w ago
Just make a new mod, move one of the category assets in there and delete the rest (replacing references to the one you just moved)
Solution
Rex
Rex•2w ago
Then you have to edit your mod's uplugin (can be done via Alpakit's Edit button) and you'd add another entry to the dependencies, referring to the new mod you just created
Rex
Rex•2w ago
(do not do this step to the new mod you just created, it should not depend on itself)
Jean Michel
Jean MichelOP•2w ago
There ?
No description
Rex
Rex•2w ago
Doing this and Alpakitting all the affected mods should get you the result you want, but you still need to set up dependencies so that it works for other people
Jean Michel
Jean MichelOP•2w ago
What happens if the player only uses one of the mods?
Rex
Rex•2w ago
Click on the + sign to the right of "1 array elements" Setting up the dependency ensures they will also have to install the dependency mod, so no problem there Example of a dependency mod: https://ficsit.app/mod/MarcioCommonLibs
Jean Michel
Jean MichelOP•2w ago
So to summarize, I create an empty mod, with just the category and its icon? But you still need a Game World + Schematics, right?
Rex
Rex•2w ago
This is where Marcio (a modder) puts code and stuff meant to be reused across several of their mods Oh, that dependency mod doesn't need any mod modules nor schematics 😄
Jean Michel
Jean MichelOP•2w ago
OK thanks I'm studying Marcio's mod
Rex
Rex•2w ago
By itself, the dependency mod has no meaningful effect (it adds a category, but nothing uses that category) No need to study it in lots of detail, it's probably quite complex on the inside
Jean Michel
Jean MichelOP•2w ago
Rex
Rex•2w ago
You will likely notice that most of Marcio's mods depend on MarcioCommonLibs. That's what it boils down to (dependencies)
Rex
Rex•2w ago
There's quite a few modders who have their own "common stuff" dependency mod. It's a great way to avoid having copies of things all over
Jean Michel
Jean MichelOP•2w ago
Yes I saw, I was going to send you my screen capture
Rex
Rex•2w ago
Price? 😄
Jean Michel
Jean MichelOP•2w ago
screen capture, sorry
Rex
Rex•2w ago
Oh, lol
Jean Michel
Jean MichelOP•2w ago
Typo in translator I am not perfectly bilingual
Jean Michel
Jean MichelOP•2w ago
Thanks for your support
No description

Did you find this page helpful?