stellaris-mods / ship-power-stations

Ship Power Stations
GNU General Public License v3.0
1 stars 0 forks source link

Compability request #1

Open princejonn opened 6 years ago

princejonn commented 6 years ago

Hi there! Thoroughly enjoying your mods :)

I have gone into the modding scene myself and have found that I can add compability to ship-power-stations if I do it right. However, I also think it would be nice to go to the source and see if you could help me by just perhaps adding my ship sizes to your component_templates?

This is the mod: http://steamcommunity.com/sharedfiles/filedetails/?id=1264676916

I was thinking of adding: util_powah_72 >> pjs_titan pjs_technosphere util_powah_60 >> pjs_battlecruiser pjs_citadel util_powah_36 >> pjs_escort pjs_outpost

Would that be OK? If so - do you want me to do a pull request, or just rather say sizes and have you add them yourselves? :)

folknor commented 6 years ago

Hey,

Just do a pull request that adds a new file like https://github.com/stellaris-mods/ship-power-stations/blob/master/generate/ships/nsc.lua or one of the others in that folder.

{0, 0, 0} is how many small, medium, and large utility slots are present in each ship hull, on average depending on section configuration.

And then add a reference to that file in this table: https://github.com/stellaris-mods/ship-power-stations/blob/master/generate/gen.lua#L41

folknor commented 6 years ago

Or give me those numbers for your ship sizes.

folknor commented 6 years ago

@princejonn Feel free to ask if there's something unclear.

princejonn commented 6 years ago

Hey there @folknor ! Nothing unclear yet. I've just not had the time to look into this. Thanks for the directions though. I'm guessing it's a moot point anyhow, since 2.0 will basically fully adopt the functionality of this MOD :)