diff --git a/docs/game_data/spel2.lua b/docs/game_data/spel2.lua index 7dfbeb998..915759e34 100644 --- a/docs/game_data/spel2.lua +++ b/docs/game_data/spel2.lua @@ -1013,7 +1013,7 @@ function change_string(id, str) end ---@param str string ---@return STRINGID function add_string(str) end ----Get localized name of an entity, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name +---Get localized name of an entity from the journal, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name ---if the entity has no localized name ---@param type ENT_TYPE ---@param fallback_strategy boolean? diff --git a/docs/index.html b/docs/index.html index 58cf3ab7c..50a008a9c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4680,7 +4680,7 @@

get_entity_name

Search script examples for get_entity_name

string get_entity_name(ENT_TYPE type, optional fallback_strategy)

-

Get localized name of an entity, pass fallback_strategy as true to fall back to the ENT_TYPE.* enum name +

Get localized name of an entity from the journal, pass fallback_strategy as true to fall back to the ENT_TYPE.* enum name if the entity has no localized name

get_entity_type

diff --git a/docs/light.html b/docs/light.html index 6aae50bf2..dffd78b87 100644 --- a/docs/light.html +++ b/docs/light.html @@ -4680,7 +4680,7 @@

get_entity_name

Search script examples for get_entity_name

string get_entity_name(ENT_TYPE type, optional fallback_strategy)

-

Get localized name of an entity, pass fallback_strategy as true to fall back to the ENT_TYPE.* enum name +

Get localized name of an entity from the journal, pass fallback_strategy as true to fall back to the ENT_TYPE.* enum name if the entity has no localized name

get_entity_type

diff --git a/docs/src/includes/_globals.md b/docs/src/includes/_globals.md index 6202c580b..eefdda17e 100644 --- a/docs/src/includes/_globals.md +++ b/docs/src/includes/_globals.md @@ -718,7 +718,7 @@ Get the [Entity](#Entity) behind an uid, converted to the correct type. To see w #### string get_entity_name([ENT_TYPE](#ENT_TYPE) type, optional fallback_strategy) -Get localized name of an entity, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name +Get localized name of an entity from the journal, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name if the entity has no localized name ### get_entity_type