Lua libraries for use by other mods and submods that are parts of a larger mod.
Version: 1.1.26 Date: 2023-12-18 Changes: - baronEntity.findMainItemForRecipe now only gives a warning if the recipe does not produce an item and returns nil.
Version: 1.1.25 Date: 2023-07-23 Features: - Added baronEntity.findTechnologiesForItem. - baronEntity.findRecipeByName now accepts recipe protos without breaking.
Version: 1.1.24 Date: 2023-07-03 Bugfixes: - Define baronEntity.replaceResult only once.
Version: 1.1.21 Date: 2023-07-02 Bugfixes: - Corrected issue where certain recipe splits would not work correctly.
Version: 1.1.20 Date: 2023-07-02 Changes: - Prevent issues where watermark is attempted to add to a custom roboport image. - Add flag "no_mark" to prevent faction icons and watermarks.
Version: 1.1.19 Date: 2021-05-13 Changes: - Add baronUtil.map, which applies a function to values in a table. - Add dynamic localisation support for fluid and tiles.
Version: 1.1.18 Date: 2021-04-29 Changes: - Add layered tint support for robots.
Version: 1.1.17 Date: 2021-03-27 Changes: - Add support for void faction.
Version: 1.1.16 Date: 2021-03-22 Bugfixes: - Correct issue where adding a watermark to sprites with variations would result in mismatched layers (e.g. adding a watermark to a Nuclear Reactor). - Add support for linked-belt.
Version: 1.1.15 Date: 2021-03-21 Bugfixes: - baronEntity.addRecipeToModule no longer adds duplicate limitation entries if already present. - baronEntity.findLocalisedString can be set to return a compositable localisation string.
Version: 1.1.14 Date: 2020-10-30 Bugfixes: - Corrected bug that would disable key recipes when baron-factions was not properly included.
Version: 0.18.13 Date: 2020-10-30 Modding: - Removed crashing conflict with HeroTurrets.
Version: 0.18.12 Date: 2020-08-30 Bugfixes: - Enable baronEntity recipe functions to respect expensive-only recipes.
Version: 0.18.11 Date: 2020-08-29 Features: - Added baronEntity.findTechnologiesForRecipeAndAddRecipe. Bugfixes: - Ensure baronEntity.removeFactions sets the same flags as baronEntity.removeFaction.
Version: 0.18.10 Date: 2020-08-16 Bugfixes: - Prevent crash with when recipes with unusual item types exist.
Version: 0.18.9 Date: 2020-08-15 Bugfixes: - baronEntity.hideItem hides entities from bonus GUI as well. - Add support for v1.0.0 spidertron materials.
Version: 0.18.8 Date: 2020-08-09 Bugfixes: - Correct issue where baronAnimation.addWatermark would overzealously add watermarks to smoke and other working visualizations.
Version: 0.18.7 Date: 2020-08-01 Features: - Added baronEntity.findRecipesForTechnology - Added baronEntity.findDowngradesForEntity - Added faction functions for arrays of factions - Added baronConstants.flags.force-split - Added library access in settings
Version: 0.18.6 Date: 2020-07-21 Changes: - baronAnimation.addTint specially tints heat glows with more alpha
Version: 0.18.5 Date: 2020-07-19 Features: - Added baronConstants.flags.keep_source
Version: 0.18.4 Date: 2020-07-19 Features: - Split baronFluid from baronEntity - Added baronPower.getInvisibleNamesByType
Version: 0.18.3 Date: 2020-07-11 Features: - Added baronEntity.hideRecipeLater and baronEntity.unhideRecipeLater - Added baronConstants.flags.no_split - Added baronConstants.flags.keep_subgroup Bugfixes: - Improved extent of baronEntity.hideRecipe
Version: 0.18.2 Date: 2020-07-04 Bugfixes: - Corrected issue where baronEntity.findMainItemNameForRecipe would fail in some cases
Version: 0.18.1 Date: 2020-07-02 Features: - Added baronAnimation icon commands - Added baronAnimation.replaceGraphics - Added baronConstants.flags - Added baronEntity.replaceResult - Added baronEntity.findRecipeData