Resolve "Merge the best from 7.40 branch"

This commit is contained in:
Erikas Kontenis
2022-04-06 14:58:52 +00:00
parent 3bd1a6f07e
commit 155da3573c
928 changed files with 43723 additions and 1221 deletions

View File

@@ -1,5 +1,5 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():getStorageValue(323) == 1 and creature:getPlayer():isPremium() and creature:getPlayer():getItemCount(5021) >= 1 then
if creature:isPlayer() and creature:getPlayer():getStorageValue(323) == 1 and creature:getPlayer():getItemCount(5021) >= 1 then
doRelocate(item:getPosition(),{x = 32498, y = 31621, z = 06})
item:getPosition():sendMagicEffect(11)
Game.sendMagicEffect({x = 32498, y = 31621, z = 06}, 11)

View File

@@ -1,5 +1,5 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():getStorageValue(323) == 1 and creature:getPlayer():isPremium() and creature:getPlayer():getItemCount(5021) >= 1 then
if creature:isPlayer() and creature:getPlayer():getStorageValue(323) == 1 and creature:getPlayer():getItemCount(5021) >= 1 then
doRelocate(item:getPosition(),{x = 32664, y = 32735, z = 06})
item:getPosition():sendMagicEffect(11)
Game.sendMagicEffect({x = 32664, y = 32735, z = 06}, 11)

View File

@@ -1,8 +1,5 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and not creature:getPlayer():isPremium() then
doRelocate(item:getPosition(),{x = item:getPosition().x + 3, y = item:getPosition().y, z = 07})
Game.sendMagicEffect(item:getPosition(), 13)
end
end
function onAddItem(item, tileitem, position)