PixelClef 0 Posted November 13, 2019 Share Posted November 13, 2019 I've been experimenting with the mod OpenComputers Drivers for Tinkers Construct lately. In the absence of coding examples, it's taken me a couple of hours to thrash through the basics, relearn Lua again, up to the point where I can write code that is not utterly ridiculous - and I wanted to share with you peeps. So with no further ado, here's an example for reading the fluids in your smeltery: local component = require("component") local smeltery = component.smeltery local fluids = {smeltery.getContainedFluids()} for _, fluid in ipairs(fluids) do print(fluid.label) end Quote Link to post Share on other sites
BrisingrAerowing 12 Posted November 28, 2019 Share Posted November 28, 2019 I really need to create some more documentation for my mods. Quote Link to post Share on other sites