mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Externalized (by Buggler)
- AWOL scientist location - Brothel sector - Call Kingpin over for boxing match - fact Tony in building - meet Carmen for reward - moved John & Mary unescort sector from Mod_Settings.ini to LUA git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1822 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -260,6 +260,8 @@ Profil =
|
||||
CONRAD = 70,
|
||||
KINGPIN = 86,
|
||||
MADAME = 107,
|
||||
JOHN = 118,
|
||||
MARY = 119,
|
||||
}
|
||||
|
||||
Facts =
|
||||
@@ -555,6 +557,22 @@ function HandleEarlyMorningEvents()
|
||||
SetCharacterSectorZ (Profil.RAT,0)
|
||||
end
|
||||
|
||||
-- Does John leave country after quest completion?
|
||||
JOHNid,JOHNx,JOHNy,JOHNz = CheckNPCinSector(Profil.JOHN)
|
||||
if ( CheckQuest(Quests.QUEST_ESCORT_TOURISTS) == qStatus.QUESTDONE and JOHNx == 13 and JOHNy == 2 and JOHNz == 0 ) then
|
||||
SetCharacterSectorX (Profil.JOHN,0)
|
||||
SetCharacterSectorY (Profil.JOHN,0)
|
||||
SetCharacterSectorZ (Profil.JOHN,0)
|
||||
end
|
||||
|
||||
-- Does Mary leave country after quest completion?
|
||||
MARYid,MARYx,MARYy,MARYz = CheckNPCinSector(Profil.MARY)
|
||||
if ( CheckQuest(Quests.QUEST_ESCORT_TOURISTS) == qStatus.QUESTDONE and MARYx == 13 and MARYy == 2 and MARYz == 0 ) then
|
||||
SetCharacterSectorX (Profil.MARY,0)
|
||||
SetCharacterSectorY (Profil.MARY,0)
|
||||
SetCharacterSectorZ (Profil.MARY,0)
|
||||
end
|
||||
|
||||
-- Empty money from pockets of Vince 69, Willis 80, and Jenny 132
|
||||
SetMoneyInSoldierProfile( Profil.VINCE, 0 )
|
||||
SetMoneyInSoldierProfile( Profil.STEVE, 0 )
|
||||
|
||||
Reference in New Issue
Block a user