mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
finish quest part of inq
This commit is contained in:
16
data/movements/scripts/inquisition/entrance_back.lua
Normal file
16
data/movements/scripts/inquisition/entrance_back.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
Reference in New Issue
Block a user