Code: Select all
[item-name]
X = X item name
[item-description]
X = X item description
[entity-name]
X = X entity name
[entity-description]
X = X entity description
When I hover over the item in an inventory or quickbar, I see "X entity name" and "X item description" (I expect "X item name" and "X item description")
If I drop the item on map, when I hover over its item-entity (item-on-ground), I see: "X entity name" and no description (I expect "X item name" and "X item description")
While placing the entity on map, I see "X entity name" and "X entity description" (this is correct)
When hovering placed entity, I see "X entity name" and "X entity description" (this is correct)
Other notes which may or may not be relevant:
1. I tried setting `[recipe-name] X = recipe name` (obvs. with a line feed in there) in locale file - did not have any effect. (I would expect recipe name/description to override item name/description in crafting menu)
2. I tried setting, in the item prototype, `locale_name = { "item-name.X" }` - did not have any effect. (I would expect setting locale_name/locale_description) on any prototype to override the respective locale keys for that prototype, thus allowing re-use of existing translations)
It seems that items default to the name of the entity they create when placed (`place_result`), even if the name of the item is defined. Yet they correctly use item description in preference to entity description.