Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4bf7bf8333 | |||
| d60715fdd7 | |||
| e7d44327e8 | |||
| fd7ab16354 | |||
| 18299fd3f5 |
+1
-1
@@ -5,7 +5,7 @@ CREDITS
|
|||||||
|
|
||||||
All code and graphics created by Deadlock989, with the following exceptions.
|
All code and graphics created by Deadlock989, with the following exceptions.
|
||||||
|
|
||||||
Code and graphics modifications after 2020-04-08 by Wyrrrd, ickputzdirwech, Friendch and Deadlock989.
|
Code and graphics modifications after 2020-04-08 by Wyrrrd, ickputzdirwech, Friendch, dwightkung and Deadlock989.
|
||||||
For the latest unmodified version, see https://github.com/Wyrrrd/IndustrialDisplayPlates/tree/cd8778eb3b11f8bde5418088253123b1029dc461
|
For the latest unmodified version, see https://github.com/Wyrrrd/IndustrialDisplayPlates/tree/cd8778eb3b11f8bde5418088253123b1029dc461
|
||||||
|
|
||||||
Sounds by thomasevd and Raclure @ freesound.org.
|
Sounds by thomasevd and Raclure @ freesound.org.
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
⚠ **This repository will be archived soon.** ⚠
|
||||||
|
|
||||||
|
Though I have had great plans with this mod, I cannot find the time to maintain it properly. Luckily, the mod will not die, you can migrate to [Flydiverny's fork](https://github.com/Flydiverny/IndustrialDisplayPlates). I will try to merge the new features and fixes over to their fork in the meantime...
|
||||||
|
|
||||||
# Industrial Display Plates
|
# Industrial Display Plates
|
||||||
<img src="https://raw.githubusercontent.com/Wyrrrd/IndustrialDisplayPlates/master/thumbnail.png" width="144" height="144">
|
<img src="https://raw.githubusercontent.com/Wyrrrd/IndustrialDisplayPlates/master/thumbnail.png" width="144" height="144">
|
||||||
|
|
||||||
@@ -11,3 +15,4 @@ If you want to contribute by translating this mod, you can view the existing tra
|
|||||||
Thanks to [Deadlock989](https://mods.factorio.com/user/Deadlock989) for the [original mod](https://mods.factorio.com/mod/IndustrialDisplays).
|
Thanks to [Deadlock989](https://mods.factorio.com/user/Deadlock989) for the [original mod](https://mods.factorio.com/mod/IndustrialDisplays).
|
||||||
Sounds by thomasevd and Raclure on freesound.org.
|
Sounds by thomasevd and Raclure on freesound.org.
|
||||||
Thanks to [Friendch](https://mods.factorio.com/user/Friendch) for the french translation.
|
Thanks to [Friendch](https://mods.factorio.com/user/Friendch) for the french translation.
|
||||||
|
Thanks to [dwightkung](https://github.com/dwightkung) for the simplified chinese translation.
|
||||||
|
|||||||
@@ -1,4 +1,14 @@
|
|||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.1.6
|
||||||
|
Date: 2023-04-10
|
||||||
|
Changes:
|
||||||
|
- Add deprecation info
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.1.5
|
||||||
|
Date: 2023-03-15
|
||||||
|
Locale:
|
||||||
|
- Added simplified Chinese translation (thanks to dwightkung)
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Date: 2021-09-07
|
Date: 2021-09-07
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|||||||
+34
@@ -478,6 +478,33 @@ local function set_up_display_from_ghost(entity,tags)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
remote.add_interface(
|
||||||
|
"IndustrialDisplayPlates",
|
||||||
|
{
|
||||||
|
get_sprite = function(event)
|
||||||
|
if event and event.entity and event.entity.valid then
|
||||||
|
local spritetype, spritename = get_render_sprite_info(event.entity)
|
||||||
|
return {spritetype=spritetype, spritename=spritename}
|
||||||
|
else
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
|
||||||
|
set_sprite = function(event)
|
||||||
|
if event and event.entity and event.entity.valid and event.sprite and game.is_valid_sprite_path(event.sprite) then
|
||||||
|
destroy_render(event.entity)
|
||||||
|
render_overlay_sprite(event.entity, event.sprite)
|
||||||
|
if get_has_map_marker(event.entity) then
|
||||||
|
local spritetype, spritename = get_render_sprite_info(event.entity)
|
||||||
|
change_map_markers(event.entity, spritetype, spritename)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
-- local function reset_globals()
|
-- local function reset_globals()
|
||||||
-- global.translations = nil
|
-- global.translations = nil
|
||||||
-- end
|
-- end
|
||||||
@@ -586,6 +613,13 @@ script.on_event(defines.events.on_player_changed_position, function (event)
|
|||||||
gui_close(event)
|
gui_close(event)
|
||||||
end
|
end
|
||||||
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)
|
end)
|
||||||
|
|
||||||
script.on_event(defines.events.on_gui_text_changed, function(event)
|
script.on_event(defines.events.on_gui_text_changed, function(event)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "IndustrialDisplayPlates",
|
"name": "IndustrialDisplayPlates",
|
||||||
"version": "1.1.4",
|
"version": "1.1.6",
|
||||||
"title": "Industrial Display Plates",
|
"title": "Industrial Display Plates",
|
||||||
"author": "Wyrrrd",
|
"author": "Wyrrrd",
|
||||||
"homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates",
|
"homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[display-plates]
|
[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.
|
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]
|
[entity-name]
|
||||||
copper-display=Kupferanzeigeplatte (groß)
|
copper-display=Kupferanzeigeplatte (groß)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[display-plates]
|
[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.
|
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]
|
[entity-name]
|
||||||
copper-display=Copper display plate (large)
|
copper-display=Copper display plate (large)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[display-plates]
|
[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.
|
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]
|
[entity-name]
|
||||||
copper-display=Panneau d'affichage en Cuivre (Grand)
|
copper-display=Panneau d'affichage en Cuivre (Grand)
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
[mod-name]
|
||||||
|
IndustrialDisplayPlates=工业展示板
|
||||||
|
[mod-description]
|
||||||
|
IndustrialDisplayPlates=显示物品、流体和信号图标的大、中、小标志。可用于绘制包含地图标记的蓝图。
|
||||||
|
[display-plates]
|
||||||
|
blueprint-wont-have-icons=此更新的蓝图将不包含任何显示板的图标或地图标记。要包含它们,请创建一个新的蓝图。
|
||||||
|
mod-migration-info="IndustrialDisplayPlates "修改即将退役。请迁移到 "DisplayPlates",如修改门户页面上所描述的。
|
||||||
|
|
||||||
|
[entity-name]
|
||||||
|
copper-display=铜质显示板(大)
|
||||||
|
iron-display=铁质展示板(大)
|
||||||
|
steel-display=钢制展示板(大)
|
||||||
|
copper-display-medium=铜质显示板(中)
|
||||||
|
iron-display-medium=铁质展示板(中)
|
||||||
|
steel-display-medium=钢制展示板(中)
|
||||||
|
copper-display-small=铜质显示板(小)
|
||||||
|
iron-display-small=铁质展示板(小)
|
||||||
|
steel-display-small=钢显示板(小)
|
||||||
|
|
||||||
|
[controls]
|
||||||
|
display-map-marker=地图标记
|
||||||
|
display-plate=展示板
|
||||||
|
|
||||||
|
[entity-description]
|
||||||
|
display=一个可以链接到地图标记的图标性标志。图标和地图标记设置可被保留在蓝图中。
|
||||||
Reference in New Issue
Block a user