-- 20.0000 -- Pawn Shop function fadein_pawn() if not IsEventDone( EVPawnIntro ) then PlayIntroMovie( "Art\\Movie\\Flyin\\intro_pawn01a.xmv" ) end if (not IsEventDone( EVCompMatch3 )) then -- prima intrare SetVisible( ORichard, false) -- trebuiesc decomentate la final SetActive( HPawnShopJacketSidewalk, false) SetActive( HPawnShopRichardEstab, false ) ChangeLink( HPawnShopJacket1, TOOLS ) else SetVisible( ORichard, true) -- trebuiesc decomentate la final SetActive( HPawnShopJacketSidewalk, true) SetActive( HPawnShopRichardEstab, true ) ChangeLink( HPawnShopJacket1, TOOLS ) end if IsEventDone( EVPawnJacket ) then SetVisible( OPawnShopJacket1, false ) end ChangeRoom( PawnShopEstab ) FadeIn() end AddEvent( EVPawnIntro, true, nil, PawnShop, nil, "fadein_pawn" ) -- 20.0100 -- Player enters view '2GarbageCan'. function pawn_garbage_can() PlayDialog( nil, "M2_WARRICK_361" ) end AddEvent( nil, false, nil, PawnShopGarbageCan, nil, "pawn_garbage_can" ) -- 20.1110 -- Player acquires CRUMPLED NOTE with Glove. function pawn_note_pick() SetVisible( OPawnShopGarbage, false ) SetActive( HPawnShopGarbage, false ) AddEvidence( EDNotePawnShop ) AddEvidenceDescriptionText( EDNotePawnShop, "_TB_E809" ) end AddEvent( nil, false, gloves, HPawnShopGarbage, nil, "pawn_note_pick" ) -- 20.1200 -- Player enters view '2PawnShopDoor'. function pawn_beback() PlayDialog( nil, "M2_WARRICK_96" ) end AddEvent( nil, false, nil, PawnShopBeBack, nil, "pawn_beback" ) -- 20.1300 -- Player acquires CIGARETTE BUTT 2 with Glove or Tweezer. function pawn_cigarette2() SetVisible( OPawnShopCigaretteClose, false ) SetVisible( OPawnShopCigaretteEstab, false ) SetActive( HPawnShopCigaretteClose, false ) SetActive( HPawnShopCigaretteEstab, false ) AddEvidence( EICigarettePawnShop ) AddEvidenceDescriptionText( EICigarettePawnShop, "_TB_E207" ) end AddEvent( nil, false, gloves, HPawnShopCigaretteClose, nil, "pawn_cigarette2" ) AddEvent( nil, false, tweezers, HPawnShopCigaretteClose, nil, "pawn_cigarette2" ) -- 23.1050 -- Player enters view '3Jacket'. function pawn_jacket_dialog() PlayDialog( nil, "M2_WARRICK_99" ) end AddEvent( nil, false, nil, PawnShopJacket, nil, "pawn_jacket_dialog" ) -- 23.1120 -- Player acquires JACKET with Glove function pawn_jacket_zoom() ZoomToRoom( PawnShopJacket ) end AddEvent( nil, true, magnifier, HPawnShopJacket1, nil, "pawn_jacket_zoom" ) --function pawn_jacket_pick_cond() -- conditia trebuie inlaturata ca popuo-ul este disponibil -- return HasEvidence( ETJacketHair ) --end function pawn_jacket_pick() SetVisible( OPawnShopJacket1, false ) SetActive( HPawnShopJacket1, false ) SetActive( HPawnShopJacketHair, false) SetActive( HPawnShopJacketStain, false) SetActive( HPawnShopHair, false ) -- SetActive( HPawnShopJacketSidewalk, false ) AddEvidence( EIJacket ) AddEvidenceDescriptionText( EIJacket, "_TB_E459" ) end AddEvent( EVPawnJacket, false, gloves, HPawnShopJacket1, nil, "pawn_jacket_pick" ) -- 23.1125 -- Player enters view '4JacketStain' function pawn_jacket4_dialog() PlayDialog( nil, "M2_WARRICK_100" ) end AddEvent( nil, false, nil, PawnShopStain, nil, "pawn_jacket4_dialog" ) -- 23.1130 -- Player acquires JACKET VOMIT with Swab function pawn_jacket_vomit() SetActive( HPawnShopStain, false ) SetActive( HPawnShopJacketStain, false ) SetActive( EHOTSPOT_vomitZoom, false ) AddEvidence( ETSwabJacket ) AddEvidenceDescriptionText( ETSwabJacket, "_TB_E460" ) -- if IsEventDone( EVPawnCatHair ) then -- ChangeLink( HPawnShopJacket1, TOOLS ) -- end end AddEvent( EVPawnVomit, false, swab, HPawnShopStain, nil, "pawn_jacket_vomit" ) -- 23.1131 -- Player enters view '4CatHaironJacket'. function pawn_cat_hair_dialog() ZoomToRoom( PawnShopHair ) if not IsEventDone( EVPawnHair ) then PlayDialog( nil, "M2_WARRICK_101" ) end end AddEvent( EVPawnHair, true, magnifier, HPawnShopJacketHair, nil, "pawn_cat_hair_dialog" ) -- 23.1132 -- Player acquires JACKET CAT HAIR with Tweezer. function pawn_jacket_hair() SetVisible( OPawnShopHair, false ) SetActive( HPawnShopHair, false ) -- SetVisible( obiectul, false ) -- trebuie declarat cathair ca ob in camera SetActive( HPawnShopJacketHair, false ) SetVisible( EOBJ_jacketHair, false ) SetActive( EHOTSPOT_jacket_Hair, false ) SetActive( EHOTSPOT_jacketHair, false ) AddEvidence( ETJacketHair ) AddEvidenceDescriptionText( ETJacketHair, "_TB_E46" ) -- if IsEventDone( EVPawnVomit ) then -- ChangeLink( HPawnShopJacket1, TOOLS ) -- end end AddEvent( EVPawnCatHair, false, tweezers, HPawnShopHair, nil, "pawn_jacket_hair" ) -- 23.1150 -- Player enters view '3Ring'. function pawn_ring_dialog() PlayDialog( nil, "M2_WARRICK_387" ) if not IsEventDone( EVCondoLens ) then NewEvent( EVRingBefore, nil ) end if IsEventDone( EVCondoLens ) then NewEvent( EVRingAfter, nil ) end end AddEvent( EVPawnRing, false, nil, PawnShopRing, nil, "pawn_ring_dialog" ) function ring_crest_before() PlayDialog( nil, "M2_WARRICK_102" ) end AddEvent( EVRingBefore, false, EVRingBefore, nil, nil, "ring_crest_before" ) function ring_crest_after() PlayDialog( nil, "M2_WARRICK_107" ) end AddEvent( EVRingAfter, false, EVRingAfter, nil, nil, "ring_crest_after" ) -- 23.5000 -- function pawn_ring_pick() SetVisible( OPawnShopRing, false ) SetActive( HPawnShopRingEstab, false ) SetVisible( OPawnShopRing1, false ) SetActive( HPawnShopRing1, false ) AddEvidence( EIRing ) AddEvidenceDescriptionText( EIRing, "_TB_E816" ) end AddEvent( EVPawnRingPick, false, gloves, HPawnShopRingEstab, nil, "pawn_ring_pick" ) -- 27.1000 -- Player enters view '2LaneatPawnShop'. Closeup View of Lane Jackson. function richard_closeup_dialog() PlayDialog( Richard, "M2_RICHARD_110" ) end AddEvent( nil, false, nil, PawnShopRichard, nil, "richard_closeup_dialog" ) ------------------------------------------------------------------------------------------------------------------------ function richard_display_questions() DisplayQuestionList( Richard ) end AddEvent( nil, true, nil, PawnShopRichard, nil, "richard_display_questions" ) function richard_display_questions_char() if not DisplayQuestionList( Richard ) then PlayDialog( Richard, "M2_RICHARD_1363" ) end end AddEvent( nil, true, nil, Richard, nil, "richard_display_questions_char" ) --------------------------------------------------------------------------------------------------------------------------- -- Warrick Hints function pawn_warrick() DisplayQuestionList( Warrick ) end AddEvent( nil,true, nil, PawnShopWarrick, nil, "pawn_warrick" ) IncludeFile( "Script\\Gamelogic\\RichardQuestions.lua" )