diff --git a/changelog.txt b/changelog.txt index 6c1185e..33e155d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.1.6 +Date: 2023-04-10 + Changes: + - Add deprecation info +--------------------------------------------------------------------------------------------------- Version: 1.1.5 Date: 2023-03-15 Locale: diff --git a/control.lua b/control.lua index 71d1243..bb98250 100644 --- a/control.lua +++ b/control.lua @@ -613,6 +613,13 @@ script.on_event(defines.events.on_player_changed_position, function (event) gui_close(event) end end + + -- mod migration info + local mod_migration_info = get_global_player_info(event.player_index, "mod_migration_info") + if not mod_migration_info then + player.print({"", "[img=entity.copper-display] ",{"display-plates.mod-migration-info"}}) + set_global_player_info(event.player_index, "mod_migration_info", true) + end end) script.on_event(defines.events.on_gui_text_changed, function(event) diff --git a/info.json b/info.json index acbe8a9..72d6c9a 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "IndustrialDisplayPlates", - "version": "1.1.5", + "version": "1.1.6", "title": "Industrial Display Plates", "author": "Wyrrrd", "homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates", diff --git a/locale/de/strings.cfg b/locale/de/strings.cfg index b2fab0c..2fba991 100644 --- a/locale/de/strings.cfg +++ b/locale/de/strings.cfg @@ -1,5 +1,6 @@ [display-plates] blueprint-wont-have-icons=Dieser aktualisierte Blaupause wird keine Symbole oder Kartenmarkierungen der Anzeigeplatten enthalten. Um diese hinzuzufügen, erstelle eine neue Blaupause. +mod-migration-info=Die Mod "IndustrialDisplayPlates" wird demnächst eingestellt. Bitte migrieren Sie auf "DisplayPlates" wie auf der Mod-Portal-Seite beschrieben. [entity-name] copper-display=Kupferanzeigeplatte (groß) diff --git a/locale/en/strings.cfg b/locale/en/strings.cfg index cfec795..9b9c2e6 100644 --- a/locale/en/strings.cfg +++ b/locale/en/strings.cfg @@ -1,5 +1,6 @@ [display-plates] blueprint-wont-have-icons=This updated blueprint will not contain any icons or map markers of the display plates. To include them, create a new blueprint. +mod-migration-info=The mod "IndustrialDisplayPlates" will retire soon. Please migrate to "DisplayPlates" as described on the mod portal page. [entity-name] copper-display=Copper display plate (large) diff --git a/locale/fr/strings.cfg b/locale/fr/strings.cfg index 6b22d0d..61b99b5 100644 --- a/locale/fr/strings.cfg +++ b/locale/fr/strings.cfg @@ -1,5 +1,6 @@ [display-plates] blueprint-wont-have-icons=Ce plan mis à jour ne contiendra pas les icônes ni les marqueurs de carte des panneaux d'affichage. Pour les inclure, créez-en un nouveau. +mod-migration-info=Le mod "IndustrialDisplayPlates" sera bientôt retiré. Veuillez migrer vers "DisplayPlates" comme décrit sur la page portail du mod. [entity-name] copper-display=Panneau d'affichage en Cuivre (Grand) diff --git a/locale/zh-CN/strings.cfg b/locale/zh-CN/strings.cfg index b5bff83..dcca808 100644 --- a/locale/zh-CN/strings.cfg +++ b/locale/zh-CN/strings.cfg @@ -4,6 +4,7 @@ IndustrialDisplayPlates=工业展示板 IndustrialDisplayPlates=显示物品、流体和信号图标的大、中、小标志。可用于绘制包含地图标记的蓝图。 [display-plates] blueprint-wont-have-icons=此更新的蓝图将不包含任何显示板的图标或地图标记。要包含它们,请创建一个新的蓝图。 +mod-migration-info="IndustrialDisplayPlates "修改即将退役。请迁移到 "DisplayPlates",如修改门户页面上所描述的。 [entity-name] copper-display=铜质显示板(大)