From 33fe5aae598532568b88ba5aec9f2c4f24d34632 Mon Sep 17 00:00:00 2001 From: Flugente Date: Fri, 19 Jun 2015 18:56:53 +0000 Subject: [PATCH] Moved start of new quest to code from lua, as otherwise the player can exploit NPC presence and finish quest too easy git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2256 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Scripts/Quests.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gamedir/Data-1.13/Scripts/Quests.lua b/gamedir/Data-1.13/Scripts/Quests.lua index 17ff045c2..973170661 100644 --- a/gamedir/Data-1.13/Scripts/Quests.lua +++ b/gamedir/Data-1.13/Scripts/Quests.lua @@ -189,10 +189,7 @@ function InternalEndQuest( ubQuest, sSectorX, sSectorY, fUpdateHistory ) -- if the escape was not noticed, initiate 'bounty hunter' quest. Set a timer, at some point in the future, if we aren't hostile to him etc., if ( (CheckFact( Facts.FACT_MARIA_ESCAPE_NOTICED, 0 ) == false) and (CheckFact( Facts.FACT_KINGPIN_DEAD, 0 ) == false) and (CheckFact( Facts.FACT_KINGPIN_IS_ENEMY, 0 ) == false) and (CheckMercIsDead ( Profiles.KINGPIN ) == false) ) then - - -- start the quest - StartQuest( nQuests.QUEST_KINGPIN_ANGEL_MARIA, sSectorX, sSectorY ) - + -- set email from kingpin to arrive on 9:00 the next day -- also set up the end of the quest 7 days later AddFutureDayStrategicEvent(nEvents.EVENT_KINGPIN_BOUNTY_INITIAL, 540, 0, 1)