mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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/trunk/GameSource/ja2_v1.13/Build@6495 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -988,6 +988,23 @@ void HandleEarlyMorningEvents( void )
|
||||
gMercProfiles[ RAT ].bSectorZ = 0;
|
||||
}
|
||||
|
||||
// Does John leave country after quest completion?
|
||||
if ( gubQuest[ QUEST_ESCORT_TOURISTS ] == QUESTDONE && (gMercProfiles[ JOHN ].sSectorX == 13) &&
|
||||
(gMercProfiles[ JOHN ].sSectorY == MAP_ROW_B) && (gMercProfiles[ JOHN ].bSectorZ == 0) )
|
||||
{
|
||||
gMercProfiles[ JOHN ].sSectorX = 0;
|
||||
gMercProfiles[ JOHN ].sSectorY = 0;
|
||||
gMercProfiles[ JOHN ].bSectorZ = 0;
|
||||
}
|
||||
|
||||
// Does Mary leave country after quest completion?
|
||||
if ( gubQuest[ QUEST_ESCORT_TOURISTS ] == QUESTDONE && (gMercProfiles[ MARY ].sSectorX == 13) &&
|
||||
(gMercProfiles[ MARY ].sSectorY == MAP_ROW_B) && (gMercProfiles[ MARY ].bSectorZ == 0) )
|
||||
{
|
||||
gMercProfiles[ MARY ].sSectorX = 0;
|
||||
gMercProfiles[ MARY ].sSectorY = 0;
|
||||
gMercProfiles[ MARY ].bSectorZ = 0;
|
||||
}
|
||||
|
||||
// Empty money from pockets of Vince 69, Willis 80, and Jenny 132
|
||||
SetMoneyInSoldierProfile( VINCE, 0 );
|
||||
|
||||
Reference in New Issue
Block a user