Skip to content

Commit

Permalink
Remove BARIS dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-125 committed Jun 20, 2022
1 parent cb6c6a0 commit d00beda
Show file tree
Hide file tree
Showing 84 changed files with 878 additions and 260 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
EXPERIMENT_DEFINITION
{
id = WBIBiomeResearchExperiment
title = Core Sample Experiment
baseValue = 5
scienceCap = 50
dataScale = 3
requireAtmosphere = False
situationMask = 3
biomeMask = 3

description = Check out the local environment, they said. See the world, they said. We'd rather be sailing.
mass = 0.01
techRequired = spaceExploration
tags = basic
minCrew = 1
requiredResources = LabTime,36
situations = ORBITING;LANDED;SPLASHED
RESULTS
{
default = Soil samples suggest some kind of volcanic activity in the distant past.
default = These core samples seem to have two different compositions that indicate that some resources come from asteroid impacts.
default = The core sample was contaminated, but the surrounding landscape has an interesting tectonic history. Numerous cracks in the ground indicate several faults in the area.
default = Layers of sedimentary rock in the core sample indicate that water once flowed in this area. Perhaps there is water in an underground aquifer.
default = This core sample has hematite spherules, popularly known as "blueberries" throughout the strata. They also taste terrible when added to pancakes.
default = You find perchlorate salt deposits in the core sample. Perhaps there is water somewhere else in the area.
default = The core samples contain basalt along with traces of gypsum, kieserite, opaline silica, and phyllosilicates. This seems to be pretty common for this area.
default = A core sample from this area has a high percentage of clay.
default = There appear to be flecks of a strange blue substance in the core samples. Spectral analysis hasn't been able to identify the substance, and it glows in certain lights.
default = A layer of iron oxide in the core samples of this area suggests that an asteroid impacted the area.
default = Several core samples consist of volcanic rock, suggesting volcanic activity in this region.
default = There are traces of gold in the core sample. Gold rush, anyone?
default = Somebody ate the core sample, it looked like layered chocolate cake.
default = The sample has precursor chemicals necessary for life to occur. Perhaps there is some kind of life somewhere else in the region?
default = This unassuming core sample contains rock, soil, and dust- not unlike regolith!
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
62 changes: 61 additions & 1 deletion GameData/WildBlueIndustries/000WildBlueTools/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,68 @@ A KSP mod that provides common functionality for mods by Wild Blue Industries.

Copy the contents of the mod's GameData directory into your GameData folder.

1.88.0
- Removed BARIS dependency dll.

1.87.0
- Sandcastle compatibility update.

1.86.0

WBIModuleResourceHarvester has new configurable parameters:

- solarOrbitRequired: if set to true, then the harvester can only work when in solar orbit.
- requiredAnomalies: set to the names of one or more PQSCity anomalies (ex: Monolith00), with multiple names separated by semicolon, the harvester will only work when in proximity to an anomaly on the list.
- minAnomalyRange: in meters, what is the minimum distance required from an anomaly that is requred in order for the harvester to work.
- ANOMALY_RESOURCE: the harvester supports the new ANOMALY_RESOURCE configuration node, which lets it harvest special resources that are associated with anomalies. The harvester does NOT need its requiredAnomalies field to be filled out in order to harvest this special resource. If the harvester is in range of the anomaly, then it will harvest the resource. See below for an example.

NOTE: These changes also apply to WBIGoldStrikeDrill.

WBIOmniConverter has new configurable parameters.

- solarOrbitRequired: if set to true, then the harvester can only work when in solar orbit.
- requiredAnomalies: set to the names of one or more PQSCity anomalies (ex: Monolith00), with multiple names separated by semicolon, the harvester will only work when in proximity to an anomaly on the list.
- minAnomalyRange: in meters, what is the minimum distance required from an anomaly that is requred in order for the harvester to work.

Sample ANOMALY_RESOURCE config
You can find this in 000WildBlueTools/Templates/AnomalyResources.

// You can specify one or more resources that are associated with an anomaly (a static game object marked as an anomaly, like a monolith).
// WBIModuleResourceHarvester will mine the resources if in close proximity to the anomaly.
// You do NOT need to set requiredAnomalies on WBIModuleResourceHarvester.
ANOMALY_RESOURCE
{
// Name of the anomaly
name = Monolith00

// Name of the resource that the anomaly has.
resourceName = Graviolium

// Optional. Minimum abundance of the anomaly's resource. The actual abundance depends upon this value and maxAbundance.
// If specified, then the anomaly has an unlimited amount of the resournce.
minAbundance = 0.001

// Optional. The maximum abundance of the anomaly's resource. The actual value is between minAbundance and maxAbundance.
// If specified, then the anomaly has an unlimited amount of the resournce.
maxAbundance = 0.1

// Optional. The minimum amount of resource that the anomaly has. The actual amount depends upon this value and maxAmount.
// If specified, then the anomaly has a limited supply of the resource. Once exhausted the resource will no longer be harvested unless the node contains minAbundance/maxAbundance.
minAmount = 1000

// Optional. The maximum amount of resource that the anomaly has. The actual amount is between minAmount and maxAmount.
// If specified, then the anomaly has a limited supply of the resource. Once exhausted the resource will no longer be harvested unless the node contains minAbundance/maxAbundance.
maxAmount = 5000
}

1.85.2
- Bug fixes

1.85.0
- Bug fixes

1.83.0
- Bug fixes & KSP 1.12.2 update
- Recompiled for KSP 1.12.2.

1.82.1
- Bug fixes
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// You can specify one or more resources that are associated with an anomaly (a static game object marked as an anomaly, like a monolith).
// WBIModuleResourceHarvester will mine the resources if in close proximity to the anomaly.
ANOMALY_RESOURCE
{
// Name of the anomaly
name = Monolith00

// Name of the resource that the anomaly has.
resourceName = Graviolium

// Optional. Minimum abundance of the anomaly's resource. The actual abundance depends upon this value and maxAbundance.
// If specified, then the anomaly has an unlimited amount of the resournce.
minAbundance = 0.001

// Optional. The maximum abundance of the anomaly's resource. The actual value is between minAbundance and maxAbundance.
// If specified, then the anomaly has an unlimited amount of the resournce.
maxAbundance = 0.1

// Optional. The minimum amount of resource that the anomaly has. The actual amount depends upon this value and maxAmount.
// If specified, then the anomaly has a limited supply of the resource. Once exhausted the resource will no longer be harvested unless the node contains minAbundance/maxAbundance.
minAmount = 1000

// Optional. The maximum amount of resource that the anomaly has. The actual amount is between minAmount and maxAmount.
// If specified, then the anomaly has a limited supply of the resource. Once exhausted the resource will no longer be harvested unless the node contains minAbundance/maxAbundance.
maxAmount = 5000
}
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,53 @@ OMNICONVERTER
}
}
//Water purifier 2
OMNICONVERTER
{
templateTags = hab;lab
TechRequired = basicScience
ConverterName = Water Purifier
description = Purity GrayWater into Water using lots of electricity
StartActionName = Start Purifier
StopActionName = Stop Purifier
AutoShutdown = false
UseSpecialistBonus = true
SpecialistEfficiencyFactor = 0.2
SpecialistBonusBase = 0.05
ExperienceEffect = ScienceSkill
EfficiencyBonus = 1
INPUT_RESOURCE
{
ResourceName = GrayWater
Ratio = 1
FlowMode = ALL_VESSEL
}
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 30
FlowMode = ALL_VESSEL
}
OUTPUT_RESOURCE
{
ResourceName = Water
Ratio = 0.9
DumpExcess = true
FlowMode = ALL_VESSEL
}
OUTPUT_RESOURCE
{
ResourceName = Slag
Ratio = 0.1
DumpExcess = true
FlowMode = ALL_VESSEL
}
}
//Blutonium Extractor
OMNICONVERTER
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"VERSION":
{
"MAJOR":1,
"MINOR":83,
"MINOR":88,
"PATCH":0
},
"KSP_VERSION_MIN":
{
"MAJOR":1,
"MINOR":11,
"PATCH":0
"MINOR":12,
"PATCH":2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ PART

// --- editor parameters ---
TechRequired = generalRocketry
entryCost = 5400
TechHidden = true
entryCost = 0
cost = 112
category = Payload
subcategory = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ PART

// --- editor parameters ---
TechRequired = generalRocketry
entryCost = 5400
TechHidden = true
entryCost = 0
cost = 225
category = Payload
subcategory = 0
Expand Down
165 changes: 165 additions & 0 deletions GameData/WildBlueIndustries/MOLE/Deprecated/Mk1Cupola.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
PART
{
// --- general parameters ---
name = wbiMk1Cupola
module = Part
author = Angel-125

// --- asset parameters ---
rescaleFactor = 1

MODEL
{
model = WildBlueIndustries/MOLE/Assets/Mk1Cupola
}

// --- node definitions ---
node_stack_top = 0.0, 0.62444, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.375, 0.0, 0.0, -1.0, 0.0, 2
node_attach = 0.0, -0.375, 0.0, 0.0, -1.0, 0.0, 2

// --- editor parameters ---
TechRequired = spaceExploration
TechHidden = true
entryCost = 0
cost = 2500
category = none
subcategory = 0
title = Mk1 Cupola
manufacturer = Wild Blue Industries
description = This cupola provides unprecedented views to the outside world and even has some command functionality. Or it's a great place to pack a bunch of stuff.
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,1
// --- standard part parameters ---
mass = 0.6875
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
breakingForce = 2500
breakingTorque = 2500
maxTemp = 1500
skinMaxTemp = 2300
fuelCrossFeed = True
CrewCapacity = 1
INTERNAL
{
name = wbiMk1CupolaIVA
}
MODULE
{
name = ModuleCommand
minimumCrew = 1
}
RESOURCE
{
name = ElectricCharge
amount = 50
maxAmount = 50
}
MODULE
{
name = ModuleReactionWheel
PitchTorque = 5
YawTorque = 5
RollTorque = 5
RESOURCE
{
name = ElectricCharge
rate = 0.24
}
}
MODULE
{
name = ModuleAnimateGeneric
animationName = CupolaLights
actionGUIName = Toggle Lights
startEventGUIName = Lights On
endEventGUIName = Lights Off
defaultActionGroup = Light
}
MODULE
{
name = ModuleScienceExperiment
experimentID = crewReport
experimentActionName = #autoLOC_502009 //#autoLOC_502009 = Crew Report
resetActionName = #autoLOC_502010 //#autoLOC_502010 = Discard Crew Report
reviewActionName = #autoLOC_502200 //#autoLOC_502200 = Review Report
useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
rerunnable = True
xmitDataScalar = 1.0
usageReqMaskInternal = 5
usageReqMaskExternal = -1
}
MODULE
{
name = ModuleScienceContainer
reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
evaOnlyStorage = True
storageRange = 1.3
}
MODULE
{
name = ModuleDataTransmitter
antennaType = INTERNAL
packetInterval = 1.0
packetSize = 2
packetResourceCost = 12.0
requiredResource = ElectricCharge
antennaPower = 5000
optimumRange = 2500
packetFloor = .1
packetCeiling = 5
}
MODULE:NEEDS[KIS]
{
name = ModuleKISInventory
maxVolume = 700
externalAccess = true
internalAccess = true
slotsX = 3
slotsY = 3
slotSize = 50
itemIconResolution = 128
selfIconResolution = 128
openSndPath = KIS/Sounds/containerOpen
closeSndPath = KIS/Sounds/containerClose
defaultMoveSndPath = KIS/Sounds/itemMove
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 3
packedVolumeLimit = 200
}
RESOURCE
{
name = MonoPropellant
amount = 10
maxAmount = 10
}
}

0 comments on commit d00beda

Please sign in to comment.