SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Factorio

EzLib

ABy Aidan647

DeBug mode included. Library for helping you Current maintainer: ZwerOxotnik

Description

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_)

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.