houseitemwidgetbook.lua 388 B

123456789101112131415161718
  1. --[[
  2. Script Name : SpawnScripts/The Estate of Unrest/houseitemwidgetbook.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.31 03:12:04
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function casted_on(NPC, Spawn, Message)
  11. if Message == "Take the book" then
  12. SummonItem(Spawn, 30001, 1)
  13. Despawn(NPC)
  14. end
  15. end