forked from Real-Gecko/KSP-SimpleConstruction
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from zer0Kerbal/4.0.99.30-prerelease
Version 4.0.99.30-prerelease `<Launchpad 30>` edition
- Loading branch information
Showing
30 changed files
with
883 additions
and
291 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 12 additions & 47 deletions
59
GameData/SimpleConstruction/Compatibility/Interstellar.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,24 @@ | ||
// Interstellar.cfg v1.0.0.1 | ||
// Interstellar.cfg v1.0.1.0 | ||
// SimpleConstruction! (SCON) | ||
// created: 04 Jul 2022 | ||
// updated: 06 Jul 2022 | ||
// updated: 15 Jul 2022 | ||
|
||
// this file: CC BY-SA 4.0 by zer0Kerbal | ||
|
||
|
||
// need to factor in metal which has a volume of 1 instead of ore's 5 and rocketparts's 5 | ||
|
||
@PART[RadialOreTank]:NEEDS[Interstellar,Launchpad,SimpleConstruction]:LAST[SimpleConstruction] | ||
{ | ||
@MODULE[InterstellarFuelSwitch] | ||
{ | ||
@tankSwitchNames = #$tankSwitchNames$;Metal;RocketParts | ||
@resourceGui = #$resourceGui$;Metal;RocketParts | ||
@resourceNames = #$resourceNames$;Metal;RocketParts | ||
@resourceAmounts = #$resourceAmounts$;75;75 | ||
@fuelTankCounter += 2 | ||
} | ||
} | ||
|
||
@PART[SmallTank]:NEEDS[Interstellar,Launchpad,SimpleConstruction]:LAST[SimpleConstruction] | ||
@PART[RadialOreTank,SmallTank,LargeTank]:NEEDS[Interstellar,Launchpad,SimpleConstruction]:LAST[SimpleConstruction] | ||
{ | ||
@MODULE[InterstellarFuelSwitch] | ||
{ | ||
@tankSwitchNames = #$tankSwitchNames$;Metal;RocketParts | ||
@resourceGui = #$resourceGui$;Metal;RocketParts | ||
@resourceNames = #$resourceNames$;Metal;RocketParts | ||
@resourceAmounts = #$resourceAmounts$;300;300 | ||
tmpM = #EL_Metal-name // Metal | ||
tmpR = #EL_RocketParts-name // Rocket Parts | ||
@tankSwitchNames = #$tankSwitchNames$;$tmpM$;$tmpR$ | ||
@resourceGui = #$resourceGui$;$tmpM$;$tmpR$ | ||
@resourceNames = #$resourceNames$;$tmpM$;$tmpR$ | ||
@resourceAmounts = #$resourceAmounts$;$../RESOURCE[Ore]/maxAmount$;$../RESOURCE[Ore]/maxAmount$ | ||
@fuelTankCounter += 2 | ||
!tmpM = DELETE | ||
!tmpR = DELETE | ||
} | ||
} | ||
|
||
@PART[LargeTank]:NEEDS[Interstellar,Launchpad,SimpleConstruction]:LAST[SimpleConstruction] | ||
{ | ||
@MODULE[InterstellarFuelSwitch] | ||
{ | ||
@tankSwitchNames = #$tankSwitchNames$;Metal;RocketParts | ||
@resourceGui = #$resourceGui$;Metal;RocketParts | ||
@resourceNames = #$resourceNames$;Metal;RocketParts | ||
@resourceAmounts = #$resourceAmounts$;1500;1500 | ||
@fuelTankCounter += 2 | ||
} | ||
} | ||
|
||
// #SimpleConstruction_RocketParts_displayname | ||
// #SimpleConstruction_Metal_displayname | ||
|
||
// MODULE | ||
// { | ||
// name = InterstellarFuelSwitch | ||
// tankSwitchNames = Ore;Alumina;Aluminium;Boron;Monazite;Minerals;Regolith | ||
// resourceGui = Ore;Alumina;Aluminium;Boron;Monazite;Minerals;Regolith | ||
// resourceNames = Ore;Alumina;Aluminium;Boron;Monazite;Minerals;Regolith | ||
// resourceAmounts = 75;75;75;75;75;75;75 | ||
// hasGUI = true | ||
// availableInFlight = true | ||
// availableInEditor = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.