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
This commit is contained in:
Flugente
2015-06-19 18:56:53 +00:00
parent c59a9722f3
commit 33fe5aae59
+1 -4
View File
@@ -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)