mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-22 13:40:25 +02:00
Updated scripts
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2388 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
+12
-7
@@ -47,6 +47,9 @@ Profiles =
|
||||
{
|
||||
DYNAMO = 66,
|
||||
CARMEN = 78,
|
||||
KINGPIN = 86,
|
||||
MARIA = 88,
|
||||
ANGEL = 89,
|
||||
MADAME = 107,
|
||||
}
|
||||
|
||||
@@ -55,7 +58,7 @@ nHistory = {
|
||||
HISTORY_QUEST_FINISHED = 16,
|
||||
}
|
||||
|
||||
nFacts = {
|
||||
Facts = {
|
||||
|
||||
FACT_ESTONI_REFUELLING_POSSIBLE = 277,
|
||||
|
||||
@@ -65,13 +68,15 @@ local NO_PROFILE = 200
|
||||
|
||||
function InternalStartQuest( ubQuest, sSectorX, sSectorY, fUpdateHistory )
|
||||
|
||||
if ( CheckQuest(ubQuest) == qStatus.QUESTNOTSTARTED ) then
|
||||
if ( CheckQuest(ubQuest) == qStatus.QUESTNOTSTARTED ) then
|
||||
|
||||
SetQuest( ubQuest, qStatus.QUESTINPROGRESS )
|
||||
if ( fUpdateHistory == true) then
|
||||
if ( is_networked == 0 ) then
|
||||
SetHistoryFact( nHistory.HISTORY_QUEST_STARTED, ubQuest, GetWorldTotalMin(), sSectorX, sSectorY )
|
||||
end
|
||||
end
|
||||
|
||||
if ( fUpdateHistory == true) then
|
||||
if ( is_networked == 0 ) then
|
||||
SetHistoryFact( nHistory.HISTORY_QUEST_STARTED, ubQuest, GetWorldTotalMin(), sSectorX, sSectorY )
|
||||
end
|
||||
end
|
||||
else
|
||||
SetQuest( ubQuest, qStatus.QUESTINPROGRESS )
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user