StoutLanguagePrimer.lua 454 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Stout Language Primer
  3. Script Purpose :
  4. Script Author : Neatz09
  5. Script Date : 1/18/2019
  6. Script Notes :
  7. --]]
  8. function buy_display_flags(Item, Spawn)
  9. if HasLanguage(Spawn,8) then return 128
  10. end
  11. end
  12. function obtained(Item, Spawn)
  13. if not HasLanguage(Spawn,8) then
  14. AddLanguage(Spawn, 8)
  15. SendMessage(Spawn, "You have learned the basics of the Stout language", "White")
  16. RemoveItem(Spawn, 904)
  17. end
  18. end