Advertisement
Elrol

lotr.zs

May 24th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #loader contenttweaker
  2.  
  3. import mods.contenttweaker.fluid.FluidBuilder;
  4.  
  5. function initFluid(name as string, color as int, temperature as int) {
  6. var f = new FluidBuilder(true, color, "tconstruct:blocks/fluids/molten_metal", "tconstruct:blocks/fluids/molten_metal_flow");
  7. f.viscosity = 5000;
  8. f.density = 2000;
  9. f.luminosity = 15;
  10. f.temperature = temperature;
  11. f.register(name);
  12. return true;
  13. } bool;
  14.  
  15. initFluid("molten_mithril", 15264503, 2200);
  16. initFluid("molten_elven_steel", 14605263, 1500);
  17. initFluid("molten_uruk_steel", 5132087, 1500);
  18. initFluid("molten_dwarven_steel", 7700868, 1500);
  19. initFluid("molten_orc_steel", 5133643, 1500);
  20. initFluid("molten_tin", 10464433, 450);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement