Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+1)

Premium crafting slots might be bugged, unless I'm misinterpreting.  It states: 
"Impurity is halved, and purity is doubled."

However Aluminium is going from 1.5 impurity to 1.25 impurity, instead of 0.75, as expected.

The line of code that says `impurity *= isPremium ? ((impurityBase - 1) / 2 + 1) : impurityBase;` - I'm not sure why it's subtracting one before the division, and then adding one back, but without those 1's, it comes out to the expected amount (0.712499999 because of the 0.95 on the line before it)  It looks like you're only having the decimal portion, but if so, then it's definitely not as described.

(+1)(-1)

They work as intended. Base impurity is always 1 and impurity from each crafting slot gets multiplied. Example, you have 3 slots:

No premium slots: 2 imp, 3 imp, 3, imp, result: 18 imp

1 premium slot: 1.5 imp, 3 imp, 3 imp, result: 13.5 imp

2 premium slots: 1.5 imp, 2 imp, 3 imp, result: 9 imp

(1 edit) (+1)

I think the code is working correctly but the description is wrong. It should be halving impurity penalty, not impurity.

Edit:typo