pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
5 stars 1 forks source link

The fluid index works according to the internal names of fluids and not the fluid names shown to the player #497

Closed XayadSC closed 1 month ago

XayadSC commented 1 month ago

Mod source

Factorio Mod Portal

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

Some fluids are not possible to find in the pY codex by searching their in game name, such as Shale oil or Muddy Sludge.

They still appear in the fluid index, but you either need to scroll to them or search for their hidden internal names.

The alphabetical order of the fluid index also follows the internal names and not the shown names.

I haven't tested all fluids of course, these are just some that i found having mismatched internal and shown names: Shale Oil Muddy Sludge Tailings Arqad Venom Americium curium waste stream Americium oxide waste stream Aluminium pulp ( stages 1 to 4 ) Knallgas bacteria Diamond water ( grade 1 to 3 ) Vanadium pulp ( Stage 1 to 5 )

Also, the fluid index shows fluids that are not obtainable in the game such as various enrichment % of " enriched uranium " , " mukmoux oil " , " processed light oil " or " thorium pulp " .

Steps to reproduce

No response

Additional context

image Shale oil cannot be searched.

image Muddy Sludge appears when searching for " water " and does not appear when searching for " muddy " or " sludge ". The internal name of Tailings and Muddy Sludge is what is used for the alphabetical ordering of the fluids instead of their shown names.

image Unnobtainable fluids showing up in the index.

Log file

No response

notnotmelon commented 1 month ago

The second issue is fixed. Thanks for the report. https://github.com/pyanodon/pyalternativeenergy/commit/866c280fddc8e496eb1077c1e84d8a902341e7a2

The first issue will wait until factorio 2.0. There is an API feature coming that will help.