Jump to content

Increase MinHarvestValue of Space Dust parts


Recommended Posts

Space Dust is a mod adding exospheric resource gathering

Here is an example harvester module in this mod:
 

MODULE
		{
			name = ModuleSpaceDustHarvester
			ModuleID = harvester
			SystemPower = 75
			PowerCost = 100
			CheckOcclusion = false
			HarvestType = Exosphere
			HarvestIntakeTransformName = Intake
			IntakeArea = 500
			IntakeSpeedStatic = 0
			SystemEfficiency
			{
				key = 0 1.0
				key = 400 1.0
				key = 600 0.0
			}
			IntakeVelocityScale
			{
				key = 0 0
				key = 1 1
			}
			HARVESTED_RESOURCE
			{
				Name = XenonGas
				BaseEfficiency = .2
				MinHarvestValue = 0.0000000001
			}
			HARVESTED_RESOURCE
			{
				Name = Oxidizer
				BaseEfficiency = .25
				MinHarvestValue = 0.00000001
			}
			HARVESTED_RESOURCE
			{
				Name = LiquidFuel
				BaseEfficiency = .2
				MinHarvestValue = 0.0000000001
			}
			HARVESTED_RESOURCE
			{
				Name = Graviolium
				BaseEfficiency = .2
				MinHarvestValue = 0.0000000001
			}
		}

I am trying to make a patch to decrease the MinHarvestValue of Graviolium

This is my current patch

@PART:HAS[@MODULE[ModuleSpaceDustHarvester]]:FINAL
{
    @MODULE[ModuleSpaceDustHarvester]
    {
        @HARVESTED_RESOURCE:HAS[#Name[Graviolium]]
        {
            @MinHarvestValue = 0.0000000000000000000000000000000000000000000001
        }
    }
}

It doesn't seem to do anything. What's wrong with it?

Link to comment
Share on other sites

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...