Fix windoor prototypes (#16224)

This commit is contained in:
Leon Friedrich
2023-05-08 12:36:25 +12:00
committed by GitHub
parent d1353caf8d
commit 4c620862bd
3 changed files with 9 additions and 52 deletions

View File

@@ -28,7 +28,7 @@ namespace Content.IntegrationTests.Tests;
/// modified during init. I.e., when the entity is saved to the map, its data is simply the default prototype data (ignoring transform component).
/// </summary>
/// <remarks>
/// If you are here becaus your test is failing, one easy way of figuring out how to fix the prototype is to just
/// If you are here because this test is failing on your PR, then one easy way of figuring out how to fix the prototype is to just
/// spawn it into a new empty map and seeing what the map yml looks like.
/// </remarks>
[TestFixture]
@@ -38,57 +38,8 @@ public sealed class PrototypeSaveTest
{
"Singularity", // physics collision uses "AllMask" (-1). The flag serializer currently fails to save this because this features un-named bits.
"constructionghost",
// URGH door pr but I just don't
"BlastDoorBridgeOpen",
"Windoor",
"WindoorSecure",
"WindoorSecureCargoLocked",
"WindoorTheatreLocked",
"BlastDoorBridge",
"WindoorSecureJanitorLocked",
"ShuttersWindow",
"WindoorScienceLocked",
"WindoorJanitorLocked",
"WindoorEngineeringLocked",
"BlastDoorExterior2",
"WindoorChemistryLocked",
"BlastDoorExterior3",
"WindoorMedicalLocked",
"ShuttersNormalOpen",
"WindoorBarKitchenLocked",
"BlastDoorOpen",
"ShuttersRadiationOpen",
"BlastDoorWindowsOpen",
"WindoorBarLocked",
"WindoorChapelLocked",
"WindoorArmoryLocked",
"BlastDoorExterior3Open",
"WindoorCargoLocked",
"WindoorSecurityLocked",
"WindoorExternalLocked",
"WindoorBrigLocked",
"WindoorHydroponicsLocked",
"ShuttersWindowOpen",
"WindoorKitchenHydroponicsLocked",
"WindoorSecureChapelLocked",
"BlastDoorExterior1Open",
"WindoorKitchenLocked",
"BlastDoor",
"BlastDoorWindows",
"BlastDoorExterior1",
"BlastDoorExterior2Open",
"WindoorSecureKitchenLocked",
"WindoorHeadOfPersonnelLocked",
"ShuttersRadiation",
"ShuttersNormal",
"WindoorSecureSalvageLocked",
"WindoorServiceLocked",
"WindoorCommandLocked",
"AirlockMaintMedLocked",
"AirlockArmoryGlassLocked",
"AirlockExternalGlassLocked",
"AirlockFreezerKitchenHydroLocked",
"AirlockGlassShuttle",
// Don't add to this list unless you have a good reason
// Or it is just temporary because tests stopped working and now master has too many broken entities.
};
[Test]

View File

@@ -86,6 +86,9 @@
- Open
- Close
- Toggle
- type: DeviceLinkSource
ports:
- DoorStatus
- type: InteractionPopup
interactSuccessString: comp-window-knock
messagePerceivedByOthers: comp-window-knock

View File

@@ -57,6 +57,9 @@
- Close
- Toggle
- AutoClose
- type: DeviceLinkSource
ports:
- DoorStatus
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass