Skip to content

Commit 85d9cd9

Browse files
committed
Fix #512: support RestockPlus pod parts when MakingHistory is not installed
1 parent 07d3116 commit 85d9cd9

10 files changed

Lines changed: 119 additions & 0 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* Add GravityGimbal module for rotating a prop according to local subjective gravity
2525
* Add InstanceInternal module for instantiating another internal space as a child of a prop
2626
* Add info message for SSPX parts when the IVAs are not installed
27+
* Add support for ReStockPlus spherical pod parts when Making History is not installed
2728

2829

2930
## 0.2.20.2 - 2025-10-24
1.14 KB
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@PART[restock-pod-sphere-1]:HAS[!MODULE[ModuleFreeIva]]:FOR[FreeIva]
2+
{
3+
MODULE
4+
{
5+
name = ModuleFreeIva
6+
}
7+
}
8+
9+
@INTERNAL:HAS[@MODEL:HAS[#model[ReStockPlus/Spaces/Vostok/restock-pod-sphere-1-IVA]]&!MODULE[InternalModuleFreeIva]]:FOR[FreeIva]
10+
{
11+
MODEL
12+
{
13+
model = FreeIva/ReStockPlus/restock-pod-sphere-1
14+
}
15+
16+
MODULE
17+
{
18+
name = InternalModuleFreeIva
19+
shellColliderName = shellCollider
20+
internalDepthMaskName = depthMask
21+
}
22+
23+
PROP
24+
{
25+
name = FreeIva_Hatch_Round_Size0
26+
position = 0.00131841004, 0.701358616, -0.459339023
27+
rotation = -0.984807789, -0, -0, -0.173648193
28+
29+
MODULE
30+
{
31+
name = HatchConfig
32+
cutoutTargetTransformName = Capsule1
33+
airlockName = Airlock_BOXCOLLIDER
34+
}
35+
}
36+
37+
// delete any existing ASET hatch (from HonkHogan)
38+
-PROP[ASET_Internal_EVA_Hatch] {}
39+
}
5.17 KB
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@PART[restock-pod-sphere-2]:HAS[!MODULE[ModuleFreeIva]]:FOR[FreeIva]
2+
{
3+
MODULE
4+
{
5+
name = ModuleFreeIva
6+
}
7+
}
8+
9+
@INTERNAL:HAS[@MODEL:HAS[#model[ReStockPlus/Spaces/Vostok/restock-pod-sphere-2-IVA]]&!MODULE[InternalModuleFreeIva]]:FOR[FreeIva]
10+
{
11+
MODEL
12+
{
13+
model = FreeIva/ReStockPlus/restock-pod-sphere-2
14+
}
15+
16+
MODULE
17+
{
18+
name = InternalModuleFreeIva
19+
shellColliderName = shellCollider
20+
internalDepthMaskName = depthMask
21+
}
22+
23+
PROP
24+
{
25+
name = FreeIva_Hatch_Round_Size0
26+
position = 0.694430172, -0.00124798855, -0.467665166
27+
rotation = -0.122787856, -0.122787863, -0.696364284, -0.696364224
28+
29+
MODULE
30+
{
31+
name = HatchConfig
32+
cutoutTargetTransformName = Capsule1
33+
airlockName = Airlock_BOXCOLLIDER
34+
}
35+
}
36+
37+
// delete any existing ASET hatch (from HonkHogan)
38+
-PROP[ASET_Internal_EVA_Hatch] {}
39+
}
5.31 KB
Binary file not shown.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
@PART[restock-pod-sphere-3]:HAS[!MODULE[ModuleFreeIva]]:FOR[FreeIva]
2+
{
3+
MODULE
4+
{
5+
name = ModuleFreeIva
6+
}
7+
}
8+
9+
@INTERNAL:HAS[@MODEL:HAS[#model[ReStockPlus/Spaces/Vostok/restock-pod-sphere-3-IVA]]&!MODULE[InternalModuleFreeIva]]:FOR[FreeIva]
10+
{
11+
MODEL
12+
{
13+
// note reused model, they're the same layout
14+
model = FreeIva/ReStockPlus/restock-pod-sphere-2
15+
}
16+
17+
MODULE
18+
{
19+
name = InternalModuleFreeIva
20+
shellColliderName = shellCollider
21+
internalDepthMaskName = depthMask
22+
}
23+
24+
PROP
25+
{
26+
name = FreeIva_Hatch_Round_Size0
27+
position = 0.694430172, -0.00124798855, -0.467665166
28+
rotation = -0.122787856, -0.122787863, -0.696364284, -0.696364224
29+
30+
MODULE
31+
{
32+
name = HatchConfig
33+
cutoutTargetTransformName = Capsule1
34+
airlockName = Airlock_BOXCOLLIDER
35+
}
36+
}
37+
38+
// delete any existing ASET hatch (from HonkHogan)
39+
-PROP[ASET_Internal_EVA_Hatch] {}
40+
}
91.8 KB
Binary file not shown.
993 KB
Binary file not shown.
996 KB
Binary file not shown.

0 commit comments

Comments
 (0)