Skip to content

Commit

Permalink
missing it
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyx14 committed Jul 26, 2024
1 parent 7ca5af6 commit 6e7961d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 77 deletions.
22 changes: 1 addition & 21 deletions data-otxserver/scripts/actions/other/others/quest_system.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@ local specialQuests = {
}

local questsExperience = {
[3101] = 1, -- dummy values
--
}

local questLog = {
--
}

local tutorialIds = {
[50080] = 5,
[50082] = 6,
[50084] = 10,
[50086] = 11,
}

local function copyContainerItem(originalContainer, newContainer)
for i = 0, originalContainer:getSize() - 1 do
local originalItem = originalContainer:getItem(i)
Expand Down Expand Up @@ -156,19 +149,6 @@ function questSystem.onUse(player, item, fromPosition, target, toPosition, isHot
player:setStorageValue(questLog[storage], 1)
end

if tutorialIds[storage] then
player:sendTutorial(tutorialIds[storage])
if item.uid == 50080 then
player:setStorageValue(Storage.RookgaardTutorialIsland.SantiagoNpcGreetStorage, 3)
end
end

if table.contains(hotaQuest, item.uid) then
if player:getStorageValue(Storage.TheAncientTombs.DefaultStart) ~= 1 then
player:setStorageValue(Storage.TheAncientTombs.DefaultStart, 1)
end
end

player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have found " .. result .. ".")
player:setStorageValue(storage, 1)
return true
Expand Down
56 changes: 0 additions & 56 deletions data-otxserver/scripts/actions/tibiadrome/concoctions.lua

This file was deleted.

0 comments on commit 6e7961d

Please sign in to comment.