• >
  • 科技Mod
  • >
  • 格雷科技电池箱的开放式电脑驱动 (GregTech Battery Buffer Driver for OpenComputers)
格雷科技电池箱的开放式电脑驱动 (GregTech Battery Buffer Driver for OpenComputers)
模组属性评比

距离显示结果还剩5票~

路过的这位少侠,你觉得这款Mod怎么样,可否愿意来评一评它呢?登录并评比
更新日志
  • 暂无日志..

历史编辑记录更多
    管理组申请

      暂无管理组..

    编辑组申请

      暂无编辑组..

    开发组申请

      暂无开发组..

    最近参与编辑
    停更
    开源

    格雷科技电池箱的开放式电脑驱动

    GregTech Battery Buffer Driver for OpenComputers

    0.0

    无人问津

    昨日指数: 6
    昨日平均指数: 61.329

    5073

    总浏览

    --

    资料填充率


    如何下载?
    • 这个mod使得开放式电脑的适配器可以读取格雷科技社区版电池箱的信息。

      他提供了以下函数:

      local component = require("component")
      local b = component.battery_buffer

      -- Returns the charge of the buffer or of a single battery (indexed starting from 0)
      b.getCharge()
      b.getSingleCharge(0)
      b.getCapacity()
      b.getSingleCapacity(0)

      -- Returns the Input/Output Voltage/Amperage of the buffer
      b.getInputVoltage()
      b.getInputAmperage()
      b.getOutputVoltage()
      b.getOutputAmperage()

      -- Returns the number of batteries that are actually in the buffer right now
      b.getBatteryCount()

      -- Returns the number of slots the buffer has
      b.getBatterySlots()

    短评加载中..