diff --git a/changelog.txt b/changelog.txt index 7daf854d..f051e34a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,14 @@ --------------------------------------------------------------------------------------------------- +Version: 2.1.22 +Date: ??? + Fixes: + - Added a migration to clean any remaining bugged bioport graphics +--------------------------------------------------------------------------------------------------- +Version: 2.1.21 +Date: 2024-2-2 + Fixes: + - Fixed ulric man light cone starting from the wrong location. (https://github.com/pyanodon/pybugreports/issues/385) +--------------------------------------------------------------------------------------------------- Version: 2.1.20 Date: 2024-2-2 Fixes: diff --git a/info.json b/info.json index 3ab96a29..189e7ce5 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "pyalienlife", - "version": "2.1.20", + "version": "2.1.21", "factorio_version": "1.1", "title": "Pyanodons AlienLife", "author": "Pyanodon, Nexela, Kingarthur, notnotmelon, Mootykins, ShadowGlass, Archezekiel, Quintuple", diff --git a/migrations/2.1.22.lua b/migrations/2.1.22.lua new file mode 100644 index 00000000..26640b64 --- /dev/null +++ b/migrations/2.1.22.lua @@ -0,0 +1,8 @@ +for _, surface in pairs(game.surfaces) do + for _, arm in pairs(surface.find_entities_filtered{name = 'bioport-floor-animation'}) do + local port = surface.find_entity('bioport', arm.position) + if not (port and port.position.x == arm.position.x and port.position.y == arm.position.y) then + arm.destroy() + end + end +end \ No newline at end of file diff --git a/prototypes/creatures/ulric-man.lua b/prototypes/creatures/ulric-man.lua index 69dc3e27..c463e60d 100644 --- a/prototypes/creatures/ulric-man.lua +++ b/prototypes/creatures/ulric-man.lua @@ -404,7 +404,7 @@ data:extend( width = 200, height = 200 }, - shift = {0, -11}, + shift = {0, -11*1.5-4}, size = 3, intensity = 0.8, color = {r = 1.0, g = 1.0, b = 1.0}