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,22 @@
local config = {
[16772] = Position(32754, 32365, 15),
[16773] = Position(32725, 32381, 15),
[16774] = Position(32827, 32241, 12),
[50082] = Position(32745, 32394, 14),
[50083] = Position(32745, 32394, 14)
}
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
local targetPosition = config[item:getMovementId()]
if not targetPosition then
return true
end
player:teleportTo(targetPosition)
return true
end