mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Reworded duplicate influence/relic notifs
This commit is contained in:
parent
c8efdea999
commit
f2cc6195c7
1 changed files with 4 additions and 2 deletions
|
@ -1031,7 +1031,7 @@ export function createPlane(
|
|||
onComplete = () => {
|
||||
if (randomInfluence in main.influenceNodes.value) {
|
||||
toast.warning(
|
||||
`Error: ignoring duplicate portal influence (${influenceTypes[randomInfluence].display})`
|
||||
`You already have a ${influenceTypes[randomInfluence].display} influence, skipping treasure`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
@ -1078,7 +1078,9 @@ export function createPlane(
|
|||
main.board.placeInAvailableSpace(node);
|
||||
main.board.nodes.value.push(node);
|
||||
} else {
|
||||
toast.warning(`Error: ignoring duplicate relic (${relics[tier]})`);
|
||||
toast.warning(
|
||||
`You already have a ${relics[tier]} relic, skipping treasure`
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue