Greetings guys my question is, how i can replace a string from another mod so So let me notice. I have mod 1 (My Mod) and the mod 2 (the other mod). I want to have both mods active and in mod 2 is a string that i would have to replaced by mod 1. How i can do this?
with a patch, and set your mod to require the other mod, so the other mod loads first, or set your mods priority to 99 so it loads last
Ok? If i understand, if the mod 2 have an item or object what else and in this is such like this, we named it test.item: Mod 2 | mod/items/generic/testing/test.item { ..... "description" : ".....", "shortdescription" : "...." .... } And i have to do in my mod like this: Mod 1 | mymod/items/generic/testing/test.item.patch [ { "op": "replace", "path": "/description", "value": "my string" }, { "op": "replace", "path": "/shortdescription", "value": "my string" } ] And in mymod.modinfo or _metadata or .metadata i have to write { ... "required" : [ "Mod 2" ], ... } And then i have a replaced string in mod 2 with my string or?
ok and another question how its handled with the _metadata file from the mod 2 how i can add an feature such like "include" or "required" or "priority"?
none of those r needed for mod 2. the required tag forces mod 1 to load after mod 2 no matter the priority. basically mod 2 has priority N and mod 1 has priority N+1
ok but this is not that i mean directly im going further. I have now 3 mods, mod 1 (my mod have replacing things for mod 2), mod 2 (then other mod with the thing that is replaced by mod 1), mod 3 (have things that replaced from mod2) So if i start starbound with these mods, the mod 2 is loading before mod 3 and mod 1, and mod 1 is loading before mod 3. So now i would like to have these loading order: mod 3 mod 2 mod 1 And the mod 1 have the replace things for mod 2 and mod 2 have replace things for mod 3 How i can handle this? If that's too complicated for you, I'll make it easier for you. And a little information about that, i can't edit mod 3!