Skip to content

Enhancement: round fluid values in log messages #276

Open

Description

@nicolas-lang

image

Activity

  1. changed the title [-]Enhancement round fluid values in log messages[/-] [+]Enhancement: round fluid values in log messages[/+] on Nov 7, 2021
  2. nicolas-lang commented on Nov 7, 2021

    @nicolas-lang
    Author

    Hi,
    while it is only a minor inconvenience I think it might be a nice improvement to slightly round the fluid values being displayed in the LTN messages.

    (not sure why there is the bug label, it was not my intention to raise this as a bug, sorry)

  3. 0ptera commented on Nov 14, 2021

    @0ptera
    Owner

    Would require either:

    1. rounding fluid values internally
    2. printing different messages for fluids and items

    Neither option seems worth it to me.

  4. nicolas-lang commented on Nov 14, 2021

    @nicolas-lang
    Author

    I understand that you would consider additional logic just to get this done "not worth it" and I agree 100%.

    From my perspective I can't think of any situations were it would be an issue to just round all the numbers in the "itemcount itemtype" part.
    --> rounding fluids values: intended
    --> rounding item counts: rounding an integer has no effect
    --> rounding item stack counts: I don't know if LTN even even supports delivering 3.74 stacks, but I don't see any harm rounding the displayed value to 2 decimals.

    This would meant that there is no "additional logic" required, just an additional ceil(...) where the info message is generated.

    ( P.S. this is very low priority for sure. )

  5. danbopes commented on Feb 8, 2022

    @danbopes

    I too found the weird decimal point cluttering to my UI, and actively searched to try and find a setting to round these numbers to no avail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions