• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Sykriss

Recruit
8 Badges
Jan 31, 2015
8
1
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • Teleglitch: Die More Edition
  • Cities: Skylines
  • BATTLETECH
  • BATTLETECH: Flashpoint
Thread title. I've figured out how to get modded items to show up in the stores, but my distribution tables are heavily limited by having to use the vanilla itemComponent lists for everything. I have tried adding new itemComponent entries to versionManifest and it doesn't seem like they are being loaded. If anyone has any insight to this, it would be greatly appreciated!
 
Also... I see you didn't mention adding a new collection to the shop entry for the system. That's the starting point for everything that happens, so if you make itemCollection_my_1337_loot, it won't be in any of the other lists and won't be included in any shops unless you specifically add it to them.
 
I figured it out. Just use the manifest type "ItemCollectionDef" within your mod.json and viola. It appears ModTek already had/has support for .csv files.
Well, ModTek doesn't need to do anything with the contents of the files that get added into the game, so it doesn't care what type of file it is. So it's not exactly that is has support for .csv files so much as that it ignores the file type completely for this purpose. (Though it probably does understand the format to some degree since there are likely parts of the code that need to deal with the version manifest file.)

Presumably the ItemCollectionDef identifier is exactly what you'd need to mark it as if editing the VersionManifest.csv file yourself.
 
Well, that makes it easier :)

I am guessing that new itemColelctions could be added to the DB this way as well? And having the originals just swap locations, rather than posting them to the DB?