Full Distribution

This commit is contained in:
rasanpedromujica
2019-01-16 17:16:38 -05:00
commit 009a571331
1258 changed files with 185603 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
function onUse(player, item, fromPosition, target, toPosition)
if player:getItemCount(3231) >= 1 and player:getStorageValue(283) == 1 then
Game.sendMagicEffect({x = 33048, y = 32630, z = 01}, 14)
player:removeItem(3231, 1)
Game.createItem(3243, 1, {x = 33048, y = 32631, z = 01})
player:setStorageValue(283, 2)
end
return true
end