Difference between revisions of "ModuleGenerator"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+stub marker; *made everything in code;)
m (Added more config options and slightly altered formating.)
 
Line 4: Line 4:
 
<pre>Module
 
<pre>Module
 
{
 
{
  name = ModuleGenerator
+
name = ModuleGenerator
  isAlwaysActive = true/false
+
isAlwaysActive = true/false
  activateGUIName = <text>
+
requiresAllinputs = true/false
  shutdownGUIName = <text>
+
resourceThreshold = <numerical value>
  INPUT_RESOURCE
+
activateGUIName = <text>
  {
+
shutdownGUIName = <text>
  name = <resource name>
+
INPUT_RESOURCE
  rate = <numerical value>
+
{
  }
+
name = <resource name>
  OUTPUT_RESOURCE
+
rate = <numerical value>
  {    
+
}
  name = <resource name>
+
OUTPUT_RESOURCE
  rate = <numerical value>
+
{    
  }
+
name = <resource name>
 +
rate = <numerical value>
 +
}
 
}</pre>
 
}</pre>

Latest revision as of 23:59, 12 December 2015

This article is a stub. You can help KSP Wiki by expanding it.

Below is an example of ModuleGenerator being used. (Incomplete list of config settings and needs formatting correctly)

Module
{
	name = ModuleGenerator
	isAlwaysActive = true/false
	requiresAllinputs = true/false
	resourceThreshold = <numerical value>
	activateGUIName = <text>
	shutdownGUIName = <text>
	INPUT_RESOURCE
	{
		name = <resource name>
		rate = <numerical value>
	}
	OUTPUT_RESOURCE
	{	  
		name = <resource name>	
		rate = <numerical value>	
	}
}