Version 1.1.51
Posted: Tue Jan 18, 2022 11:52 am
Changes
- When using /swap-players undo queues are now also swapped.
- Improve performance of querying if an entity is registered for deconstruction from O(N) to O(1).
- Adjusted default music volume.
- Fixed that if biters took damage from a forest fire, they would path toward the player who started it, no matter the distance. (100894)
- Fixed that replacing a tile between a colliding hidden tile (with check_collision_with_entities set to true) and an entity would not yield an item.
- Fixed that LuaGameScript::ban_player would incorrectly use reason as a player name when given player was never in game. (101053)
- Fixed that the saving progress bar and other popups were placed behind the transparent pause overlay. (100783)
- Fixed a scenario could be created with temporary-state trains which were not properly deleted. (101113)
- Fixed a crash when using --map-settings while loading a multiplayer map. (101089)
- Fixed that trying to manually mine a resource that needs a mining fluid would sometimes produce sound of mining. (100925)
- Fixed script rendered arcs could be considered invisible when they were visible. (101038)
- Fixed that LuaEntity::belt_neighbours would return LuaEntity based on EntityGhost's inner entity, not the EntityGhost itself. (101126)
- Fixed fish preventing tiles building with check_collision_with_entities enabled.
- Fixed that trains would not account for the train stop snap distance when already at the train stop with the back of a train. (100779)
- Fixed the intro music volume being set incorrectly.
- Fixed that --start-server-load-latest when given an empty saves folder wouldn't work correctly. (101119)
- Fixed missing efficiency tooltip and incorrect fuel consumption tooltip value in generator equipment with burner energy source.
- Fixed ghost electric poles connecting to ghost electric poles of other forces. Neutral force is exempt from this change. (101021)
- Fixed that biters would sometimes prefer running away over choosing another target. (99767)
- Fixed trains pathfinder would crash when a train is in a loop next to segment end and was requested to go to rail target in the middle of a loop. (100645)
- Fixed multi-level technologies showing the same saved progress in technology GUI. (101060)
- Fixed an icon of recipe notification on item group would show even if there are no recipes visible in a given context. (101191)
- Fixed a crash when defining too many icon variations. (101245)
- Fixed changing station name with rich text tags could crash when moving cursor by words. (101216)
- Fixed LuaBurner::inventory did not work correctly for some burner-energy-source entities. (101255)
- Fixed a crash caused by undoing an entity deconstruction which another player already cancelled. (101251)
- Added EntityPrototype::protected_from_tile_building, true by default. If set to false - entity won't block tile mining/building (with `TilePrototype::check_collision_with_entities` enabled).
- Added LandMinePrototype::trigger_collision_mask.
- Added EntityWithOwnerPrototype.
- Added EntityWithOwnerPrototype::is_military_target and allow_run_time_change_of_is_military_target.
- SimpleEntityWithForce now inherits from SimpleEntityWithOwner.
- SpiderEnginePrototype::military_target is no longer used. If anything is provided it will make related SpiderVehiclePrototype to become a military target instead.
- Added LuaEntityPrototype::trigger_collision_mask read.
- Added LuaEntity::is_military_target read. This deprecates LuaEntity::is_entity_with_force.
- Added LuaEntityPrototype::is_entity_with_owner, is_military_target and allow_run_time_change_of_is_military_target read.
- Added LuaEntity::get_spider_legs().
- Added LuaEntity::neighbours read for cliffs.