mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-10 04:10:45 +01:00
fix few more items 7.92
This commit is contained in:
@@ -644,6 +644,7 @@
|
||||
<movevent event="RemoveItem" itemid="2927" script="misc/candelabrum.lua" />
|
||||
<movevent event="RemoveItem" itemid="3482" script="misc/open_trap.lua" />
|
||||
<movevent event="StepIn" frommovementid="51191" tomovementid="51198" script="misc/turtles.lua" />
|
||||
<movevent event="AddItem" itemid="6278" tileitem="1" script="misc/lit_candlestick.lua" />
|
||||
|
||||
<!--Doors -->
|
||||
<movevent event="StepOut" itemid="1643" script="misc/doors.lua" />
|
||||
|
||||
8
data/movements/scripts/misc/lit_candlestick.lua
Normal file
8
data/movements/scripts/misc/lit_candlestick.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function onAddItem(item, tileitem, position)
|
||||
if item:getId() == 2918 or item:getId() == 2917 then
|
||||
tileitem:transform(6279, 1)
|
||||
item:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)
|
||||
item:remove()
|
||||
end
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user