How to make a upgrade boost a layers currency gain?

Hi! this is me, blazin!

I have an question for you, smart-brains…

How to make a upgrade boost a layers currency gain?

If you want it to boost the layer it is in, do this in layer.js

if (hasUpgrade('layerid', 11)) mult = mult.times(2)

        11: {
    title: "name",
    description: "x2 any layer you want.",
    cost: new Decimal(10),
        },

Its really easy and doesn’t require any smart-brain, :slightly_smiling_face:

edit: you also need to change mult = new Decimal(1) to let mult = new Decimal(1)

1 Like