mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-13 22:34:53 +02:00
add few more 781 items
This commit is contained in:
14
data/actions/scripts/misc/skull_candle.lua
Normal file
14
data/actions/scripts/misc/skull_candle.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if not target:isItem() then
|
||||
return false
|
||||
end
|
||||
|
||||
if target:getId() == 2917 then
|
||||
player:addItem(5813, 1)
|
||||
item:remove(1)
|
||||
target:remove(1)
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user