Advertisement
bob558

holo

Dec 29th, 2015
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local hologram = component.hologram
  3. local c = 23
  4.  
  5. hologram.setPaletteColor(1, 0xFFFFFF) -- снег
  6. hologram.setPaletteColor(2, 0x221100) -- ствол
  7. hologram.setPaletteColor(3, 0x005522) -- хвоя
  8.  
  9. local function spruce()
  10. local x = 5
  11. local y = 23
  12. local z = 23
  13.  
  14. hologram.set(x, y, z, 1) -- отрисовка
  15.  
  16. end
  17.  
  18.  
  19. ----== Тело программы ==----
  20.  
  21. hologram.clear()
  22.  
  23. spruce()
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement