Reworded duplicate influence/relic notifs

This commit is contained in:
thepaperpilot 2023-05-14 12:07:25 -05:00
parent c8efdea999
commit f2cc6195c7

View file

@ -1031,7 +1031,7 @@ export function createPlane(
onComplete = () => { onComplete = () => {
if (randomInfluence in main.influenceNodes.value) { if (randomInfluence in main.influenceNodes.value) {
toast.warning( toast.warning(
`Error: ignoring duplicate portal influence (${influenceTypes[randomInfluence].display})` `You already have a ${influenceTypes[randomInfluence].display} influence, skipping treasure`
); );
return; return;
} }
@ -1078,7 +1078,9 @@ export function createPlane(
main.board.placeInAvailableSpace(node); main.board.placeInAvailableSpace(node);
main.board.nodes.value.push(node); main.board.nodes.value.push(node);
} else { } else {
toast.warning(`Error: ignoring duplicate relic (${relics[tier]})`); toast.warning(
`You already have a ${relics[tier]} relic, skipping treasure`
);
} }
}; };
} }