OCs base assets

by OC1024

Helper Mod for my mods without playable content on its own.

Utilities
7 days ago
2.0
2.52K

Changelog

Version: 0.3.4
Date: 2026-02-14-wip
  Bugfixes:
    - Added another safety check for result_amount in the recipe generator to prevent crashes when it's nil, zero or invalid.
  Changes:
    - Batch generator now logs both input and output (sucesses and failures) list as one recipe per line to make it more readable.
    - Removed old function "replace_multiple_recipes". Use the new, more nuanced functions instead.
    - Both "add_recipe_unlocks" and "remove_recipe_unlocks" now log more precisely when something goes wrong.
    - Both "add_prerequisites" and "remove_prerequisites" now log more precisely when something goes wrong.
    - Batch generator now only handles recipe names, while the single recipe generator handles the full recipe table.
    - Set for all generated recipes "allow_decomposition" to false to prevent them from being recycled in the recycler. This should avoid weird edge cases and very long recycling times.
  Minor Features:
    - New mod setting: debug mode (default: true) so that bugs are easier to fix. Probably will be set to false later.
Version: 0.3.3
Date: 2026-02-10
  Minor Features:
    - Added basic blacklists and other rules for "cryogenics" category to make it ready for use.
    - Added cryo-plant overlay for technologies.
    - Added helper functions for adding and removing specific amount of science packs to a tech.
    - EXPERMIMENTAL & unfinished: Automated localisations for generated recipes. Currently only EN and DE are supported (as for my other mods using it).
  Changes:
    - Reduced defalt value of "energy reduction power" setting (aka crafting time power) from 0.5 to 0.25 which makes everything a bit cheaper. Change it manually if needed.
    - Changed remove_recipe_unlocks() to accept a mapping table instead of tech and recipe_list. It's now symmetric to add_recipe_unlocks().
    - Changed add_prerequisites() to accept a mapping table instead of tech and table of techs. It's now symmetric to the above.
    - Added remove_prerequisites(), also symmetric to the above.
    - Renamed helper fuction to change_recipes_subgroups()
Version: 0.3.2
Date: 2025-11-07
  Bugfixes:
    - Fixed bug where add_productivity_bonus wasn't working as intendet at all. Bug was introduced in version 0.3.1.
Version: 0.3.1
Date: 2025-11-06
  Bugfixes:
    - Added another safety check for add_productivity_bonus in case of a missing recipe.
Version: 0.3.0
Date: 2025-11-05
  Major Features:
    - Complete rework of the casting generator:
      Enable other categories other than "metallurgy" for the generator. 
      Currently: "electromagnetics", "organic" are in use.
      Others like "cryogenic" can be easily added.
    - API: Every interaction can be handled with an api function.
  Minor Features:
    - debug_log() now reveals more information like where it was triggered.
    - Updated Factorio version to 2.0.60
    - Added descriptions for helper functions.
    - Some helper functions now also accept a string too, instead a list or table only.
    - Made some helper functions to have the name as a string input instead of the whole data table. 
  Compatibility:
    - ["Krastorio2-spaced-out"] started compatibility.
    - ["aai-industry"] support.
  Other:
    - Removed debug logs when adding recipe unlocks or cloning a table.
Version: 0.2.1
Date: 2025-06-02
  Bugfixes:
    - Added surface conditions to the generator to prevent cheesing with casting recipes.
Version: 0.2.0
Date: 2025-06-02
  Major Features:
    - Introducing the casting generator: it generates casting recipes.
    - Introducing a setting to change the crafting time reduction factor for the generator.
  Graphics:
    - Changed all overlayer graphics with with new factorio 2.0.44, should have been done earler.
  Known Issues for modders:
    - Automated localisations are not implemented yet. They have to be manually added from the mod which uses the generator.
Version: 0.1.1
Date: 2025-04-06
  Bugfixes:
    - Fixing typo in folder name "grapics" instead of "graphics".
Version: 0.1.0
Date: 2025-04-06
  Major Features:
    - Initial idea.
    - Helper functions for the modpacks: table.contains table.copy_and_rename, add_recipe_unlocks, replace_multiple_recipes
    - Graphic assets for the modpacks: overlayers (molten-iron, molten-copper, lava-droplet, gleba, space, em-plant, biochamber)