npo6ka / FNEI

Factorio NEI
https://mods.factorio.com/mods/npo6ka/FNEI
36 stars 21 forks source link

recipe gui: fix caption generation for recipes #48

Closed maniak1349 closed 5 years ago

maniak1349 commented 5 years ago
npo6ka commented 5 years ago

Thank you for your help in developing the mod. I implemented this a little differently. (068cf44abd628f5c6d41624caa0442834689c470)

maniak1349 commented 5 years ago

I still think that for probability+amount recipes "Amount x Chance Item" is a little mislead wording. It makes one think that for each recipe iteration game will roll Amount times for a single item/liquid unit with certain Chance while in reality game rolls once with Chance to get a full set of items or none at all.

npo6ka commented 5 years ago

How else to show it?

maniak1349 commented 5 years ago

"Chance x Amount x Item" or "Chance Amount x Item". It will be both more in line with basic "Amount x Item" caption and will form much more streamlined sentence when you read it:

With a chance [X%] you will get [Y] units of [ItemName].