DanStaal / KPBStoMKS

MKS Compatbability Patches and addons for Kerbal Planetary Base Systems.
MIT License
5 stars 2 forks source link

Carbon Extractor #19

Closed DanStaal closed 7 years ago

DanStaal commented 7 years ago

Config update needed.

Habitation/Recycling Info:

Part PartName Mass Volume Seats Months Multiplier EC/s Recycler % Spreadsheet Approved?
Carbon Extractor KKAOSS_LS_container_carbon_extractor 0.7 ? 0 n/a n/a n/a n/a no
Merkov commented 7 years ago

Do we want to include the Carbon Extractor? I had put it in italics originally because I didn't think it really fit with USI-LS. I suppose, if it has a different model than all of the other parts so far, we could revive that idea I had (originally with the air filter) of making a really low efficiency, high kerbal count recycler. Honestly, though, since we have one regular recycler container plus one higher efficiency recycler (in the form of the purifier) I don't really know if another container-form factor recycler is needed.

DanStaal commented 7 years ago

I don't know if it's needed - but I like having options. And since it's a different model than anything else, I figure we might as well use it.

As per my note in the recycler issue, I'm thinking we use the 40/4 recycler for this one, maybe drop the mass to 0.5? (We're basically making a new part using the model, instead of modifying an existing part.)

Merkov commented 7 years ago

That sounds good to me. Should we also possibly rename the part, then? The only reason I'm thinking of that is because the name "Carbon Extractor" is far more... specific than any other recycler. I don't really have any good names to suggest, but I thought I would bring it up. If I'm reading Nils' configs properly, it looks like he write configs for each of his LS-specific parts individually, (that is, per part) then puts the code for each kind of LS mod in those configs. Right now, the Carbon Extractor isn't set to be in game with USI-LS. I'm wondering: would it make sense to make a fork of KPBS, make commits to it as we go, then make a pull request when we're done?

DanStaal commented 7 years ago

I was actually thinking of calling it an air purifier or air cycler. (I don't want to call it an air filter, because that could get confusing for support.)

In theory we probably should make a fork - but it'd mess up my workflow. ;) I'm essentially keeping the 'USI-LS' folder as limited version of his LifeSupport folder, with the thought being that it should merge in fairly clean.

Merkov commented 7 years ago

Yeah, I can absolutely see it messing up workflow. So when the time comes, do you want break up our USI-LS file into his part configs, or would you make a pull request removing USI-LS patches from the individual parts and put in our USI_LS file as one patch?

DanStaal commented 7 years ago

The KPBS_MM_USI_LS.cfg file is a direct copy of one of his configs. (It's in ModSupport/Configs/LifeSupport.) We'll merge the changes. It only covers life support on parts that exist without life support mods installed.

The stand-alone files will need to be merged into the individual parts as needed.

Merkov commented 7 years ago

Oh, okay. Man, I am having a hard time following KPBS's file structure. So that's why you've created the extra file for the Algae Container; it will have to be manually merged with the KPBS Algae Container config file.

Merkov commented 7 years ago

Okay, I made a Carbon Extractor file. Let me know what you think.

DanStaal commented 7 years ago

Made a few minor tweaks. (Config files need to have the extension .cfg...) But looks decent.

I suspect the techrequired line isn't going to work, but we can try it. ;)

Merkov commented 7 years ago

It actually seems to have worked. I added it into a fresh save without CTT and it was in the survivability node. Added CTT, and it was put into the recycling node. I promise I knew that it needed the .cfg extension. I'm just dumb. I have to say, that's a nifty looking model. I'll be glad to have it included.

DanStaal commented 7 years ago

Did it actually have a recycler module? (In my test load it didn't.)

Also, for some reason I'm getting the same model as the recycler. Hmm.

Merkov commented 7 years ago

I actually forgot to look for the recycling module. I did have a different model, though.

What I did was copy the text config I wrote and pasted it at the end of Nils' config. I also added a |USILifeSupport to the :NEEDS at the beginning of the config, since by default the Carbon Exractor doesn't appear with USI-LS. The model is similar to the recycler, but definitely different, especially from the side.

Merkov commented 7 years ago

I just realized that I should probably post the ENTIRE config file. If Nils updates any part of the config before we release, we'll have to deal with that. In a game without CTT, you should see both the Recycler and the Carbon Extractor (renamed to the Air Refresher) in the survivability tech node. I can see the module in the right click menu from there.

DanStaal commented 7 years ago

I have it as a separate part - a new config file.

Merkov commented 7 years ago

Oh! That looks like a much cleaner way to do things.

DanStaal commented 7 years ago

Heh. That's really the way Nils does things anyway - If it's got a different name, it's a separate config - even if it's sharing the model.

DanStaal commented 7 years ago

I'm thinking we may want to move this one to Basic Science - a very early tier recycler. Of course, it's not much use until the racks come later...

Merkov commented 7 years ago

Having it early tier sounds good. I can't remember when you get the first racks.

DanStaal commented 7 years ago

Hmm. I'm not actually seeing this at all with our current configs.

DanStaal commented 7 years ago

Ok, found and fixed the issue with it not showing up. Looks to be working now.