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,15 @@
function onStepIn(creature, item, position, fromPosition)
if Game.isItemThere({x = 32225, y = 32276, z = 10}, 1949) then
doRelocate(item:getPosition(),{x = 32232, y = 32276, z = 09})
item:getPosition():sendMagicEffect(15)
Game.sendMagicEffect({x = 32232, y = 32276, z = 09}, 15)
end
end
function onAddItem(item, tileitem, position)
if Game.isItemThere({x = 32225, y = 32276, z = 10}, 1949) then
doRelocate(item:getPosition(),{x = 32232, y = 32276, z = 09})
item:getPosition():sendMagicEffect(15)
Game.sendMagicEffect({x = 32232, y = 32276, z = 09}, 15)
end
end