Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onStepIn(creature, item, position, fromPosition)
- local player = creature:getPlayer()
- if not player then
- return true
- end
- if(player:getStorageValue(Storage.TheInquisition.Questline) >= 24) then
- return true
- end
- player:teleportTo(fromPosition)
- player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The door seems to be sealed against unwanted intruders.")
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement