- Update v1.1.49:
- Bugfixes
- Fixed transport belts picking up items on ground when rotated. more
- Fixed that game.map_settings.path_finder.fwd2bwd_ratio could be set to nonsensical values. more
- Fixed main menu track playing only once. more
- Fixed that units could get stuck close to their goal. more
- Fixed that the small research bar in a technology slot wouldn't show for the technology currently in research. more
- Fixed a crash which was caused by early garbage collection of LuaObject because LuaObject method closures didn't hold a back reference to the object. more
- Fixed barelling recipe icons having incorrect tint with index-based fluid color definitions. more
- Fixed barelling recipe icons having incorrect alpha with fluid color definitions in 0-255 range.
- Scripting
- LuaObjects are now saved using binary format instead of previous format with intermediate Lua table. This speeds up general handling of LuaObjects and makes saving and loading with a lot of them noticable faster.
- LuaObject::isluaobject now returns true instead of a magic string.
- Clarified LuaGameScript::finished. more
- Added LuaGameScript::finished_but_continuing read.
- Added LuaGameScript::reset_game_state() method.
- Implemented new website for Lua API documentation.
- Update v1.1.48:
- Bugfixes
- Added tip about power pole coverage when drag-building.
- Fixed that the distance between first and second pole in the dragging electric poles tutorial was 6 tiles instead of 7.
- Fixed LuaGameScript::save_atlas() function would crash the headless server. more
- Fixed possibility for the victory screen to be hidden behind other GUIs under specific circumstances more
- Fixed generator and fluid energy source tooltip showing 0 fluid consumption if burning fluids with 0 fuel value or consuming fluids with temperature close to the default. more
- Fixed the inserter "hand stack size" tooltip missing if the research-based bonus value was 1. Now it is shown if the value is greater than 0. more
- Fixed the inserter "hand stack size" tooltip ignoring stack_size_bonus prototype property.
- Fixed cloning linked-container would clear its inventory.
- Modding
- Added FluidEnergySourcePrototype::destroy_non_fuel_fluid, true by default.
- Added GeneratorPrototype::destroy_non_fuel_fluid, true by default.
- Changed tip trigger name from "unlocked-recipe" to "unlock-recipe" to be consistent with the way other triggers are named.
- Scripting
- Added LuaEntityPrototype::inserter_stack_size_bonus read.
- Added LuaFluidEnergySourcePrototype::destroy_non_fuel_fluid read.
- Added LuaStyle::bar_width read/write.
- Added LuaPlayer::show_on_map read/write.
- Reworked table saving and loading to be non-recursive. This allows to have extreme table nesting inside of `global` variable.
- Update v1.1.46:
- Changes
- Reduced multiplayer latency on very good connections by up to 66ms(4 ticks). more
- Changed multiplayer latency calculation to be smoother. This should reduce multiplayer stutter on bad connections.
- Changed default network send rate from 30 to 60 packets per second and added an option to configure the rate in server-settings.json.
- Bugfixes
- Add a 70% damage bonus to discharge defenses with Energy Weapons Damage 6 and 7. more
- Fixed flamethrower turrets not reporting the correct damage bonuses
- Fixed gun turret tooltips showing the ammo in the middle of the other stats
- Fixed artillery wagon and artillery turret tooltips not showing the damage of the loaded ammo
- Fixed drawing wall filler when hovering mouse over ghosts. more
- Fixed crash when trying to connect wire after wire type in cursor stack was changed by script. more
- Fixed roboport would not output signals for 1 tick when electric pole was mined while having circuit wire from same circuit network. more
- Fixed that the pole drag building skip trigger didn't work, so the tip was always shown even when the player used drag building.
- Fixed LuaItemStack::get_tile_filter would incorrectly return entity filters. more
- Fixed mining drill GUI not being openable if the drill didn't have module slots or energy source with GUI. more
- Fixed a crash when using 0-length debug names in Lua bytecode. more
- Fixed that setting the scale parameter to zero in a spidertron leg definition would cause a "double value not in range for fixed point number" error. more
- Fixed crash when destroying a vehicle on the same frame a tooltip is created for the vehicle's weapon and ammo bar. more
- Fixed that building an entity over other forces' ghosts and undoing would transfer ownership of those ghosts to the undoer's force.
- Fixed a crash when setting inserters to require no power when rotating/extending. more
- Fixed "create-trivial-smoke" triggers being interpreted as "create-entity" triggers in the prototype explorer which could cause a crash. more
- Added migration for saves with inserters that have NaN hand height or hand length.
- Modding
- Added TurretPrototype::energy_glow_animation_flicker_strength.
- Removed obsolete pollution-visualization sprite, which was replaced by pollution_color utility constant.
- Sub items are now removed from items used in hand-crafting.
- Scripting
- Added LuaEntity::connected_rail_direction read.
- Added TrainScheduleRecord::rail_direction.
- Added LuaGuiElement::swap_children().
- Update v1.1.42:
- Bugfixes
- Fixed an API error when checking for updates for a large number of mods. more
- Fixed that inserters wouldn't remove burnt result items from assembling machine recipes with no item outputs. more
- Fixed vehicle weapon slots GUI not highlighting with the corresponding ammo slot when selected
- Fixed tank cannon weapon showing a "1" in the vehicle weapon slots GUI
- Fixed that entities not containing certain collision masks would never collide with tiles. more
- Fixed a crash when opening the tutorials GUI through Lua command. more
- Rocket silo no longer drains more energy at night. more
- Fix tank cannon showing smaller range than the cannon shells. more
- Fix ugly death GUI when the game is paused in MP. more
- Fix 'Game finished' GUI had an incorrect tooltip for the green button. more
- Fixed that copy paste entity tips were dependant on the copy-paste tool tip instead of copy paste entity category.
- Modding
- Added OffshorePumpPrototype::check_bounding_box_collides_with_tiles.
- RocketSiloPrototype::lamp_energy_usage now can be zero.
- Scripting
- Added freeplay remote interface to read the value of `skip_intro`.