First commit

This commit is contained in:
2025-02-26 13:42:34 +01:00
commit f465c9072c
2467 changed files with 426214 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
function onStepIn(creature, item, position, fromPosition)
if Game.isItemThere({x = 32816, y = 31601, z = 09},3206) and creature:isPlayer() then
doRelocate(item:getPosition(),{x = 32701, y = 31639, z = 06})
Game.removeItemOnMap({x = 32816, y = 31601, z = 09}, 3206)
Game.sendMagicEffect({x = 32701, y = 31639, z = 06}, 11)
Game.sendMagicEffect({x = 32816, y = 31601, z = 09}, 14)
creature:getPlayer():setStorageValue(65,0)
creature:getPlayer():setStorageValue(66,0)
else
doRelocate(item:getPosition(),{x = 32818, y = 31599, z = 09})
Game.sendMagicEffect({x = 32818, y = 31599, z = 09}, 11)
end
end
function onAddItem(item, tileitem, position)
doRelocate(item:getPosition(),{x = 32818, y = 31599, z = 09})
Game.sendMagicEffect({x = 32818, y = 31599, z = 09}, 11)
end