Skip to content

Commit

Permalink
Add, not replace, tanks and drills for MetallicOre and Metals.
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronikaKerman committed Jan 17, 2022
1 parent 52e56d0 commit 7279b4f
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 4 deletions.
29 changes: 28 additions & 1 deletion GameData/RationalResources/CRP/zKerbalism.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@
rate = 0.0025
ec_rate = 1.0
}
MODULE
{
name = Harvester
title = MetallicOre Excavation
type = 0
resource = MetallicOre
min_abundance = 0.02
rate = 0.0025
ec_rate = 1.0
}

@MODULE[Configure]
{
Expand Down Expand Up @@ -139,6 +149,23 @@
maxAmount = 50
}
}
SETUP
{
name = MetallicOre Extraction
desc = Extract <b>MetallicOre</b> from the surface.
MODULE
{
type = Harvester
id_field = resource
id_value = MetallicOre
}
RESOURCE
{
name = MetallicOre
amount = 0
maxAmount = 50
}
}
}
}

Expand Down Expand Up @@ -235,4 +262,4 @@
}
}
}
}
}
22 changes: 22 additions & 0 deletions GameData/RationalResources/CRP/zTankTypes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,28 @@ B9_TANK_TYPE:NEEDS[B9PartSwitch]
unitsPerVolume = 1
}
}
B9_TANK_TYPE:NEEDS[B9PartSwitch]
{
name = RR_MetallicOre
tankMass = 0
tankCost = 0
RESOURCE
{
name = MetallicOre
unitsPerVolume = 1
}
}
B9_TANK_TYPE:NEEDS[B9PartSwitch]
{
name = RR_Metals
tankMass = 0
tankCost = 0
RESOURCE
{
name = Metals
unitsPerVolume = 1
}
}
B9_TANK_TYPE:NEEDS[B9PartSwitch,ExtraplanetaryLaunchpads]
{
name = RR_RocketParts
Expand Down
20 changes: 18 additions & 2 deletions GameData/RationalResourcesCompanion/CRP/Opt-in_OreTanks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,30 @@
secondaryColor = Beige
}
SUBTYPE
{
name = MetallicOre
tankType = RR_MetallicOre
title = MetallicOre
primaryColor = BrownishGrey
secondaryColor = BrownishGrey
}
SUBTYPE
{
name = Metals
tankType = RR_Metals
title = Metals
primaryColor = Gunmetal
secondaryColor = Gunmetal
}
SUBTYPEE:NEEDS[ExtraplanetaryLaunchpads]
{
name = MetalOre
tankType = RR_MetalOre
title = MetalOre
primaryColor = BrownishGrey
secondaryColor = BrownishGrey
}
SUBTYPE
SUBTYPEE:NEEDS[ExtraplanetaryLaunchpads|SimpleConstruction]
{
name = Metal
tankType = RR_Metal
Expand Down Expand Up @@ -186,4 +202,4 @@
secondaryColor = Ocean
}
}
}
}
24 changes: 23 additions & 1 deletion GameData/RationalResourcesCompanion/CRP/ProceduralTanks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,28 @@
unitsPerT = 1600 // 1
}
}
TANK_TYPE_OPTION
{
name = MetallicOre
dryDensity = 0.1089
costMultiplier = 1.0
RESOURCE
{
name = MetallicOre
unitsPerT = 1600 // 0.2
}
}
TANK_TYPE_OPTION
{
name = Metals
dryDensity = 0.1089
costMultiplier = 1.0
RESOURCE
{
name = Metals
unitsPerT = 8000 // 1
}
}
// TANK_TYPE_OPTION
// {
// name = RocketParts
Expand Down Expand Up @@ -392,4 +414,4 @@
// }
// }
// }
// }
// }

0 comments on commit 7279b4f

Please sign in to comment.