mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-19 08:43:27 +02:00
finish serpentine tower event and quest
This commit is contained in:
7
data/actions/scripts/serpentine_tower/vampire_lever.lua
Normal file
7
data/actions/scripts/serpentine_tower/vampire_lever.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if item:getId() == 2772 and Game.isItemThere({x = 33145, y = 32863, z = 8}, 1650) then
|
||||
Game.removeItemOnMap({x = 33145, y = 32863, z = 8}, 1650)
|
||||
Game.createItem(1651, 1, {x = 33145, y = 32863, z = 8})
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user