Search found 2 matches

by punapantteri
Wed Jan 11, 2023 8:47 am
Forum: Not a bug
Topic: [1.1.74] Localised item name is not found for some items
Replies: 2
Views: 1092

Re: [1.1.74] Localised item name is not found for some items

Thank you for the response, it helped me figure this out.

Adding this here in case someone has the same need later.

Arbitrary item name localisation can be done with this code:

game.item_prototypes["pipe-to-ground"].localised_name

Source: https://forums.factorio.com/viewtopic.php?p=211060 ...
by punapantteri
Fri Dec 30, 2022 9:10 pm
Forum: Not a bug
Topic: [1.1.74] Localised item name is not found for some items
Replies: 2
Views: 1092

[1.1.74] Localised item name is not found for some items

I am developing a mod that displays resource objectives. However, pipe-to-ground does not return the localised item name: objective.png


To demonstrate the issue more easily, here's how to replicate it in the command prompt / in-game chat.

When I run this, everything works as expected:
/c game ...

Go to advanced search