Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

aero

Members
  • Content Count

    1
  • Joined

  • Last visited

About aero

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    asr43331
  • GitHub
    aerogers
  1. i modified the old geoglasses code to work with openglasses 2. the code is as follows: local com=require("component") local arg={...} local glass=com.glasses glass.removeAll() local geo=com.geolyzer local size=tonumber(arg[2]) or 16 local pl=tonumber(arg[1] or 3) local minpl = 2 local maxpl = 5 local maxY if (tonumber(arg[3]) or 0)==0 then maxY=1 else maxY=size end local function tocolor(pl) local color = (pl-minpl)/maxpl if color<0 then return {1,1,1} elseif color>1 then return {1,0,1} else return {color,1-color,0} end end function create(x,y,z,p) local
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.