Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Nio
- module Unlimited
- def self.unlimited_setting
- when 1 #Bar/Number ID
- #1 denotes bars, 0 denotes numbers
- @mode = '1'
- #ID of variable to use
- @variableID = 'varID'
- #Maximum amount of bar, can be changed with script call.
- @maximumvalue = "1200"
- #1 denotes scrolling, 0 denotes normal, only works if @mode is 1.
- @bartype = '1'
- #change X Position
- @barx = '300'
- #change Y Position
- @bary = '200'
- #change Z Position
- @barz == '1'
- #Scrolling bar settings, works if bartype is 1<
- #The speed in which the bar is scrolling, 60/1 rotation per second.
- @speed = '60'
- #1 is left, 2 is down, 3 is right, 4 is up.
- @direction = '1'
- @image = 'bar1.png'
- #normal bars settings,
- @color = 'a number'
- @width = 'a number'
- @height = 'a number'
- #number settings, works if @mode is 0
- @font = 'X'
- @Size = 'X'
- @bold = true
- @italics = true
- @shadow = true
- @color = 'X'
- #determines the x position of number
- @numberx ='x'
- #determines the y position of number
- @numbery ='y'
- ###############################################################################
- when 2 #Bar/Number ID
- @mode = '1' #1 denotes bars, 0 denotes numbers
- @variableID = 'varID' #ID of variable to use
- @maximumvalue = "1200" #Maximum amount of bar, can be changed with script call.
- @bartype = '1' #1 denotes scrolling, 0 denotes normal, only works if @mode is 1.
- @barx = '300' #change X Position
- @bary = '200' #change Y Position
- @barz == '1' #change Z Position
- #Scrolling bar settings, works if bartype is 1
- @speed = '60' #The speed in which the bar is scrolling, 60/1 rotation per second.
- @direction = '1' #1 is left, 2 is down, 3 is right, 4 is up.
- @image = 'bar1.png'
- #normal bars settings,
- @color = 'a number'
- @width = 'a number'
- @height = 'a number'
- #number settings, works if @mode is 0
- @font = 'X'
- @Size = 'X'
- @bold = true
- @italics = true
- @shadow = true
- @color = 'X'
- @numberx ='x' #determines the x position of number
- @numbery ='y' #determines the y position of number
- when 3
- #the user can keep adding to add more bars
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement