Open Computers Refined Storage Driver Mod (1.10.2) – Automate Your Digital
Open Computers Refined Storage Driver Mod lets OpenComputers connect to Refined Storage grid nodes through Adapters. This addon gives your computers direct access to check network power use, read stored items and fluids, and pull resources out to any side. You can also inspect crafting patterns, check queued tasks, find missing materials, and start or cancel auto-crafting jobs with Lua scripts.

Features:
- Connects OpenComputers directly to Refined Storage grid nodes using Adapters.
- Checks whether a grid node is connected to a network and reads total network power use in RS/tick.
- Lists all stored item stacks and fluid stacks, or looks up a specific item or fluid in the network.
- Exports items and fluids fast to any chosen side using just a cable, with no transfer limits.
- Views queued crafting tasks, lists all saved crafting patterns, and checks if a pattern exists for a given item.
- Finds missing items needed for a recipe, requests new crafting jobs for a set quantity, and cancels active crafting tasks.
- Works with Lua scripts to automate storage tasks, such as dumping extra items above a limit or keeping items stocked.
Commands:
Note: This mod uses Lua component methods with no / prefix. Call each method below inside your OpenComputers scripts through an Adapter connected to a Refined Storage grid node.
isConnected(): Tells you if the grid node is connected to a network.getEnergyUsage(): Returns the power use of the whole network in RS/tick.getItems(): Returns a list of all item stacks stored in the network.getItem(itemstack, cmpMeta, cmpNbt, cmpOre): Returns a stored stack in the network that matches the given item stack.extractItem(itemstack, amount, side): Pulls the given number of items to the chosen side and returns how many items were moved.getFluids(): Returns a list of all fluid stacks stored in the network.getFluid(fluidstack): Returns a stored fluid stack in the network that matches the given fluid stack.extractFluid(fluidstack, amount, side): Pulls the given amount of fluid to the chosen side and returns how many millibuckets were moved.getTasks(): Returns a list of crafting jobs currently queued in the system.getPatterns(): Returns a list of all crafting patterns in the network.hasPattern(itemstack): Returns true if the system has a pattern for the given item stack.getMissingItems(itemstack, amount): Returns a list of all items missing to craft the given item stack in the chosen amount.craftItem(itemstack, amount): Requests crafting for the given item in the chosen amount.cancelCrafting(itemstack): Cancels all crafting jobs for the given item stack and returns how many tasks were canceled.
Examples:
Drop all items you have more than 8192 of: Place a Trash Can below an interface connected to an OpenComputers Adapter.
local component = require("component")
local sides = require("sides")
local rs = component.block_refinedstorage_interface
local limit = 8192
local side = sides.down
for i,stack in ipairs(rs.getItems()) do
while(stack.size > limit) do
local dropped = rs.extractItem(stack, stack.size - limit, side)
stack.size = stack.size - dropped
if(dropped < 1) then
break
end
end
end
Keep 64 torches and levers in your crafting system: Make sure a crafter already knows the recipes for torches and levers.
local component = require("component")
local sides = require("sides")
local rs = component.block_refinedstorage_interface
local targetAmount = 64
local items = {
{name = "minecraft:torch"},
{name = "minecraft:lever"}
}
while(true) do
for i,stack in ipairs(items) do
if(rs.hasPattern(stack)) then
local rsStack = rs.getItem(stack)
local toCraft = targetAmount;
if(rsStack ~= nil) then
toCraft = toCraft - rsStack.size
end
if(toCraft > 0) then
rs.craftItem(stack, toCraft)
end
else
print("Missing pattern for: " .. Stack.name)
end
end
os.sleep(5)
end
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Open Computers Refined Storage Driver Mod Download Links
For Minecraft 1.10.2
Forge version: Download from Server 1
What is your stance on mods that feel 'overpowered' or break vanilla balance?
20 responses · See the full results →
0






















This post has no comments yet. Be the first — your comment will appear here.