A-Vladimir

test

Dec 29th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 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. sb.logInfo(player.species())
  12. if player.species() ~= "angel" then
  13. -- Uncomment the line below once you change it to the correct tech name.
  14. player.makeTechUnavailable("angelflight")
  15. end
  16. end
  17.  
  18. function uninit()
  19. origUninit()
  20. end
Advertisement
Add Comment
Please, Sign In to add comment