some 7.92 items update

This commit is contained in:
ErikasKontenis
2020-03-05 21:56:52 +02:00
parent 6624800f1c
commit 434daeb010
12 changed files with 157 additions and 75 deletions

View File

@@ -0,0 +1,5 @@
function onUse(player, item, fromPosition, target, toPosition)
item:getPosition():sendMagicEffect(CONST_ME_SOUND_YELLOW)
item:getPosition():sendMonsterSay("Merry Christmas, " .. player:getName() .. "!")
return true
end

View File

@@ -42,7 +42,10 @@ local foods = {
[5678] = "Gulp.", -- tortoise egg
[6125] = "Gulp.", -- tortoise egg from Nargor
[6277] = "Mmmm.", -- cake
[6278] = "Mmmm." -- cake
[6278] = "Mmmm.", -- cake
[6392] = "Mmmm.", -- valentine's cake
[6393] = "Mmmm.", -- cream cake
[6500] = "Mmmm.", -- gingerbreadman
}
function onUse(player, item, fromPosition, target, toPosition)