EzLib

!!Attention moders check this mods wiki before you left this site!! DeBug mode included. Library for helping you
26 days ago
0.16 - 0.17
1357
Owner: Aidan647
Source: Aidan647/ezlib
Homepage: https://mods.factorio.com/mods
License: MIT
Created: 3 months ago
Latest Version: 0.1.0 (26 days ago)
Factorio version: 0.16 - 0.17
Downloaded: 1357 times


Ezlib is beta, alpha, not released beta
Not really, Ezlib is beta
Currently have few functions but try it and place comment or ideas

Changes come all the time
Wiki is Here

All functions:


Recipe

ezlib.recipe.add.ingredient(recipe_name, ingredient, amount, type)
ezlib.recipe.add.result(recipe_name, ingredient, amount, type)
ezlib.recipe.remove.ingridient(recipe_name, ingredient)
ezlib.recipe.remove.result(recipe_name, ingredient)
ezlib.recipe.replace.ingredient(recipe_name, ingredient_old, ingredient_new, amount, type)
ezlib.recipe.replace.result(recipe_name, ingredient_old, ingredient_new, amount, type)
ezlib.recipe.find.ingredient(ingredient)
ezlib.recipe.find.result(ingredient)
ezlib.recipe.get.list(value)
ezlib.recipe.get.ingredient(recipe_name)
ezlib.recipe.get.result(recipe_name)


Item

ezlib.item.add.flag(recipe_name, flag)
ezlib.item.remove.flag(recipe_name, flag)
ezlib.item.get.list(value)


Entity

ezlib.entity.add.flag(entity_name, type, flag)
ezlib.entity.remove.flag(entity_name, type, flag)
ezlib.entity.get.list(type,value)


Tech

ezlib.tech.add.unlock_recipe(tech_name, recipe)
ezlib.tech.add.unlock_recipe(tech_name, effect, modifier, ammo_category)
ezlib.tech.add.prerequisites(tech_name, tech_name_2)
ezlib.tech.remove.unlock_recipe(tech_name, recipe)
ezlib.tech.remove.unlock_recipe(tech_name, effect, ammo_category)
ezlib.tech.remove.prerequisites(tech_name, tech_name_2)
ezlib.tech.find.unlock_recipe(recipe)
ezlib.tech.find.unlock_modifer(type, modifier)
ezlib.tech.get.list(value)


Other

ezlib.log.print(table)
ezlib.tbl.remove(list1, list2)
ezlib.tbl.add(value_1, value_2, value_3, value_4, value_5)
ezlib.string.add(string_1, string_2, string_3, string_4, string_5)