Fix: Reactor Flatpack Paper Error (#5747)

* Reactor flatpacks use proper parentype

* New parent type HeavyFlatpack

* Move HeavyFlatpackBase to _DV

* Fixed HideSpawnMenu

* HeavyFlatpackBase now Abstract
This commit is contained in:
Sugarcane 2026-05-04 04:55:22 -04:00 committed by GitHub
parent a9df0ec2b9
commit 7cdef82d0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 2 deletions

View File

@ -72,3 +72,41 @@
components:
- type: Flatpack
entity: OperatingTable
- type: entity
abstract: true
parent: BaseStructureDynamic
id: HeavyFlatpackBase
name: heavy flatpack
description: A large flatpack used to store a worryingly large machine.
components:
- type: Sprite
sprite: Objects/Devices/flatpack.rsi
layers:
- state: large
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.29"
density: 100
mask:
- CrateMask
layer:
- MachineLayer
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: StructuralMetallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: InteractionOutline

View File

@ -1,5 +1,5 @@
- type: entity
parent: CrateEngineering
parent: HeavyFlatpackBase # Delta-V was CrateEngineering
id: NuclearReactorFlatpack
name: nuclear reactor flatpack
description: A flatpack used for constructing a nuclear reactor. Parts sold separately.
@ -12,7 +12,7 @@
entity: NuclearReactorEmpty
- type: entity
parent: CrateEngineering
parent: HeavyFlatpackBase # Delta-V was CrateEngineering
id: GasTurbineFlatpack
name: gas turbine flatpack
description: A flatpack used for constructing a gas turbine.