Coder Social home page Coder Social logo

Comments (1)

arbsoup avatar arbsoup commented on September 22, 2024

I've been customizing my own install and found that System Heat seems to have an unusual resource input/output scheme that I haven't been able to write exponents for.

The general form in the case of the reactor module is:

{
	name = ModuleSystemHeatFissionReactor
	[...]
	INPUT_RESOURCE
	{
		ResourceName = EnrichedUranium
		Ratio = [...]
		FlowMode = NO_FLOW
	}
	OUTPUT_RESOURCE
	{
		ResourceName = DepletedFuel
		Ratio = [...]
		DumpExcess = false
		FlowMode = NO_FLOW
	}
}

with Ratio being some decimal number that determines fuel consumption:

https://github.com/post-kerbin-mining-corporation/SystemHeat/blob/d2ee2872720bae7469261d67445649795baf7119/SystemHeat/SystemHeat/Modules/ModuleSystemHeatFissionReactor.cs#L835-L837

The trouble is that I can't seem to select Ratio inside the INPUT_RESOURCE and OUTPUT_RESOURCE blocks. Using the normal selection method for INPUT_RESOURCE/OUTPUT_RESOURCE, but selecting Ratio instead of "rate", should require something like this:

TWEAKSCALEEXPONENTS:NEEDS[SystemHeat,TweakScale]
{
	name = ModuleSystemHeatFissionReactor
	inputResources
	{
		Ratio = 3
	}
}

But this does not affect fuel consumption and does not even produce any note in the log. Using INPUT_RESOURCE and such directly throws this in the log when rescaling:

[TweakScale] WARNING: No valid member found for INPUT_RESOURCE in ModuleSystemHeatFissionReactor for reactor-375-2

I've been able to modify other variables in that module, like the ElectricalGeneration curve, but not these. Is this an actual issue with TweakScale or am I just missing something obvious?

from companion_frameworks.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.