From 2e9c2e448788e415dd8385ff4eaf89d394e063da Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 20 Dec 2022 20:46:45 -0600 Subject: [PATCH] Skip black dye for ribbons cost --- src/data/layers/ribbon.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/layers/ribbon.tsx b/src/data/layers/ribbon.tsx index bc6a436..9874705 100644 --- a/src/data/layers/ribbon.tsx +++ b/src/data/layers/ribbon.tsx @@ -41,7 +41,10 @@ const layer = createLayer(id, () => { ) ); const currentDyeType = computed( - () => Object.values(dyes.dyes)[new Decimal(ribbon.value).toNumber() % 6] + () => + Object.values(dyes.dyes).filter(d => d !== dyes.dyes.black)[ + new Decimal(ribbon.value).toNumber() % 6 + ] ); const ribbonProgress = persistent(0);