Method SameKindHeapCollapsesWithTheSum
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
SameKindHeapCollapsesWithTheSum()
A heap of the same kind costs ONE label, reading the summed amount. Two piles of the same item that would overlap on screen have to collapse - the rule used to be a fixed 26 px radius, measured against plates ~140 px wide, so a heap never collapsed at all and the arranger spread the plates into a 200 px ladder.
Gold is what this is measured with because it is what stacks: SpawnItem(path, count: 10) on an ingot
gives one item with Amount 1, not a stack of ten (that is how the first version of this test failed).
public IEnumerator SameKindHeapCollapsesWithTheSum()