Hello everyone,
the recently released ModTek 0.7.0 has a few nifty new functions. One of these is the possibility to more easily merge and add to .csv and .txt files like itemCollections.
My mod XLRP has several optional submods that require and built upon some of the community-made mech mods, like the new Warhammer and Marauder mods, or the Raven, Archer and Nightstar to name just a few. For the next release of XLRP I wanted to change these submods so they add the respective mech variants to the store system using this new function.
My question is this: How is this actually done? I haven't used any advanced json merges yet, is it done that way? And how and where is the "ShouldAppendText" actually to be used?
Take bloodydoves' Marauder for example. This is what the manifest in the mod.json for my submod looks like:
Then I have the corresponding itemCollections (all vanilla ones so far) with the entries in them.
At first I tried keeping the first line (i.e. itemCollection_Mechs_rare,,,) in there, followed by the actual mech/part entries. However, all this achieved was destroying store functionality and black market access. I then removed the first line, but still no luck.
Can anyone help me out with this and point me in the right direction? Any help is appreciated. Many thanks in advance!
the recently released ModTek 0.7.0 has a few nifty new functions. One of these is the possibility to more easily merge and add to .csv and .txt files like itemCollections.
My mod XLRP has several optional submods that require and built upon some of the community-made mech mods, like the new Warhammer and Marauder mods, or the Raven, Archer and Nightstar to name just a few. For the next release of XLRP I wanted to change these submods so they add the respective mech variants to the store system using this new function.
My question is this: How is this actually done? I haven't used any advanced json merges yet, is it done that way? And how and where is the "ShouldAppendText" actually to be used?
Take bloodydoves' Marauder for example. This is what the manifest in the mod.json for my submod looks like:
Code:
"Manifest": [
{ "Type": "MechDef", "Path": "XLRPMarauder\\" },
{ "Type": "ChassisDef", "Path": "MarauderChassis\\" },
{ "Type": "ItemCollectionDef", "Path": "ItemCollections\\", "ShouldAppendText": true }
]
Then I have the corresponding itemCollections (all vanilla ones so far) with the entries in them.
At first I tried keeping the first line (i.e. itemCollection_Mechs_rare,,,) in there, followed by the actual mech/part entries. However, all this achieved was destroying store functionality and black market access. I then removed the first line, but still no luck.
Can anyone help me out with this and point me in the right direction? Any help is appreciated. Many thanks in advance!