Skip to content

Commit

Permalink
Re-add 1 day of supplies to external command seat
Browse files Browse the repository at this point in the history
  • Loading branch information
Safarte committed Dec 12, 2023
1 parent a07c8b4 commit b2203aa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
29 changes: 28 additions & 1 deletion plugin_template/patches/add_EVA_LS_capacities.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use 'constants';

:parts (#eva_kerbal,#seat_0v_external_crew) > resourceContainers {
:parts #eva_kerbal > resourceContainers {
+CarbonDioxide {
capacityUnits: $EVA_CAPACITY_DAYS * $OXYGEN_PER_DAY;
initialUnits: 0.0;
Expand All @@ -27,6 +27,33 @@
}
}

:parts #seat_0v_external_crew > resourceContainers {
+CarbonDioxide {
capacityUnits: $EVA_CAPACITY_DAYS * $OXYGEN_PER_DAY;
initialUnits: 0.0;
}
+WasteWater {
capacityUnits: $EVA_CAPACITY_DAYS * $WATER_PER_DAY;
initialUnits: 0.0;
}
+Oxygen {
capacityUnits: $EVA_CAPACITY_DAYS * $OXYGEN_PER_DAY;
initialUnits: $EVA_CAPACITY_DAYS * $OXYGEN_PER_DAY;
}
+Water {
capacityUnits: $EVA_CAPACITY_DAYS * $WATER_PER_DAY;
initialUnits: $EVA_CAPACITY_DAYS * $WATER_PER_DAY;
}
+Food {
capacityUnits: $EVA_CAPACITY_DAYS * $FOOD_PER_DAY;
initialUnits: $EVA_CAPACITY_DAYS * $FOOD_PER_DAY;
}
+Waste {
capacityUnits: $EVA_CAPACITY_DAYS * $FOOD_PER_DAY;
initialUnits: 0.0;
}
}

:parts (#eva_kerbal,#seat_0v_external_crew) ~.Module_ResourceCapacities {
+Module_ResourceCapacities {
+Data_ResourceCapacities {}
Expand Down
2 changes: 1 addition & 1 deletion plugin_template/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Kerbal Life-Support System",
"description": "Kerbals need their Snacks.",
"source": "https://github.com/Safarte/KerbalLifeSupportSystem",
"version": "0.4.0",
"version": "0.4.1",
"version_check": "https://raw.githubusercontent.com/Safarte/KerbalLifeSupportSystem/main/plugin_template/swinfo.json",
"ksp2_version": {
"min": "0.1.5",
Expand Down

0 comments on commit b2203aa

Please sign in to comment.