Major rework of getting captured quests and mechanics. (by Shadooow)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2594 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2021-06-23 20:15:52 +00:00
parent c278e7c833
commit 31e39739b7
9 changed files with 49 additions and 2 deletions
+4 -1
View File
@@ -34,7 +34,7 @@ nQuests =
QUEST_24 = 24, -- Start quest 48, End quest 49
QUEST_KILL_DEIDRANNA = 25, -- Start quest 50, End quest 51
QUEST_KINGPIN_ANGEL_MARIA = 26,
QUEST_HELD_IN_TIXA = 27,
-- max Quests 254
}
@@ -42,6 +42,7 @@ qStatus = {
QUESTNOTSTARTED = 0,
QUESTINPROGRESS = 1,
QUESTDONE = 2,
QUESTCANNOTSTART = 255,
}
Profiles =
@@ -133,6 +134,8 @@ function InternalEndQuest( ubQuest, sSectorX, sSectorY, fUpdateHistory )
GiveQuestRewardPoint( sSectorX, sSectorY, 5, NO_PROFILE )
elseif ( ubQuest == nQuests.QUEST_HELD_IN_ALMA ) then
GiveQuestRewardPoint( sSectorX, sSectorY, 5, NO_PROFILE )
elseif ( ubQuest == nQuests.QUEST_HELD_IN_TIXA ) then
GiveQuestRewardPoint( sSectorX, sSectorY, 5, NO_PROFILE )
elseif ( ubQuest == nQuests.QUEST_RUNAWAY_JOEY ) then
GiveQuestRewardPoint( sSectorX, sSectorY, 5, NO_PROFILE )
elseif ( ubQuest == nQuests.QUEST_ESCORT_TOURISTS ) then