fixing a bunch more prototype save tests (#12390)

This commit is contained in:
rolfero
2022-11-05 16:23:30 +01:00
committed by GitHub
parent e9964658a2
commit 7e3358375d
24 changed files with 116 additions and 46 deletions

View File

@@ -53,16 +53,8 @@ public sealed class PrototypeSaveTest
"GlowstickBlue", "GlowstickBlue",
"Thruster", "Thruster",
"Gyroscope", "Gyroscope",
"RemoteSignaller",
"filingCabinet",
"filingCabinetTall",
"filingCabinetDrawer",
"WeaponLauncherChinaLake",
"WeaponLauncherRocket",
"WeaponLauncherMultipleRocket",
"JawsOfLife", "JawsOfLife",
"SyndicateJawsOfLife", "SyndicateJawsOfLife",
"LightReplacer",
"PowerDrill", "PowerDrill",
"Omnitool", "Omnitool",
"GasPressurePump", "GasPressurePump",
@@ -75,24 +67,9 @@ public sealed class PrototypeSaveTest
"GasMixerFlipped", "GasMixerFlipped",
"HospitalCurtainsOpen", "HospitalCurtainsOpen",
"CargoPallet", "CargoPallet",
"DisposalHolder",
"ParticlesProjectile", "ParticlesProjectile",
"AMEController",
"AMEControllerUnanchored",
"MopBucket",
"JanitorialTrolley",
"FloorDrain", "FloorDrain",
"OrganHumanLungs",
"SprayBottle",
"OrganRatLungs",
"SentientSlimeCore",
"OrganSlimeLungs",
"OrganVoxLungs",
"OrganAnimalLungs",
"Floodlight", "Floodlight",
"EmergencyMedipen",
"AntiPoisonMedipen",
"SpaceMedipen",
"HolosignWetFloor", "HolosignWetFloor",
"HeadSkeleton", "HeadSkeleton",
"PoweredSmallLightEmpty", "PoweredSmallLightEmpty",
@@ -102,29 +79,11 @@ public sealed class PrototypeSaveTest
"DeployableBarrier", "DeployableBarrier",
"CrateArtifactContainer", "CrateArtifactContainer",
"CloningPod", "CloningPod",
"DrinkColaCan",
"WeaponImprovisedPneumaticCannon",
"LauncherCreamPie",
"GravityGenerator", "GravityGenerator",
"GravityGeneratorMini", "GravityGeneratorMini",
"MagazinePistolSubMachineGunTopMounted",
"EpinephrineChemistryBottle",
"RobustHarvestChemistryBottle",
"NocturineChemistryBottle",
"EphedrineChemistryBottle",
"OmnizineChemistryBottle",
"Beaker",
"LargeBeaker",
"CryostasisBeaker",
"BluespaceBeaker",
"ClusterBang",
"ClusterBangFull",
"Vaccinator",
"AirlockExternalShuttleLocked", "AirlockExternalShuttleLocked",
"AirlockExternalGlassShuttleLocked", "AirlockExternalGlassShuttleLocked",
"AirlockExternalGlassShuttleEmergencyLocked", "AirlockExternalGlassShuttleEmergencyLocked",
"ClothingHeadHatChef",
"Bucket",
"AirlockShuttle", "AirlockShuttle",
"AirlockGlassShuttle", "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.

View File

@@ -27,6 +27,11 @@
groups: groups:
- id: Gas - id: Gas
rateModifier: 100.0 rateModifier: 100.0
- type: SolutionContainerManager
solutions:
Lung:
maxVol: 100.0
canReact: false
- type: entity - type: entity
id: OrganAnimalStomach id: OrganAnimalStomach

View File

@@ -99,6 +99,15 @@
groups: groups:
- id: Gas - id: Gas
rateModifier: 100.0 rateModifier: 100.0
- type: SolutionContainerManager
solutions:
organ:
reagents:
- ReagentId: Nutriment
Quantity: 10
Lung:
maxVol: 100.0
canReact: false
- type: entity - type: entity
id: OrganHumanHeart id: OrganHumanHeart

View File

@@ -21,6 +21,11 @@
- id: Medicine - id: Medicine
- id: Poison - id: Poison
- id: Narcotic - id: Narcotic
- type: SolutionContainerManager
solutions:
stomach:
maxVol: 50.0
- type: entity - type: entity
id: OrganSlimeLungs id: OrganSlimeLungs
@@ -42,3 +47,12 @@
groups: groups:
- id: Gas - id: Gas
rateModifier: 100.0 rateModifier: 100.0
- type: SolutionContainerManager
solutions:
organ:
reagents:
- ReagentId: Nutriment
Quantity: 10
Lung:
maxVol: 100.0
canReact: false

View File

@@ -113,6 +113,9 @@
interfaces: interfaces:
- key: enum.StorageUiKey.Key - key: enum.StorageUiKey.Key
type: StorageBoundUserInterface type: StorageBoundUserInterface
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: entity - type: entity
parent: ClothingHeadBase parent: ClothingHeadBase

View File

@@ -65,7 +65,6 @@
tags: tags:
- Cola - Cola
- Recyclable - Recyclable
- Trash
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/cola.rsi sprite: Objects/Consumable/Drinks/cola.rsi
- type: Item - type: Item

View File

@@ -13,3 +13,6 @@
- type: UseDelay - type: UseDelay
- type: StaticPrice - type: StaticPrice
price: 40 price: 40
- type: SignalTransmitter
outputs:
Pressed: []

View File

@@ -46,6 +46,9 @@
- type: Spillable - type: Spillable
solution: spray solution: spray
- type: ItemCooldown - type: ItemCooldown
- type: Tag
tags:
- Spray
- type: Spray - type: Spray
transferAmount: 1 transferAmount: 1
- type: Item - type: Item

View File

@@ -73,6 +73,7 @@
- type: Pullable - type: Pullable
- type: Drink - type: Drink
isOpen: true isOpen: true
solution: bucket
- type: Appearance - type: Appearance
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 3 maxFillLevels: 3
@@ -221,6 +222,13 @@
type: StorageBoundUserInterface type: StorageBoundUserInterface
- type: Drink - type: Drink
isOpen: true isOpen: true
solution: bucket
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
mop_slot: !type:ContainerSlot {}
trashbag_slot: !type:ContainerSlot {}
- type: entity - type: entity
id: FloorDrain id: FloorDrain

View File

@@ -8,6 +8,7 @@
- type: Tag - type: Tag
tags: tags:
- Spray - Spray
- Trash
- type: Sprite - type: Sprite
netsync: false netsync: false
sprite: Objects/Specific/Janitorial/janitorial.rsi sprite: Objects/Specific/Janitorial/janitorial.rsi
@@ -38,6 +39,9 @@
suffix: Filled suffix: Filled
parent: SprayBottle parent: SprayBottle
components: components:
- type: Tag
tags:
- Spray
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
spray: spray:

View File

@@ -96,6 +96,8 @@
Quantity: 12 Quantity: 12
- ReagentId: TranexamicAcid - ReagentId: TranexamicAcid
Quantity: 3 Quantity: 3
- type: Tag
tags: []
- type: entity - type: entity
@@ -113,6 +115,8 @@
Quantity: 10 Quantity: 10
- ReagentId: Epinephrine - ReagentId: Epinephrine
Quantity: 5 Quantity: 5
- type: Tag
tags: []
- type: entity - type: entity
name: space medipen name: space medipen
@@ -143,6 +147,8 @@
Quantity: 10 Quantity: 10
- ReagentId: Barozine - ReagentId: Barozine
Quantity: 20 Quantity: 20
- type: Tag
tags: []
- type: entity - type: entity
name: pen name: pen

View File

@@ -125,6 +125,9 @@
reagents: reagents:
- ReagentId: Epinephrine - ReagentId: Epinephrine
Quantity: 30 Quantity: 30
- type: Tag
tags:
- Bottle
- type: entity - type: entity
id: RobustHarvestChemistryBottle id: RobustHarvestChemistryBottle
@@ -139,6 +142,9 @@
reagents: reagents:
- ReagentId: RobustHarvest - ReagentId: RobustHarvest
Quantity: 30 Quantity: 30
- type: Tag
tags:
- Bottle
- type: entity - type: entity
id: UnstableMutagenChemistryBottle id: UnstableMutagenChemistryBottle
@@ -170,6 +176,9 @@
reagents: reagents:
- ReagentId: Nocturine - ReagentId: Nocturine
Quantity: 30 Quantity: 30
- type: Tag
tags:
- Bottle
- type: entity - type: entity
id: EphedrineChemistryBottle id: EphedrineChemistryBottle
@@ -183,6 +192,9 @@
reagents: reagents:
- ReagentId: Ephedrine - ReagentId: Ephedrine
Quantity: 30 Quantity: 30
- type: Tag
tags:
- Bottle
- type: entity - type: entity
id: OmnizineChemistryBottle id: OmnizineChemistryBottle
@@ -196,3 +208,6 @@
reagents: reagents:
- ReagentId: Omnizine - ReagentId: Omnizine
Quantity: 30 Quantity: 30
- type: Tag
tags:
- Bottle

View File

@@ -40,6 +40,7 @@
type: TransferAmountBoundUserInterface type: TransferAmountBoundUserInterface
- type: Drink - type: Drink
isOpen: true isOpen: true
solution: beaker
- type: Appearance - type: Appearance
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 6 maxFillLevels: 6

View File

@@ -6,6 +6,7 @@
components: components:
- type: Drink - type: Drink
isOpen: true isOpen: true
solution: bucket
- type: Clickable - type: Clickable
- type: Sprite - type: Sprite
netsync: false netsync: false

View File

@@ -22,3 +22,6 @@
- DroneUsable - DroneUsable
- type: StaticPrice - type: StaticPrice
price: 100 price: 100
- type: ContainerContainer
containers:
light_replacer_storage: !type:Container

View File

@@ -96,6 +96,7 @@
steps: 2 steps: 2
zeroVisible: false zeroVisible: false
- type: Appearance - type: Appearance
- type: entity - type: entity
id: MagazinePistolSubMachineGunTopMounted id: MagazinePistolSubMachineGunTopMounted
name: WT550 magazine (.35 auto top-mounted) name: WT550 magazine (.35 auto top-mounted)
@@ -123,6 +124,9 @@
steps: 6 steps: 6
zeroVisible: false zeroVisible: false
- type: Appearance - type: Appearance
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: entity - type: entity
id: MagazinePistolCalicoTopMounted id: MagazinePistolCalicoTopMounted

View File

@@ -16,6 +16,10 @@
size: 60 size: 60
- type: StaticPrice - type: StaticPrice
price: 500 price: 500
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []
- type: entity - type: entity
name: china lake name: china lake
@@ -128,9 +132,6 @@
tags: tags:
- CartridgeRocket - CartridgeRocket
proto: MeteorLarge proto: MeteorLarge
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: entity - type: entity
name: immovable rod launcher name: immovable rod launcher

View File

@@ -31,6 +31,11 @@
- type: Construction - type: Construction
graph: PneumaticCannon graph: PneumaticCannon
node: cannon node: cannon
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
PneumaticCannon-gasTank: !type:ContainerSlot
- type: entity - type: entity
name: pie cannon name: pie cannon
@@ -60,3 +65,8 @@
quickEquip: false quickEquip: false
slots: slots:
- Back - Back
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
PneumaticCannon-gasTank: !type:ContainerSlot

View File

@@ -13,6 +13,9 @@
- type: ClusterGrenadeVisualizer - type: ClusterGrenadeVisualizer
state: base state: base
- type: ClusterGrenade - type: ClusterGrenade
- type: ContainerContainer
containers:
cluster-flash: !type:Container
- type: entity - type: entity
parent: ClusterBang parent: ClusterBang

View File

@@ -24,3 +24,7 @@
runningState: running runningState: running
- type: Machine - type: Machine
board: VaccinatorMachineCircuitboard board: VaccinatorMachineCircuitboard
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container

View File

@@ -65,3 +65,8 @@
- type: Climbable - type: Climbable
- type: StaticPrice - type: StaticPrice
price: 1000 price: 1000
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container
clonepod-bodyContainer: !type:ContainerSlot

View File

@@ -89,3 +89,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: CollideOnAnchor - type: CollideOnAnchor
enable: true enable: true
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container

View File

@@ -64,7 +64,7 @@
- type: DisposalHolder - type: DisposalHolder
- type: ContainerContainer - type: ContainerContainer
containers: containers:
DisposalHolder: !type:Container DisposalHolderComponent: !type:Container
# Pipes # Pipes

View File

@@ -37,6 +37,9 @@
layer: layer:
- MachineLayer - MachineLayer
- type: InteractionOutline - type: InteractionOutline
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: entity - type: entity
name: tall cabinet name: tall cabinet
@@ -90,3 +93,6 @@
layer: layer:
- MachineLayer - MachineLayer
- type: InteractionOutline - type: InteractionOutline
- type: ContainerContainer
containers:
storagebase: !type:Container