A-Vladimir

test 2

Dec 29th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local origInit = init
  2. local origUpdate = update
  3. local origUninit = uninit
  4.  
  5. function init()
  6. origInit()
  7. end
  8.  
  9. function update(dt)
  10. origUpdate(dt)
  11. if player.species() ~= "angel" then
  12. -- Uncomment the line below once you change it to the correct tech name.
  13. player.makeTechUnavailable("angelflight")
  14. player.makeTechUnavailable("angelflight2")
  15. end
  16. end
  17.  
  18. function uninit()
  19. origUninit()
  20. end
Advertisement
Add Comment
Please, Sign In to add comment