Kyle takes over the San Mona leather shop once his quest is over

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2251 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2015-06-04 12:55:36 +00:00
parent caeccad6a8
commit 397a6091f3
3 changed files with 435 additions and 9 deletions
@@ -170,6 +170,7 @@ Profil =
MADLAB = 146,
ROBOT = 62,
MIGUEL = 57,
KYLE = 95,
}
local gsRobotGridNo
@@ -182,6 +183,13 @@ function HandleQuestCodeOnSectorEntry( sNewSectorX, sNewSectorY, bNewSectorZ )
SetCharacterSectorX(Profil.ANGEL, 0)
SetCharacterSectorY(Profil.ANGEL, 0)
end
if ( sNewSectorX == 6 and sNewSectorY == SectorY.MAP_ROW_C and gubQuest( Quests.QUEST_LEATHER_SHOP_DREAM ) == qStatus.QUESTDONE ) then
-- move Kyle to his shop
SetCharacterSectorX(Profil.KYLE, 6)
SetCharacterSectorY(Profil.KYLE, SectorY.MAP_ROW_C)
SetProfileStrategicInsertionData(Profil.KYLE, 12380)
end
if ( sNewSectorX == 5 and sNewSectorY == SectorY.MAP_ROW_D ) then
ResetBoxers()