mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-10 04:10:45 +01:00
Full Distribution
This commit is contained in:
13
data/actions/scripts/misc/pumpkin_head.lua
Normal file
13
data/actions/scripts/misc/pumpkin_head.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if not target:isItem() then
|
||||
return false
|
||||
end
|
||||
|
||||
if target:getId() == 2917 then
|
||||
item:transform(2978, 1)
|
||||
item:decay()
|
||||
target:remove()
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
Reference in New Issue
Block a user