Made Research much more modular
Created by: ComicIronic
- All RnD machines (lathe, analyzer, and imprinter) now use the same parent code for queueing items, loading materials, and most generalised functions. This is mainly a cleanup, since the machines were using several very similar procs but with either slight variations or just repeated definitions.
- Exosuit fabricators are now under the new fabricator machine type (which is itself under r_n_d), which standardises the machine and allows for easy additions of new fabricators for other things in the future.
- You can now load fabricators by a sheet number instead of with a whole stack. Loading with a number of sheets now also displays the number of sheets in the stack, for easy use.
- RnD consoles now use the same link principle as fabricators, as they look for every machine in the area instead of a radius. They will also list auxiliary machines that they are linked to (such as fabricators). Fabricators now have link overlays and link to a console from the console itself.
- This comes with a single map change, which I didn't include because it's really minor and attempting to update the map and push never seems to work correctly for me. You change the /obj/machinery/mecha_part_fabricator to /obj/machinery/r_n_d/fabricator/mech.