Jump to content

is there a module / plugin that can check for presence of other part/mod/resources on a craft?


DBowman

Recommended Posts

I thought to make some parts that 'worked together' to produce / consume resources without having them do detailed simulation. The idea was to avoid any of the weird high warp & not active issues, to having to cope with them via 'catchups' or 'background processing'.

Is there some mod/plugin that is like a ModuleGenerator/ModuleResourceConverter/TACGeneric... that can check some prerequisites for for producing?

For example one can easily use MM to create a 'reactor' part to produce as many kW as you like - but really it needs to have adequate radiators. Near Future Electrical looks like it's done a great job of detailed modelling, including overheat damage etc. But that is kind of overpowered for what I intended.

An alternate approach would be to have a resource 'ThermalSink' and some kind of 'ModuleResourceConverter' that 'required' a certain amount to be present in order to produce output but did not consume that resource. Like a CATALYTIC_INPUT vs INPUT_RESOURCE & OUTPUT_RESOURCE. It would be great/interesting if it could check for and require other things; needs photons, temperature range, atmosphere density, gravity/not, ... but just a resource check would be great.

If there isn't something like this does anyone have any suggestions re any existing plugin that would make a good starting point? or lesson as to how this kind of things gets implemented as a plugin?

Link to comment
Share on other sites

Have the same resource in identical quantities on input and output of ModuleResourceConverter. Nothing of resource X gets consumed, but its presence is required to run.

Edited by Crzyrndm
Link to comment
Share on other sites

D'oh - thanks Crzyrndm, I'll try that for sure. My only worry is that high warp / unload & load might mess up and leave 0 of the resource as a boundary/race condition, but I guess I can just make the 'required part' itself generate it's resource also.

I'd still be interested in some existing mod that could be a good start for me to understand how to implement something like this for other requirements like acceleration, pressure, etc.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...