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,18 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and Game.isPlayerThere({x = 33191, y = 31629, z = 13}) and Game.isItemThere({x = 33210, y = 31630, z = 13},1295) then
Game.removeItemOnMap({x = 33210, y = 31630, z = 13}, 1295)
Game.removeItemOnMap({x = 33211, y = 31630, z = 13}, 1295)
Game.removeItemOnMap({x = 33212, y = 31630, z = 13}, 1295)
end
end
function onStepOut(creature, item, position, fromPosition)
if creature:isPlayer() and Game.isPlayerThere({x = 33191, y = 31629, z = 13}) then
doRelocate({x = 33210, y = 31630, z = 13},{x = 33210, y = 31631, z = 13})
doRelocate({x = 33211, y = 31630, z = 13},{x = 33211, y = 31631, z = 13})
doRelocate({x = 33212, y = 31630, z = 13},{x = 33212, y = 31631, z = 13})
Game.createItem(1295, 1, {x = 33210, y = 31630, z = 13})
Game.createItem(1295, 1, {x = 33211, y = 31630, z = 13})
Game.createItem(1295, 1, {x = 33212, y = 31630, z = 13})
end
end