Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.99.3-prerelease <Bucketful of Sand> #82

Merged
merged 19 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// B9TankTypes.cfg v1.0.1.0
// SimpleConstruction! (SCON!)!
// B9TankTypes.cfg v1.0.2.0
// SimpleConstruction! (SCON!)
// created:
// updated: 01 Jun 2021
// updated: 14 Mar 2022

B9_TANK_TYPE:NEEDS[CommunityResourcePack,SimpleConstruction]
B9_TANK_TYPE:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
name = SCRocketParts
title = RocketParts
title = #EL_RocketParts_displayName // RocketParts
tankMass = 0.0005
tankCost = 100
percentFilled = 100
Expand All @@ -17,10 +17,10 @@ B9_TANK_TYPE:NEEDS[CommunityResourcePack,SimpleConstruction]
}
}

B9_TANK_TYPE:NEEDS[SimpleConstruction]
B9_TANK_TYPE:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
name = SCMetal
title = Metal
title = #EL_Metal_displayName // Metal
tankMass = 0.0005
tankCost = 100
percentFilled = 100
Expand All @@ -31,10 +31,10 @@ B9_TANK_TYPE:NEEDS[SimpleConstruction]
}
}

B9_TANK_TYPE:NEEDS[SimpleConstruction]
B9_TANK_TYPE:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
name = Ore
title = Ore
title = #autoLOC_501007 = Ore // Ore
tankMass = 0.0005
tankCost = 100
percentFilled = 0
Expand All @@ -45,7 +45,7 @@ B9_TANK_TYPE:NEEDS[SimpleConstruction]
}
}

B9_TANK_TYPE:NEEDS[CommunityResourcePack,SimpleConstruction]
B9_TANK_TYPE:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
name = SCCombo
tankMass = 0.0005
Expand All @@ -71,5 +71,4 @@ B9_TANK_TYPE:NEEDS[CommunityResourcePack,SimpleConstruction]
}
}

// GPLv2
// zer0Kerbal
// CC BY-NC-SA 3.0 Unported by zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
// OreTanksSwitch.cfg v1.0.1.1
// B9TanksSwitch.cfg v1.0.3.0
// SimpleConstruction! (SCON!)
// created: 2020 Apr 20
// updated: 06 Sep 2021
// updated: 14 Mar 2022

@PART[*]:HAS[@RESOURCE[Ore],#category[FuelTank],!MODULE[InterstellarFuelSwitch],!MODULE[ProceduralPart]]:NEEDS[InterstellarFuelSwitch,LaunchPad,SimpleConstruction,!B9PartSwitch]:FOR[SimpleConstruction]
{
MODULE
{
name = InterstellarFuelSwitch
resourceNames = Ore;Metal;RocketParts
resourceAmounts = #$../RESOURCE[Ore]/maxAmount$;$../RESOURCE[Ore]/maxAmount$;$../RESOURCE[Ore]/maxAmount$
@resourceAmounts[2,;] *= 2
tankMass = #$../mass$
basePartMass = 0.0
displayCurrentTankCost = true
hasGUI = true
availableInFlight = true
availableInEditor = true
showInfo = true
}
}

@PART[*]:HAS[@RESOURCE[Ore],#category[FuelTank],!MODULE[InterstellarFuelSwitch],!MODULE[ModuleB9PartSwitch],!MODULE[ProceduralPart]]:NEEDS[B9PartSwitch,LaunchPad,SimpleConstruction]:FOR[SimpleConstruction]
{
Expand All @@ -29,42 +12,47 @@
moduleID = SCSwitch
switcherDescriptionPlural = Types
baseVolume = #$../RESOURCE[Ore]/maxAmount$
switcherDescription = Tank Type
switcherDescription = #SCON-switcherDescription // Tank Type

switchInFlight = true
affectFARVoxels = false
affectDragCubes = false
SUBTYPE
{
name = Ore
title = Ore
primaryColor = #caa472
secondaryColor = #caa472
title = #autoLOC_501007 = Ore
tankType = Ore
percentFilled = 0
}
SUBTYPE
{
name = Metal
title = Metal
primaryColor = #d3d3d3
secondaryColor = #000000
title = #EL_Metal_displayName
tankType = SCMetal
percentFilled = 0
}
SUBTYPE
{
name = RocketParts
title = Rocket Parts
primaryColor = #d3d3d3
secondaryColor = #d3d3d3
title = #EL_RocketParts_displayName
tankType = SCRocketParts
percentFilled = 0
}
SUBTYPE
{
name = Combo
title = Ore/Metal/RP
title = #SCON-combo-title // Ore/Metal/RP
tankType = SCCombo
percentFilled = 0
}
}
!RESOURCE[Ore]
}

// GPLv2
// zer0Kerbal
// CC BY-NC-SA 3.0 Unported by zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// CommunityCategoryKit.cfg v1.0.0.1
// SimpleConstruction! (SCON!)!
// created:
// updated: 14 Mar 2022

// add category with all tagged parts
@CCKExtraFilterConfig:NEEDS[CCK]
{
Expand All @@ -10,3 +15,5 @@
usedByMod = SimpleConstruction!
}
}

// CC BY-NC-SA 3.0 Unported by zer0Kerbal
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// InterstellarFuelSwitch.cfg v1.0.3.0
// SimpleConstruction! (SCON!)
// created: 2020 Apr 20
// updated: 14 Mar 2022

@PART[*]:HAS[@RESOURCE[Ore],#category[FuelTank],!MODULE[InterstellarFuelSwitch],!MODULE[ProceduralPart]]:NEEDS[InterstellarFuelSwitch,LaunchPad,SimpleConstruction,!B9PartSwitch]:FOR[SimpleConstruction]
{
MODULE
{
name = InterstellarFuelSwitch
resourceNames = Ore;Metal;RocketParts
resourceAmounts = #$../RESOURCE[Ore]/maxAmount$;$../RESOURCE[Ore]/maxAmount$;$../RESOURCE[Ore]/maxAmount$
@resourceAmounts[2,;] *= 2
tankMass = #$../mass$
basePartMass = 0.0
displayCurrentTankCost = true
hasGUI = true
availableInFlight = true
availableInEditor = true
showInfo = true
}
}

// CC BY-NC-SA 3.0 Unported by zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// KIS.cfg v1.0.0.0
// KerbalInventorySystem.cfg v1.0.0.1
// SimpleConstruction! (SCON!)
// created: 11 Sep 2021
// updated:
// updated: 14 Mar 2022

@PART[ELMicroPadSC,micro1x1,micro2x2]:NEEDS[Launchpad,KIS,SimpleConstruction]:FOR[SimpleConstruction]
{
Expand All @@ -18,5 +18,4 @@
}
}

// GPLv2 BY
// zer0Kerbal
// CC BY-NC-SA 3.0 Unported by zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
EL_ResourceRates {
EL_ResourceRates
{
default = 5
ElectricCharge = 1
LiquidFuel = 0.36
Expand All @@ -8,7 +9,8 @@ EL_ResourceRates {
Ore = 8
}

EL_ResourceRecipe {
EL_ResourceRecipe
{
name = Ablator
Resources
{
Expand Down Expand Up @@ -44,14 +46,16 @@ EL_RecycleRecipe
}
}

EL_ResourceRecipe {
EL_ResourceRecipe
{
name = EVA Propellant
Resources {
MonoPropellant = 1
}
}

EL_ResourceRecipe {
EL_ResourceRecipe
{
name = LFOMix
Resources {
LiquidFuel = 9
Expand All @@ -60,7 +64,8 @@ EL_ResourceRecipe {
}


EL_ResourceLink {
EL_ResourceLink
{
name = RocketFuel
resource = LiquidFuel
resource = Oxidizer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
// unitCost = 1.5
// volume = 5

@RESOURCE_DEFINITION[Ore]:FOR[SimpleConstruction]
@RESOURCE_DEFINITION[Ore]:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
@color = 169,169,169
ksparpicon = TriggerTech/KSPAlternateResourcePanel/Icons/Ore
}

// if CommunityResourcePack is installed, update Resources
@RESOURCE_DEFINITION[RocketParts]:NEEDS[CommunityResourcePack]
@RESOURCE_DEFINITION[RocketParts]:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction,CommunityResourcePack]
{
!displayName {}
displayName = #SimpleConstruction_RocketParts_displayname
Expand All @@ -45,7 +45,7 @@
}

/// installed only if CommunityResourcePack not installed
RESOURCE_DEFINITION:NEEDS[!CommunityResourcePack]
RESOURCE_DEFINITION:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction,!CommunityResourcePack]
{
name = RocketParts
displayName = #SimpleConstruction_RocketParts_displayname
Expand All @@ -71,7 +71,7 @@ RESOURCE_DEFINITION:NEEDS[!CommunityResourcePack]
}

/// ALWAYS INSTALLED (Only in SimpleConstruction!)
RESOURCE_DEFINITION
RESOURCE_DEFINITION:NEEDS[B9PartSwitch,Launchpad,SimpleConstruction]
{
name = Metal
displayName = #SimpleConstruction_Metal_displayname
Expand All @@ -96,5 +96,4 @@ RESOURCE_DEFINITION
ksparpicon = TriggerTech/KSPAlternateResourcePanel/Icons/Metal
}

// GPLv2
// zer0Kerbal
// CC BY-NC-SA 3.0 Unported by zer0Kerbal
14 changes: 9 additions & 5 deletions GameData/SimpleConstruction/Localization/en-us.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// en-us.cfg v1.2.0.0
// en-us.cfg v1.2.1.0
// SimpleConstruction! (SCON!)!
// created: 2020 Apr 20
// updated: 06 Mar 2022
// updated: 14 Mar 2022

Localization
{
en-us
{
// Resource definitions
#SimpleConstruction_RocketParts_displayname = RocketParts
#SimpleConstruction_RocketParts_abbv = RP

Expand All @@ -27,14 +28,17 @@ Localization

// KerbalPlanetaryBaseSystems
#KBPS-Storage-Ore-titl = K&K X1200 Ore Storage
#KBPS-Storage-Ore-desc = A storage for ore. You can process the ore in a smelter into metal.
#KBPS-Storage-Ore-desc = You can store ore here for smelter processing later.

#KBPS-Storage-Metal-titl = K&K X1200 Metal Storage
#KBPS-Storage-RP-titl = K&K X2400 Rocket Part Storage

#KBPS-Smelter-desc = The smelter can be used to process ore into useful metal. Do not touch! HOT!
#KBPS-Smelter-desc = In order for this smelter to reach maximum efficiency, it's got to get hot. When we say hot, we mean Jeff Koldplume hot, so maybe stay away from it while it's in action.

// B9 Part Switch
#SCON-switcherDescription = Tank Type
#SCON-combo-title = Ore+Metal+RP
}
}

// CC BY-NC-ND 3.0 Unported by zer0Kerbal
// CC BY-NC-ND 3.0 Unported by zer0Kerbal
2 changes: 1 addition & 1 deletion GameData/SimpleConstruction/SimpleConstruction.version
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"MAJOR" : 4,
"MINOR" : 0,
"PATCH" : 99,
"BUILD" : 2
"BUILD" : 3
},
"KSP_VERSION" :
{
Expand Down
Loading