mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user