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

Fix the volumes and surface areas of several habitats #168

Merged
merged 5 commits into from
Jan 11, 2025
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
65 changes: 61 additions & 4 deletions GameData/KerbalismConfig/System/Habitat.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@
%max_pressure = 0.35
}
}
@PART[LEM_ASCENT_STAGE|FASALM_AscentStage|MEMLanderSXT|MEMLander|landerCabinMedium]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
@PART[LEM_ASCENT_STAGE|FASALM_AscentStage|MEMLanderSXT|MEMLander|landerCabinMedium|landerCabinSmall]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat]
@MODULE[Habitat] // 2.0m tall, 2.6m diameter
{
%volume = 4.5
%surface = 18.1 //guesstimate
Expand Down Expand Up @@ -219,9 +219,10 @@
}
@PART[mk3Cockpit_Shuttle|benjee10_shuttle_forwardFuselage]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat]
@MODULE[Habitat] // 5.2m tall (actual living space), 5.6m diameter
{
%volume = 132.0
%volume = 54.27 // dimensions gives 128.08m^3, ill divide by 2.36 to keep it consistent with landerCabinSmall
%surface = 94.46 // dimensions gives 140.74m^2, ill divide by 1.49 to keep it consistent with landerCabinSmall
}
}
@PART[XOrionPodXbb31|SSTU-SC-C-CM]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
Expand Down Expand Up @@ -256,6 +257,62 @@
%surface = 70 //guesstimate
}
}
@PART[Mark1-2Pod]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // no idea what these numbers are based off of from kerbalism, so ill just keep em as is
{
%volume = 4.09
%surface = 9.54
}
}
@PART[mk2LanderCabin|mk2LanderCabin_v2]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // 1.9m tall, 4.1m diameter
{
%volume = 10.63 // dimensions gives 25.08m^3, ill divide by 2.36 to keep it consistent with landerCabinSmall
%surface = 34.15 // dimensions gives 50.88m^2, ill divide by 1.49 to keep it consistent with landerCabinSmall
}
}
@PART[crewCabin]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // 3.3m tall, 4.2m diameter
{
%volume = 19.37 // dimensions give 45.72m^3, dividing by 2.36
%surface = 47.82 // dimensions give 71.25m^2, dividing by 1.49
}
}
@PART[cupola]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // cylinder: 1.2m tall, 4.4m diameter, cone: .7m tall, 2.1m top diameter, 2.8m bottom diameter
{
%volume = 9.14 // dimensions give 21.57m^3, dividing by 2.36
%surface = 42.04 // dimensions give 62.64m^2, dividing by 1.49
}
}
@PART[mk2Cockpit_Standard]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // 3.1m tall, 2.0m diameter
{
%volume = 4.13 // dimensions give 9.74, dividing by 2.36
%surface = 17.29 // dimensions give 25.76, dividing by 1.49
}
}
@PART[mk2Cockpit_Inline]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // 4.5m tall, 2.0m diameter
{
%volume = 6.0 // dimensions give 14.14, dividing by 2.36
%surface = 23.19 // dimensions give 34.56, dividing by 1.49
}
}
@PART[mk3CrewCabin]:NEEDS[FeatureHabitat]:AFTER[zzzKerbalism]
{
@MODULE[Habitat] // 6.7m tall, 5.6m diameter
{
%volume = 69.92 // dimensions give 165.02, dividing by 2.36
%surface = 112.17 // dimensions give 167.13, dividing by 1.49
}
}
// ============================================================================
// Unpressurized tag
// ============================================================================
Expand Down
4 changes: 2 additions & 2 deletions GameData/KerbalismConfig/System/Sickbay.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PARTUPGRADE:NEEDS[RP-0,FeatureComfort]
techRequired = improvedHabitats
title = Permanent habitation
manufacturer = Mesmer and Ize
description = Thanks to advancements in virtual reality, digital entertainment and human health and psicology studies, permanent habitation is now possible. Some form of gravity is still required, so being landed or using a centrifuge is a necessity.
description = Thanks to advancements in virtual reality, digital entertainment and human health and psychology studies, permanent habitation is now possible. Some form of gravity is still required, so being landed or using a centrifuge is a necessity.
}

@PART[*]:HAS[@MODULE[GravityRing]]:NEEDS[ProfileRealismOverhaul,FeatureComfort]:AFTER[zzzKerbalism]
Expand Down Expand Up @@ -62,4 +62,4 @@ PARTUPGRADE:NEEDS[RP-0,FeatureComfort]
}
}
}
}
}
Loading