UMR: Ultimate Modular Reactor


This mod adds a universal reactor, consisting of different modules. It can turn vanilla and modded fuels into power, furnace or crafting machine fuel. Will supply all the power you ever need!

14 days ago
1.1
1672
Owner:
PreLeyZero
Source:
N/A
Homepage:
N/A
License:
GNU LGPLv3
Created:
5 months ago
Latest Version:
0.1.10 (14 days ago)
Factorio version:
1.1
Downloaded:
1672 times

The Mod:

  • adds a reactor, which can use a lot of different fuels, including modded ones.
  • provides a lib with callable functions to make easy integrations for other mods

Future Updates:

  • more uses for the reactor: f.e. Steam, heat, lab...
  • extend the umrlib functions

Discord:

Modders Guide:

  • you can call the functions below for integrating your things into UMR, recipe functions will build, calculate and add recipes

umrlib.FueltoInt(str)

str: Energy
returns int in MJ


umrlib.interface_solid_recipe(item,times)                     

item: string (itemname)
times: float (multiply input amount, standard = 1)


umrlib.interface_fluid_recipe(in_a,in_a_amount,in_b,in_b_amount,out_a,out_a_amount,out_b,out_b_amount,fuel_value)

in_a,b and out_a,b: string (fluidnames, pass nil when not used)
amount_x: int (ratios for one crafting)
fuel_value: Energy (for one crafting)


umrlib.rfp_recipe_reader(recipe)

recipe: string (name of rfp Fusion reactor recipe [normal and aneutronic])
makes recipe with interface_fluid_recipe
will make water recipe if used incorrectly


umrlib.amplifier_recipe(item_in,cut,item_out,item_in_amount,item_out_amount)

[mandatory]
item_in: String, cut: Int (by how much the input fluid is reduced)
[optional]
item_out: String (item which is returned from crafting), item_in_amount: Int, item_out_amount: Int