-- 29.0005 function condo_intro() PlayIntroMovie( "Art\\Movie\\Flyin\\city_condo01a.xmv" ) FadeIn() PlayDialog( Rebecca, "M2_REBECCA_388" ) ChangeRoom( CondoEstab ) PlayDialog( Warrick, "M2_WARRICK_1317" ) if not IsQuestionAsked( WarrantLocations, QIDCondo1 ) then SetActive( HCondoPortrait, false ) -- La sfarsit trebuiesc decomentate SetActive( HCondoVodkaBox, false ) SetActive( HCondoCatHair, false ) SetActive( HCondoFireplace, false ) end end AddEvent( nil, false, nil, CondoRebecca, nil, "condo_intro" ) function condo_enter() if not IsEventDone( EVCondoIntro ) then ChangeRoom( CondoRebecca ) else if IsQuestionAsked( WarrantSuspects, "_TB_Q63" ) then SetVisible( ORebeccaCondo, false ) SetActive( HCondoRebecca, false ) end ChangeRoom( CondoEstab ) FadeIn() end end AddEvent( EVCondoIntro, true, nil, Condo, nil, "condo_enter" ) function rebbeca_questions_char() -- DisplayQuestionList( Rebecca ) if not DisplayQuestionList( Rebecca ) then PlayDialog ( Rebecca, "M2_REBECCA_1361" ) end end AddEvent( nil, true, nil, Rebecca, nil, "rebbeca_questions_char" ) function rebecca_quest_room() if not IsEventDone( EVFirstDisplay ) then return else if not DisplayQuestionList( Rebecca ) then PlayDialog ( Rebecca, "M2_REBECCA_1361" ) end end end AddEvent( EVFirstDisplay, true, nil, CondoRebecca, nil, "rebecca_quest_room" ) function rebbeca_questions() if not DisplayQuestionList( Rebecca ) then PlayDialog ( Rebecca, "M2_REBECCA_1361" ) end end AddEvent( nil, true, nil, InterroRebbecaEstab, nil, "rebbeca_questions" ) -------------------------------------------------------------------------------------------------------------------------- -- 31.2000 -- Avem nevoie de Evenimentul 2.2106 function rebecca_final_vodka_cond() return IsQuestionAsked( Rebecca, "_TB_Q60" ) and IsQuestionAsked( Coroner, "_TB_Q7" ) end function rebecca_final_vodka() PlayDialog( nil, "M2_WARRICK_145" ) UpdateCaseFile ( Rebecca, SUSPECT_VICTIM, "_TB_E485", 100 ) end AddEvent( nil, false, nil, CondoVodkaBox, nil, "rebecca_final_vodka" ) -- Trebuie introdusa conditia -- 31.2210 function neck_tie_dialog() PlayDialog( nil, "M2_WARRICK_389" ) end AddEvent( nil, false, nil, CondoPortrait, nil, "neck_tie_dialog" ) -------------------------------------------------------------------------------------------------------------- -- Avem nevoie de evenimentul 23.115 (pawn Shop ) -- 31.2212 function neck_tie_lens() ChangeRoom( CondoTieCrest, true ) if not IsEventDone( EVPawnRing ) then NewEvent( EVTieBefore, nil ) end if IsEventDone( EVPawnRing ) then NewEvent( EVTieAfter, nil ) end end AddEvent( EVCondoLens, true, magnifier, HCondoTieCrest, nil, "neck_tie_lens" ) function tie_crest_before() PlayDialog( nil, "M2_WARRICK_102" ) end AddEvent( EVTieBefore, false, EVTieBefore, nil, nil, "tie_crest_before" ) function tie_crest_after() PlayDialog( nil, "M2_WARRICK_148" ) end AddEvent( EVTieAfter, false, EVTieAfter, nil, nil, "tie_crest_after" ) ------------------------------------------------------------------------------------------------------------------- -- 31.2311 Burned Document function condo_burned_report_dialog() PlayDialog( nil, "M2_WARRICK_150" ) end AddEvent( nil, false, nil, CondoBurnedReport, nil, "condo_burned_report_dialog" ) function condo_burned_report() SetVisible( OCondoBurnedReportClose, false ) SetActive( HCondoBurnedReportClose, false ) SetActive( HCondoReportFar, false ) AddEvidence( EDBurnedPages ) AddEvidenceDescriptionText( EDBurnedPages, "_TB_E466" ) end AddEvent( nil, false, tweezers, HCondoBurnedReportClose, nil, "condo_burned_report" ) -------------------------------------------------------------------------------------------------------------------- -- 31.2320 function rebecca_fireplace_larva_dilaog() PlayDialog( nil, "M2_WARRICK_151" ) end AddEvent( nil, false, nil, CondoLarva, nil, "rebecca_fireplace_larva_dilaog" ) -- 31.2321 function rebecca_fireplace_larva_pick() SetVisible( OCondoLarvaClose, false ) SetActive( HCondoLarvaClose, false ) SetActive( HCondoLarvaFar, false ) AddEvidence( EILarvaCondo ) AddEvidenceDescriptionText( EILarvaCondo, "_TB_E467" ) end AddEvent( nil, false, tweezers, HCondoLarvaClose, nil, "rebecca_fireplace_larva_pick" ) -- 31.2400 function rebecca_cat_hair_pick() SetVisible( OCondoCatHair, false ) SetActive( HCondoCatHair, false ) SetActive( HCondoCatHairFar, false ) AddEvidence( ETCatHair ) AddEvidenceDescriptionText( ETCatHair, "_TB_E268" ) end AddEvent( EVCondoCatHair, false, tweezers, HCondoCatHair, nil, "rebecca_cat_hair_pick" ) --------------------------------- -- Warrick Hints function condo_warrick() DisplayQuestionList( Warrick ) end AddEvent( nil,true, nil, CondoWarrickCU1, nil, "condo_warrick" ) IncludeFile( "Script\\Gamelogic\\RebeccaQuestions.lua" )