bunch of prototype save fixes (#12421)

This commit is contained in:
Nemanja
2022-11-06 15:26:45 -05:00
committed by GitHub
parent b019ebefa0
commit 0d4a605a94
19 changed files with 46 additions and 34 deletions

View File

@@ -38,41 +38,8 @@ public sealed class PrototypeSaveTest
// TODO fix more prototypes // TODO fix more prototypes
// The rest of these prototypes (probably) shouldn't be getting ignored. // The rest of these prototypes (probably) shouldn't be getting ignored.
// There should be an issue up tracking all of these prototypes, indicating that still need to get fixed. // There should be an issue up tracking all of these prototypes, indicating that still need to get fixed.
"Thruster",
"Gyroscope",
"JawsOfLife",
"SyndicateJawsOfLife",
"PowerDrill",
"Omnitool",
"GasPressurePump",
"GasVolumePump",
"PortableScrubber",
"ParticleAcceleratorControlBox",
"GasFilter",
"GasFilterFlipped",
"GasMixer",
"GasMixerFlipped",
"HospitalCurtainsOpen",
"CargoPallet",
"ParticlesProjectile",
"FloorDrain",
"Floodlight",
"HolosignWetFloor",
"HeadSkeleton", "HeadSkeleton",
"PoweredSmallLightEmpty",
"PoweredSmallLight",
"PoweredLightPostSmallEmpty",
"PoweredLightPostSmall",
"DeployableBarrier",
"CrateArtifactContainer", "CrateArtifactContainer",
"CloningPod",
"GravityGenerator",
"GravityGeneratorMini",
"AirlockExternalShuttleLocked",
"AirlockExternalGlassShuttleLocked",
"AirlockExternalGlassShuttleEmergencyLocked",
"AirlockShuttle",
"AirlockGlassShuttle",
// The followjng are all fixture-less phsyics entities that set can-collide to false on init. // The followjng are all fixture-less phsyics entities that set can-collide to false on init.
"CarpRift", "CarpRift",
"GasMinerOxygen", "GasMinerOxygen",

View File

@@ -52,6 +52,7 @@
baseSprintSpeed: 0 baseSprintSpeed: 0
- type: Speech - type: Speech
- type: SkeletonAccent - type: SkeletonAccent
- type: Actions
- type: Vocal - type: Vocal
maleScream: /Audio/Voice/Skeleton/skeleton_scream.ogg maleScream: /Audio/Voice/Skeleton/skeleton_scream.ogg
femaleScream: /Audio/Voice/Skeleton/skeleton_scream.ogg femaleScream: /Audio/Voice/Skeleton/skeleton_scream.ogg
@@ -61,7 +62,6 @@
proper: true proper: true
- type: Examiner - type: Examiner
- type: DoAfter - type: DoAfter
- type: Actions
- type: MobState - type: MobState
thresholds: thresholds:
0: Alive 0: Alive

View File

@@ -53,6 +53,8 @@
energy: 2 energy: 2
- type: ToggleableLightVisuals - type: ToggleableLightVisuals
- type: Appearance - type: Appearance
- type: Physics
canCollide: false
- type: entity - type: entity
name: lamp name: lamp

View File

@@ -11,3 +11,5 @@
layers: layers:
- texture: Structures/catwalk.rsi/catwalk_preview.png - texture: Structures/catwalk.rsi/catwalk_preview.png
- type: CollideOnAnchor - type: CollideOnAnchor
- type: Physics
canCollide: false

View File

@@ -248,6 +248,7 @@
anchored: true anchored: true
- type: Physics - type: Physics
bodyType: Static bodyType: Static
canCollide: false
- type: Drain - type: Drain
- type: AmbientSound - type: AmbientSound
enabled: false enabled: false

View File

@@ -12,6 +12,8 @@
state: idle state: idle
- type: InteractionOutline - type: InteractionOutline
- type: Physics - type: Physics
bodyType: Dynamic
canCollide: false
- type: Fixtures - type: Fixtures
fixtures: fixtures:
- shape: - shape:

View File

@@ -24,6 +24,7 @@
qualities: qualities:
- Prying - Prying
speed: 1.5 speed: 1.5
useSound: /Audio/Items/jaws_pry.ogg
- type: ToolForcePowered - type: ToolForcePowered
- type: MultipleTool - type: MultipleTool
statusShowBehavior: true statusShowBehavior: true

View File

@@ -222,6 +222,7 @@
qualities: qualities:
- Screwing - Screwing
speed: 1.5 speed: 1.5
useSound: /Audio/Items/drill_use.ogg
- type: MultipleTool - type: MultipleTool
statusShowBehavior: true statusShowBehavior: true
entries: entries:
@@ -320,6 +321,7 @@
qualities: qualities:
- Screwing - Screwing
speed: 1.2 # Kept for future adjustments. Currently 1.2x for balance speed: 1.2 # Kept for future adjustments. Currently 1.2x for balance
useSound: /Audio/Items/drill_use.ogg
- type: MultipleTool - type: MultipleTool
statusShowBehavior: true statusShowBehavior: true
entries: entries:

View File

@@ -67,3 +67,5 @@
state: Open state: Open
- type: Occluder - type: Occluder
enabled: false enabled: false
- type: Physics
canCollide: false

View File

@@ -9,6 +9,7 @@
anchored: true anchored: true
- type: Physics - type: Physics
bodyType: Static bodyType: Static
canCollide: false
- type: Sprite - type: Sprite
sprite: Structures/Holo/wetfloor.rsi sprite: Structures/Holo/wetfloor.rsi
state: icon state: icon

View File

@@ -248,6 +248,9 @@
- type: PointLight - type: PointLight
enabled: false enabled: false
offset: "0, -0.5" offset: "0, -0.5"
- type: ContainerContainer
containers:
light_bulb: !type:ContainerSlot
- type: PoweredLight - type: PoweredLight
bulb: Bulb bulb: Bulb
damage: damage:
@@ -262,6 +265,11 @@
- type: Appearance - type: Appearance
visuals: visuals:
- type: PoweredLightVisualizer - type: PoweredLightVisualizer
- type: SignalReceiver
inputs:
On: []
Off: []
Toggle: []
- type: entity - type: entity
id: PoweredSmallLight id: PoweredSmallLight

View File

@@ -95,6 +95,11 @@
- type: PoweredLightVisualizer - type: PoweredLightVisualizer
blinkingSound: blinkingSound:
path: "/Audio/Machines/light_tube_on.ogg" path: "/Audio/Machines/light_tube_on.ogg"
- type: SignalReceiver
inputs:
On: []
Off: []
Toggle: []
- type: entity - type: entity
id: PoweredLightPostSmall id: PoweredLightPostSmall

View File

@@ -29,6 +29,13 @@
- type: Construction - type: Construction
graph: Machine graph: Machine
node: machine node: machine
containers:
- machine_board
- machine_parts
- clonepod-bodyContainer
- type: SignalReceiver
inputs:
CloningPodReceiver: []
- type: EmptyOnMachineDeconstruct - type: EmptyOnMachineDeconstruct
containers: containers:
- clonepod-bodyContainer - clonepod-bodyContainer

View File

@@ -7,6 +7,7 @@
mode: AlignTileAny mode: AlignTileAny
components: components:
- type: AmbientSound - type: AmbientSound
enabled: false
volume: -6 volume: -6
range: 7 range: 7
sound: sound:
@@ -25,6 +26,7 @@
- type: Transform - type: Transform
anchored: true anchored: true
- type: ApcPowerReceiver - type: ApcPowerReceiver
powerLoad: 2500
- type: ExtensionCableReceiver - type: ExtensionCableReceiver
- type: Physics - type: Physics
bodyType: Static bodyType: Static
@@ -67,6 +69,7 @@
off: "off" off: "off"
on: "on" on: "on"
- type: PointLight - type: PointLight
radius: 2.5
energy: 0.5 energy: 0.5
# Gravity generator is a large machine, not casting shadows is fine within the radius set above. # Gravity generator is a large machine, not casting shadows is fine within the radius set above.
castShadows: false castShadows: false
@@ -103,6 +106,8 @@
- LargeMobMask - LargeMobMask
layer: layer:
- WallLayer - WallLayer
- type: ApcPowerReceiver
powerLoad: 500
- type: GravityGenerator - type: GravityGenerator
idlePower: 15 idlePower: 15
activePower: 500 activePower: 500

View File

@@ -46,6 +46,7 @@
False: { state: pumpPressure } False: { state: pumpPressure }
- type: PipeColorVisuals - type: PipeColorVisuals
- type: GasPressurePump - type: GasPressurePump
enabled: false
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.GasPressurePumpUiKey.Key - key: enum.GasPressurePumpUiKey.Key
@@ -86,6 +87,7 @@
False: { state: pumpVolume } False: { state: pumpVolume }
- type: PipeColorVisuals - type: PipeColorVisuals
- type: GasVolumePump - type: GasVolumePump
enabled: false
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.GasVolumePumpUiKey.Key - key: enum.GasVolumePumpUiKey.Key

View File

@@ -9,6 +9,7 @@
- type: InteractionOutline - type: InteractionOutline
- type: Physics - type: Physics
bodyType: Dynamic bodyType: Dynamic
canCollide: false
- type: Fixtures - type: Fixtures
fixtures: fixtures:
- shape: - shape:

View File

@@ -56,6 +56,7 @@
- key: enum.GasFilterUiKey.Key - key: enum.GasFilterUiKey.Key
type: GasFilterBoundUserInterface type: GasFilterBoundUserInterface
- type: GasFilter - type: GasFilter
enabled: false
- type: Flippable - type: Flippable
mirrorEntity: GasFilterFlipped mirrorEntity: GasFilterFlipped
- type: Construction - type: Construction
@@ -142,6 +143,7 @@
- key: enum.GasMixerUiKey.Key - key: enum.GasMixerUiKey.Key
type: GasMixerBoundUserInterface type: GasMixerBoundUserInterface
- type: GasMixer - type: GasMixer
enabled: false
inletOne: inlet inletOne: inlet
inletTwo: filter inletTwo: filter
- type: Flippable - type: Flippable

View File

@@ -18,6 +18,7 @@
- type: ParticleAcceleratorPartVisualizer - type: ParticleAcceleratorPartVisualizer
baseState: unlit baseState: unlit
- type: ApcPowerReceiver - type: ApcPowerReceiver
powerLoad: 250
- type: ExtensionCableReceiver - type: ExtensionCableReceiver
- type: ParticleAcceleratorControlBox - type: ParticleAcceleratorControlBox
- type: Construction - type: Construction

View File

@@ -4,6 +4,7 @@
abstract: true abstract: true
components: components:
- type: AmbientSound - type: AmbientSound
enabled: false
range: 4 range: 4
volume: -4 volume: -4
sound: sound: