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:
Wanne
2013-10-14 11:57:51 +00:00
parent eabb415ee1
commit bcc9d88efd
6 changed files with 104 additions and 20 deletions
@@ -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 )