Helfima / helmod

Factorio Mod
149 stars 64 forks source link

Link/unlinked block are ignored. #522

Closed Paraplegix closed 1 month ago

Paraplegix commented 2 months ago

Following #511 with version 1.0.8. But now i'm not sure if 511 is relevant anymore.

So starting with similar setup as 511 step 1.

Moss sublock isn't linked as it's by factory.

But if I add a step in the wood sub block that require 257.2 moss, value for the moss sub block get changed too, even if it's unlinked and computed "by factory".

In the "main block" view, the value of moss is changed to 257.2. Also now different than before, the number of factory get bumped to 54 and the "block count" stay at 1. While before, building count stayed at 50, but "block count"/"recipe" went to 1.08. image

In the moss sub block view, the value of moss is changed to 257.2. The total number of factory is 54, but the line still is configured with 50 factory. image

If change the moss block to be "By element" and manually set it to 240 moss (for 50 buildings). In the main block view it will show 1.1 "blocks count"/"recipe", 50 factory and 257.2 moss wether the block is linked or unlinked. image image

Inside the block it will show the value 240 output, 50 factory even when the block is supposed to be "linked" image

Also noticed some inconsistency in usage of word "Factory" and "Building" to describe same thing ? Hovering above a cell fo the "Factory" columns show a tooltip with "Building information". Notably the "count" of different building in the block, yet the "buildings" number inside the block are shown in the column "Factory". image

Helfima commented 1 month ago

fixed in v1.0.10