Advertisement
Kijan

Ancient Technology

Apr 13th, 2018
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. function onLoad(save_state)
  2.   self.createButton({
  3.     click_function = "nextStage",
  4.     function_owner = self,
  5.     position       = {0,0.1,0},
  6.     width          = 1100,
  7.     height         = 2200,
  8.     color          = {0,0,0,0},
  9.     tooltip        = "Next Stage",
  10.   })
  11. end
  12.  
  13. function nextStage()
  14.   local bag = getObjectFromGUID("3ea749")
  15.   bag.putObject(self)
  16.   bag.takeObject({
  17.     position       = {117.48, 1.83, 20.42},
  18.     rotation       = {0, 180, 0},
  19.     smooth         = false,
  20.     guid           = "29d554",
  21.   }).setLock(true)
  22.  
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement