Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Author=An1m3wolf aka Anime02581
- --free to use
- while true do
- sleep(0.2)
- local t1 = peripheral.wrap("BigReactors-Turbine_106")
- local t2 = peripheral.wrap("BigReactors-Turbine_107")
- local t3 = peripheral.wrap("BigReactors-Turbine_108")
- local m = peripheral.wrap("monitor_64")
- local p = peripheral.wrap("draconic_rf_storage_7")
- local t1p = math.floor(t1.getEnergyProducedLastTick())
- local t2p = math.floor(t2.getEnergyProducedLastTick())
- local t3p = math.floor(t3.getEnergyProducedLastTick())
- local t1p_ = math.floor(t1.getEnergyProducedLastTick())
- local t2p_ = math.floor(t2.getEnergyProducedLastTick())
- local t3p_ = math.floor(t3.getEnergyProducedLastTick())
- local tp = math.floor(t1p + t2p + t3p)
- local t1rpm= math.floor(t1.getRotorSpeed())
- local t2rpm= math.floor(t2.getRotorSpeed())
- local t3rpm= math.floor(t3.getRotorSpeed())
- local rfs = math.abs(p.getEnergyStored() / 1000000000000)
- local rfm = math.abs(p.getMaxEnergyStored() / 1000000000000)
- local tex = math.abs(42 / 2 - 4)
- local trpm = math.floor(t1rpm + t2rpm + t3rpm)
- m.clear()
- m.setTextScale(1.5) --recommend monitor size 7x4 lxh
- --==========Dont change or delete anything below here==============--
- m.setCursorPos(tex,1)
- m.setTextColor(colors.orange) --can be changed
- m.write("Draconic Core")
- m.setCursorPos(6,2)
- m.setTextColor(colors.red) --can be changed
- m.write("Energy Stored: ")
- m.setTextColor(colors.lime) --can be changed
- m.write(rfs)
- m.setCursorPos(2,3)
- m.setTextColor(colors.red) --can be changed
- m.write("Max Energy Stored: ")
- m.setTextColor(colors.lime) --can be changed
- m.write(rfm)
- m.setCursorPos(tex,5)
- m.setTextColor(colors.orange) --can be changed
- m.write("Turbinen Info")
- m.setCursorPos(2,6)
- m.setTextColor(colors.blue) --can be changed
- m.write("Turbine 1: ")
- m.setCursorPos(2,7)
- m.setTextColor(colors.red) --can be changed
- m.write("Energy/t: ")
- m.setTextColor(colors.lime) --can be changed
- m.write(t1p_)
- m.setTextColor(colors.yellow) --can be changed
- m.write(" RF/t")
- m.setTextColor(colors.red) --can be changed
- m.write(" @ ")
- m.setTextColor(colors.lime) --can be changed
- m.write(t1rpm)
- m.setTextColor(colors.yellow) --can be changed
- m.write(" RPM")
- m.setCursorPos(2,8)
- m.setTextColor(colors.blue) --can be changed
- m.write("Turbine 2: ")
- m.setCursorPos(2,9)
- m.setTextColor(colors.red) --can be changed
- m.write("Energy/t: ")
- m.setTextColor(colors.lime) --can be changed
- m.write(t2p_)
- m.setTextColor(colors.yellow) --can be changed
- m.write(" RF/t")
- m.setTextColor(colors.red) --can be changed
- m.write(" @ ")
- m.setTextColor(colors.lime) --can be changed
- m.write(t2rpm)
- --i am a free text, former known as keyword
- m.setTextColor(colors.yellow) --can be changed
- m.write(" RPM")
- m.setCursorPos(2,10)
- m.setTextColor(colors.blue)
- m.write("Turbine 3: ")
- m.setCursorPos(2,11)
- m.setTextColor(colors.red)
- m.write("Energy/t: ")
- m.setTextColor(colors.lime)
- m.write(t3p_)
- m.setTextColor(colors.yellow)
- m.write(" RF/t")
- m.setTextColor(colors.red)
- m.write(" @ ")
- m.setTextColor(colors.lime)
- m.write(t3rpm)
- m.setTextColor(colors.yellow)
- m.write(" RPM")
- m.setCursorPos(tex,15)
- m.setTextColor(colors.orange) --can be changed
- m.write("Turbinen Gesamt")
- m.setCursorPos(4,16)
- m.setTextColor(colors.red) --can be changed
- m.write("Energy: ")
- m.setTextColor(colors.lime) --can be changed
- m.write(tp)
- m.setTextColor(colors.yellow) --can be changed
- m.write(" RF/t")
- m.setTextColor(colors.red)
- m.write(" @ ")
- m.setTextColor(colors.lime)
- m.write(trpm)
- m.setTextColor(colors.yellow)
- m.write(" RPM Global")
- end
Advertisement
Add Comment
Please, Sign In to add comment