Experimental 2.1.22: Cargo Pod Spill Fix and Modding API

2/5 Minor

EXPERIMENTALCargo pods stop spilling items that fit into the space platform hub after sorting, with crash fixes for mining drills and roboport equipment plus new modding temperature limits.

Share:

Key Changes

  • 1Cargo pods no longer spill items on the ground when they would fit into the space platform hub inventory after sorting.
  • 2Heat-fluid-inside boilers no longer keep working when their input pipeline is overextended.
  • 3A crash when drawing a mining drill in an illegal direction is fixed.
  • 4A crash when migration removal removes all roboport equipment while personal robots are active is fixed.
  • 5Turret range overlay performance is improved on high-resolution displays.
  • 6Modders can now set minimum and maximum input temperatures on boiler prototypes.

All Changes

⚡Performance(1)

  • fixTurret range overlay: Improved turret range overlay performance on high-resolution displays.

🐛Bug Fixes(9)

  • fixCargo pod: Fixed cargo pods spilling items on the ground even though they would fit into the space platform hub inventory after sorting.
  • fixSelector combinator: Fixed the selector combinator's quality select switch having the wrong initial state.
  • fixFixed the equipment sprite not having default GUI flags applied.
  • fixFixed the table sorting clickable area.
  • fixTutorial level 1: Fixed tutorial level 1 not detecting that the quickbar was set.
  • fixRoboport equipment: Fixed a crash when migration removal removes all roboport equipment while personal robots are active.
  • fixLava shader: Fixed square compression artifacts in the lava shader.
  • fixMining drill: Fixed a crash when drawing a mining drill in an illegal direction.
  • fixBoiler: Fixed heat-fluid-inside boilers continuing to work even if their input pipeline was overextended.

🔧Modding(7)

  • changeWaterTileEffectParameters: WaterTileEffectParameters::textures is split into noise_textures and image_textures, and the texture variation row and column properties are removed, with the numbers now derived from image_textures dimensions.
  • newSelectionToolPrototype: Added selection tool preselection events (on_player_start_selected_area, on_player_change_selected_area, on_player_cancel_selected_area), enabled per tool with SelectionToolPrototype::send_pre_selection_events.
  • newAdded selection_mode, position and cursor_position properties to area selection and preselection events.
  • newAdded minimum and maximum input temperature properties to boiler, fluid energy source, fusion generator, fusion reactor, generator and mining drill prototypes, and fuel and oxidizer temperature limits to ThrusterPrototype.
  • changeFluidEnergySource: FluidEnergySource::maximum_temperature now specifies "unlimited" as nil instead of zero.
  • removeFluidBox: Removed FluidBox::minimum_temperature and maximum_temperature.
  • changeUtilityConstants: The UtilityConstants building tints are replaced with build_preview_tints, which also covers tile and map view build previews, and BlueprintItemPrototype::build_preview_tints is added.

📜Scripting(3)

  • newAdded temperature limit reads to LuaEntityPrototype and LuaFluidEnergySourcePrototype.
  • changeLuaFluidEnergySourcePrototype: LuaFluidEnergySourcePrototype::maximum_temperature read returns nil instead of zero when the maximum temperature is unspecified.
  • changeLuaEntity: LuaEntity::set_fluid_filter, get_fluid_filter and get_fluid_segment_filter now return or take a FluidID instead of a FluidFilter.

Summary

Experimental build 2.1.22 is mostly bug fixes. Cargo pods no longer spill items that would fit into the space platform hub inventory after sorting, heat-fluid-inside boilers stop working when their input pipeline is overextended, and crashes with mining drills drawn in an illegal direction and with roboport equipment removed by migration are fixed. Smaller fixes cover the selector combinator's quality switch, tutorial level 1, table sorting, equipment sprites and lava shader artifacts, and turret range overlay performance improves on high-resolution displays.

For modders, prototypes gain minimum and maximum input temperature properties, selection tools get preselection events, water tile textures and build preview tints are restructured, FluidBox temperature limits are removed, and several scripting reads and fluid filter functions change.