mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
[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:
co-authored by
adrermail@gmail.com <adrermail@gmail.com>
Burzah
parent
9635b91dfd
commit
b941206849
@@ -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
Reference in New Issue
Block a user