Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --BarAPI Test
- os.loadAPI("BarAPI")
- local Current = 24
- local Total = 54
- local ActiveColor = "red"
- local InactiveColor = "yellow"
- local CursorX = 1
- local CursorY = 1
- local Mon = peripheral.wrap("left")
- local Percent = 25 --= BarAPI.Percentage(Current, Total)
- term.clear()
- BarAPI.PercentBar(CursorX ,CursorY, InactiveColor, ActiveColor, Percent, Mon)
Advertisement
Add Comment
Please, Sign In to add comment