Content · 2
Added energy_source and energy_per_item to LoaderPrototype.
loaderprototype energy_source and energy_per_itemAdded a new color-setting prototype.
color-setting prototype
Controls · 2
With AZERTY layout on macOS, the Undo shortcut defaults to Cmd + Z instead of Cmd + W.
macos azerty undo shortcutAdded entity-ghost and tile-ghost selection tool modes.
selection tool ghost mode
System · 23
Added read support for max_power_output on prototypes.
max_power_output for burner generatorAdded LuaEntity::get_beacons().
luaentity get_beaconAdded raise_hover_events read and write on LuaGuiElement.
raise_hover_events on gui elementAdded LuaItemStack::use_capsule.
luaitemstack::use_capsuleAdded a command line flag to dump prototype locale to the script output folder.
dump-prototype-locale command line flagAdded read access to LuaItemStack::entity_label and entity_color.
luaitemstack entity label and colorForceIdentification can now be specified by force index.
forceidentification by indexAdded the script_raised_teleported event.
script_raised_teleported eventAdded Wayland support on Linux, enabled by setting SDL_VIDEODRIVER=wayland in the environment.
wayland support on linuxAdded 'unlocks-recipe' as a technology prototype filter.
technology prototype unlocks-recipe filterAdded a read for LuaControl::get_max_inventory_index.
luacontrol::get_max_inventory_indexSprites near 2048px (or 4096px with high resolution) now have forced no-atlas priority.
sprite atlas priority for large spriteAdded LuaRendering::use_target_orientation for Sprite, Animation and Polygon.
use_target_orientation for renderingAdded a command line flag to dump data-raw to the script output folder as JSON.
dump-data command line flagAdded the chart.zoom_threshold_to_draw_spider_path utility constant.
chart spider path zoom constantAdded raise_teleported parameter to LuaControl::teleport.
luacontrol::teleport raise_teleportedAdded LuaEntity::get_beacon_effect_receivers().
luaentity get_beacon_effect_receiverAdded a beacons_count read on LuaEntity.
luaentity beacons_countAdded a has_item_inside parameter to find_entities_filtered to filter entities containing a specified item.
has_item_inside filterAdded a command line flag to dump prototype icons to the script output folder.
dump-icon-sprites command line flagAdded on_gui_hover and on_gui_leave events.
on_gui_hover and on_gui_leave eventAdded an optional character parameter to create_entity that simulates fast replacing.
fast replace simulation in create_entityget_prototype may now return an array of LuaFluidBoxPrototype for entities with compound fluidboxes.
luafluidbox::get_prototype compound fluidbox
UI · 4
Added support for icon_horizontal_align on sprite-button.
sprite-button icon_horizontal_alignMusic no longer fades out when the technology screen is open.
music on technology screenAdded a use_rich_text parameter to LuaRendering::draw_text along with getter and setter functions.
rich text parameter for draw_textDeselecting all train fuel items in the blueprint preview window now disables the 'Train fuel' option, matching existing module behaviour.
blueprint preview train fuel option
Fix · 61
Fixed multiple discharging.
multiple personal roboports dischargingMigrating energy sources between types now correctly updates the energy source buffer size.
loader energy source buffer size on type migrationRotating a now updates its heat connections.
loader heat connections on rotationentities now use the render layer defined in the prototype for animations.
electric energy interface render layerLoader ghosts no longer connect to of different forces.
loader ghost connection across forceAutomatic targeting with now works when not all ammo slots are filled.
spidertron automatic targeting with partially filled ammo slotno longer stops crafting when the recipe cannot be deduced and technology effects are reset.
furnace crafting stop on technology resetLuaPlayer::cursor_stack_temporary now correctly returns true for pasted .
cursor_stack_temporary for pasted blueprintFixed uranium glow effect flickering on and off on arm64 builds.
centrifuge uranium glow flickerFixed the playing an incorrect sound in certain scenarios.
programmable speaker incorrect soundMigrating energy sources between types now correctly updates the energy source buffer size.
pump energy source buffer size on type migrationnow respects ElectricEnergySourcePrototype::buffer_capacity.
loader buffer capacityFixed a crash when moving a to the while another book is under the cursor and tooltips are showing.
crash moving blueprint book to library with tooltipLand mines now collide with .
land mine collision with rail signaland fuel entries that are selectively disabled now disappear from the blueprint preview instead of showing with count 0.
blueprint preview module and fuel entries with count 0no longer spill their items when fast-replaced or upgraded.
loader item spill on fast-replace or upgradeMigrating energy sources between types now correctly updates the energy source buffer size.
radar energy source buffer size on type migrationon multiple surfaces in one electric network no longer use one surface's daytime for all.
solar panel daytime across surfaceFixed a crash related to script creation of entities.
crash on script entity creationFixed inconsistent clipboard behaviour on Wayland.
inconsistent clipboard behavior on waylandFixed a bad error message when registering custom hotkey events with filters.
error message for custom hotkey events with filterHorizontal lines no longer end up too short when close to line-wrapping labels.
horizontal line length near line-wrapping labelLuaItemStack::transfer_stack now works correctly for inventories exceeding normal item stack limits.
luaitemstack::transfer_stack over normal stack limitFixed a crash related to custom map generation.
custom map generation crashSome effects no longer run twice in multiplayer when FPS is lower than UPS.
duplicate effects in multiplayer at low fpFixed inserter starting to move to the drop target while still in pickup mode.
inserter moving to drop target during pickupThe CustomGuiElement 'switch' type no longer fires the click event twice.
switch element double click eventFixed the game failing to load sprites with some mods when max texture size was set to 2048.
sprite loading with max texture size 2048Fixed a crash when downgrading specific entities in multiplayer.
crash when downgrading entities in multiplayerSpilling items now spreads correctly on surfaces with width or height above 2^31.
spilling items on very large surfaceTechnology title now updates when the technology is researched.
technology title update after researchFixed a crash related to migrating spider vehicle guns.
crash migrating spider vehicle guncreate_spidertron() now scales lights correctly.
create_spidertron light scalingFixed a crash when maximum-sounds is set below 16, such as with --disable-audio or failed audio initialization.
crash when maximum-sounds set below 16Fixed an AI Pathfinder desync when goal_pressure_ratio changes while the pathfinder is running.
ai pathfinder desync on goal_pressure_ratio changeInserterPrototype no longer accepts stack size bonuses that are too large.
inserterprototype stack size bonus limitFixed double sound when transferring crafting materials from the cursor stack or taking items from the result slot.
double sound on crafting material transferFixed a crash with SDL's X11_XInput2.
crash with sdl x11_xinput2Fixed a consistency issue when building loader ghosts over existing loader ghosts.
loader ghost consistency over existing ghostValid path searches no longer fail due to a cached earlier failure with a wider bounding box.
path search caching with wider bounding boxLuaLogisticNetwork::insert now inserts all requested items in cases where it previously did not.
lualogisticnetwork::insert partial insertionFixed size issues related to mod relative GUIs.
mod relative gui sizeDisabling permissions to move now works correctly in some cases where it previously did not.
disabling move permissionitem-with-inventory no longer allows setting inventory_size to 'dynamic'.
item-with-inventory dynamic inventory sizeLuaFluidBox::get_prototype no longer ignores fluidbox layout for crafting machine parts.
luafluidbox::get_prototype for crafting machineMigrating reactor energy sources between types now correctly updates the energy source buffer size.
reactor energy source buffer size on type migrationFixed a scripting error in tips and tricks simulations related to mod migrations.
scripting error in tips and tricks simulationBalance of several audio files has been fixed.
audio file balanceFixed a memory corruption issue when saving on Linux with async saving enabled.
memory corruption when async saving on linuxFixed item request proxies being creatable through script with a count of 0.
item request proxy creation with count 0Fixed a desync related to fluid energy source extraction when floating point rounding errors are involved.
fluid energy source desyncMigrating inserter energy sources between types now correctly updates the energy source buffer size.
inserter energy source buffer size on type migrationFixed a TransportLine consistency issue when changing the force of a linked-belt.
transportline consistency on linked-belt force changeFixed a crash when disconnecting and reconnecting a display on Wayland.
crash on display reconnect under waylanddraw_sprite and draw_animation no longer throw an exception when orientation_target is not given.
luarendering draw functions without orientation_targetFixed a rare crash related to watching replays.
crash when watching replayFixed server ping in the multiplayer games browser sometimes not updating correctly.
server ping in multiplayer browserEscape now works to close the user-login GUI.
escape key closing user-login guifind_entities_filtered now accepts force indexes.
luasurface::find_entities_filtered force index supportFixed incorrect localised_string parameter for fallback groups in the on_string_translated event.
on_string_translated localised_string parameterColor mod settings now migrate to the default value correctly.
color mod setting migration


