Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| be669f7b3e | |||
| e49a69058b | |||
| bf22a80ca9 |
@@ -1,4 +1,9 @@
|
|||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.1.3
|
||||||
|
Date: 2021-09-06
|
||||||
|
Bugfixes:
|
||||||
|
- Implemented controlled error message for blueprint update bug in factorio to avoid crash
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Date: 2021-08-21
|
Date: 2021-08-21
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
@@ -552,6 +552,13 @@ script.on_event(defines.events.on_player_setup_blueprint, function (event)
|
|||||||
local blueprint = nil
|
local blueprint = nil
|
||||||
if player and player.blueprint_to_setup and player.blueprint_to_setup.valid_for_read then blueprint = player.blueprint_to_setup
|
if player and player.blueprint_to_setup and player.blueprint_to_setup.valid_for_read then blueprint = player.blueprint_to_setup
|
||||||
elseif player and player.cursor_stack.valid_for_read and player.cursor_stack.name == "blueprint" then blueprint = player.cursor_stack end
|
elseif player and player.cursor_stack.valid_for_read and player.cursor_stack.name == "blueprint" then blueprint = player.cursor_stack end
|
||||||
|
|
||||||
|
-- Workaround for blueprint update bug
|
||||||
|
if blueprint.get_blueprint_entity_count() == 0 then
|
||||||
|
player.print({"display-plates.blueprint-wont-have-icons"})
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
if blueprint then
|
if blueprint then
|
||||||
for index,entity in pairs(event.mapping.get()) do
|
for index,entity in pairs(event.mapping.get()) do
|
||||||
local stype,sname = get_render_sprite_info(entity)
|
local stype,sname = get_render_sprite_info(entity)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "IndustrialDisplayPlates",
|
"name": "IndustrialDisplayPlates",
|
||||||
"version": "1.1.2",
|
"version": "1.1.3",
|
||||||
"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,3 +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.
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
copper-display=Kupferanzeigeplatte (groß)
|
copper-display=Kupferanzeigeplatte (groß)
|
||||||
iron-display=Eisenanzeigeplatte (groß)
|
iron-display=Eisenanzeigeplatte (groß)
|
||||||
|
|||||||
@@ -1,3 +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.
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
copper-display=Copper display plate (large)
|
copper-display=Copper display plate (large)
|
||||||
iron-display=Iron display plate (large)
|
iron-display=Iron display plate (large)
|
||||||
|
|||||||
@@ -1,3 +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.
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
copper-display=Panneau d'affichage en Cuivre (Grand)
|
copper-display=Panneau d'affichage en Cuivre (Grand)
|
||||||
iron-display=Panneau d'affichage en Fer (Grand)
|
iron-display=Panneau d'affichage en Fer (Grand)
|
||||||
|
|||||||
Reference in New Issue
Block a user