Skip to content

Register Machines

idcppl edited this page Dec 10, 2020 · 7 revisions

Import

import mods.devtech.machines.RegisterMachine;

Simple Machine

RegisterMachine.CreateSimpleMachine(id as int, location as string, recipeMap as RecipeMap, overlay as OverlayRenderer, tier as int);
RegisterMachine.CreateSimpleMachine(id as int, location as string, recipeMap as RecipeMap, overlay as Overlays, tier as int);

Simple Generator

RegisterMachine.CreateSimpleGenerator(id as int, location as string, fuelRecipeMap as FuelRecipeMap, overlay as OverlayRenderer, tier as int);
RegisterMachine.CreateSimpleGenerator(id as int, location as string, fuelRecipeMap as FuelRecipeMap, overlay as Overlays, tier as int);

Macerator esque machine

RegisterMachine.CreateMacerator(id as int, location as string, recipeMap as RecipeMap, overlay as OverlayRenderer, tier as int, outputAmount as int);
RegisterMachine.CreateMacerator(id as int, location as string, recipeMap as RecipeMap, overlay as Overlays, tier as int, outputAmount as int);

Chest

RegisterMachine.CreateChest(id as int, location as string, material as SolidMaterial, rowSize as int, amountRows as int);

Tank

RegisterMachine.CreateTank(id as int, location as string, material as SolidMaterial, tankSize as int, maxSizeVertical as int, maxSizeHorizontal as int);

Quantum Chest

RegisterMachine.CreateQuantumChest(id as int, location as string, tier as int, storage as long);

Quantum Tank

RegisterMachine.CreateQuantumTank(id as int, location as string, tier as int, storage as int);

Fluid Collector

RegisterMachine.CreateFluidCollector(id as int, nameID as string, tier as string, fluid as ILiquidStack, cycleLength as int, tankSize as int);

Clone this wiki locally