<commit_before>// ============================================================================
// Use Monoprop as eva propellant, and set the initial amount to zero
// ============================================================================

@PART[kerbalEVA,kerbalEVAfemale]:FOR[Kerbalism]
{
  @MODULE[KerbalEVA]
  {
    @propellantResourceName = MonoPropellant
  }

  @RESOURCE[EVA?Propellant]
  {
    @name = MonoPropellant
    @amount = 0
    @maxAmount = 5
  }
}


// ============================================================================
// Replace readings with our own telemetry providers
// ============================================================================

@PART[sensorThermometer]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = temperature
  }
}

@PART[sensorBarometer]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = pressure
  }
}

@PART[sensorGravimeter]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = gravioli
  }
}


// ============================================================================
// Remove solar panel temperature curves (required for coherent background sim)
// ============================================================================

@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[Kerbalism]
{
  @MODULE[ModuleDeployableSolarPanel]
  {
    %temperatureEfficCurve
    {
      key = 0.0 1.0
    }
  }
}


// ============================================================================
// Probe hibernation removal is GO
// ============================================================================

@PART[*]:HAS[@MODULE[ModuleCommand]]:FOR[Kerbalism]
{
  @MODULE[ModuleCommand]
  {
    %hasHibernation = false
  }
}


// ============================================================================
// Enable/disable parts automatically
// ============================================================================

@PART[kerbalism-activeshield]:NEEDS[FeatureRadiation]      { %tags = _kerbalism }
@PART[kerbalism-gravityring]:NEEDS[FeatureComfort]         { %tags = _kerbalism }
@PART[kerbalism-greenhouse]:HAS[@MODULE[*]]:FINAL          { %tags = _kerbalism }
@PART[kerbalism-chemicalplant]:HAS[@MODULE[*]]:FINAL       { %tags = _kerbalism }
@PART[kerbalism-container-*]:HAS[@RESOURCE[*]]:FINAL       { %tags = _kerbalism }
@PART[kerbalism-container-*]:HAS[@MODULE[*]]:FINAL         { %tags = _kerbalism }
@PART[kerbalism-geigercounter]:NEEDS[FeatureRadiation]     { %category = Science }
@PART[kerbalism-antenna]:NEEDS[FeatureSignal]              { %category = Communication }


// ============================================================================
// Avoid some harmless warning during part loading
// ============================================================================
@PART[kerbalism-container-*]:FINAL { !ContainerVolume = _ }
<commit_msg>add WarpFixer module to all solar panels<commit_after>// ============================================================================
// Stock panel module work correctly at arbitrary warp speed and EC capacity
// ============================================================================

@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[Kerbalism]
{
  MODULE
  {
    name = WarpFixer
  }
}


// ============================================================================
// Use Monoprop as eva propellant, and set the initial amount to zero
// ============================================================================

@PART[kerbalEVA,kerbalEVAfemale]:FOR[Kerbalism]
{
  @MODULE[KerbalEVA]
  {
    @propellantResourceName = MonoPropellant
  }

  @RESOURCE[EVA?Propellant]
  {
    @name = MonoPropellant
    @amount = 0
    @maxAmount = 5
  }
}


// ============================================================================
// Replace readings with our own telemetry providers
// ============================================================================

@PART[sensorThermometer]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = temperature
  }
}

@PART[sensorBarometer]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = pressure
  }
}

@PART[sensorGravimeter]:FOR[Kerbalism]
{
  !MODULE[ModuleEnviroSensor] {}

  MODULE
  {
    name = Sensor
    type = gravioli
  }
}


// ============================================================================
// Probe hibernation removal is GO
// ============================================================================

@PART[*]:HAS[@MODULE[ModuleCommand]]:FOR[Kerbalism]
{
  @MODULE[ModuleCommand]
  {
    %hasHibernation = false
  }
}


// ============================================================================
// Enable/disable parts automatically
// ============================================================================

@PART[kerbalism-activeshield]:NEEDS[FeatureRadiation]      { %tags = _kerbalism }
@PART[kerbalism-gravityring]:NEEDS[FeatureComfort]         { %tags = _kerbalism }
@PART[kerbalism-greenhouse]:HAS[@MODULE[*]]:FINAL          { %tags = _kerbalism }
@PART[kerbalism-chemicalplant]:HAS[@MODULE[*]]:FINAL       { %tags = _kerbalism }
@PART[kerbalism-container-*]:HAS[@RESOURCE[*]]:FINAL       { %tags = _kerbalism }
@PART[kerbalism-container-*]:HAS[@MODULE[*]]:FINAL         { %tags = _kerbalism }
@PART[kerbalism-geigercounter]:NEEDS[FeatureRadiation]     { %category = Science }
@PART[kerbalism-antenna]:NEEDS[FeatureSignal]              { %category = Communication }


// ============================================================================
// Avoid some harmless warning during part loading
// ============================================================================

@PART[kerbalism-container-*]:FINAL { !ContainerVolume = _ }

{'fraction_non_alphanumeric': 0.4069175991861648, 'fraction_numerical': 0.0013563919972872161, 'mean_word_length': 5.5690423162583516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2867331', 'n_tokens_mistral': 1685, 'n_tokens_neox': 1488, 'n_words': 232}