DwarvenLanguagePrimer.lua 401 B

1234567891011121314151617
  1. --[[
  2. Script Name : Dwarven Language Primer
  3. Script Purpose : <purpose>
  4. Script Author : <author-name>
  5. Script Date : 1/19/2019
  6. Script Notes : <special-instructions>
  7. --]]
  8. function obtained(Item, Spawn)
  9. if not HasLanguage(Spawn,3) then
  10. AddLanguage(Spawn, 3)
  11. SendMessage(Spawn, "You have learned the basics of the Dwarven language.", "White")
  12. RemoveItem(Spawn, 900)
  13. end
  14. end