[FIX] PanD.E.M.I.C 2200 can now show antibodies in sample with active virus (#26120)

* Replica syndicate space suit sprites

* Revert "Replica syndicate space suit sprites"

This reverts commit 1fb5cf68ac.

* Anti-bodies now visible if virus is present

* Run Prettier

* Fixes spacing with stealth virus

* I must please prettier (again)

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
Adrer
2024-07-20 19:07:27 +00:00
committed by GitHub
co-authored by adrermail@gmail.com <adrermail@gmail.com> Burzah
parent 9635b91dfd
commit b941206849
2 changed files with 9 additions and 10 deletions
+8 -9
View File
@@ -51,13 +51,14 @@ export const PanDEMIC = (props, context) => {
<Window width={575} height={510}>
<Window.Content>
<Stack fill vertical>
{emptyPlaceholder && (
<Section title="Container Information" buttons={<CommonCultureActions />}>
{emptyPlaceholder && !beakerContainsVirus ? (
<Section title="Container Information" buttons={<CommonCultureActions fill vertical />}>
<NoticeBox>{emptyPlaceholder}</NoticeBox>
{resistances?.length > 0 && <ResistancesSection />}
</Section>
) : (
<CultureInformationSection />
)}
{!!beakerContainsVirus && <CultureInformationSection />}
{resistances?.length > 0 && <ResistancesSection align="bottom" />}
</Stack>
</Window.Content>
</Window>
@@ -201,11 +202,9 @@ const CultureInformationSection = (props, context) => {
if (strains.length === 0) {
return (
<Stack fill vertical>
<Section title="Container Information" buttons={<CommonCultureActions />}>
<NoticeBox>No disease detected in provided blood sample.</NoticeBox>
</Section>
</Stack>
<Section title="Container Information" buttons={<CommonCultureActions />}>
<NoticeBox>No disease detected in provided blood sample.</NoticeBox>
</Section>
);
}
File diff suppressed because one or more lines are too long