From 5b094ab7eda7904dd83e9ed43c029b99994e90d7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:17:07 +0000 Subject: [PATCH] update slate[no ci] --- docs/game_data/spel2.lua | 2 +- docs/index.html | 2 +- docs/light.html | 2 +- docs/src/includes/_globals.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 @@
Search script examples for get_entity_name
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
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
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
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, optionalfallback_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