-- 2.1 function garden_intro() FadeIn() PlayDialog( Katy, "M6_CATH_01" ) PlayDialog( Gardner, "M6_WORKER_01" ) ChangeRoom( GardenPanoRoom ) AddSuspect( Gardner, "Gardens Worker", "Art\\Reenactments\\Pictures\\worker.tga" ) SetVisible( OGardenTire, false ) end AddEvent( nil, false, nil, GardenEstablishment, nil, "garden_intro" ) function garden_enter() if not IsEventDone( EVGardenIntro ) then ChangeRoom( GardenEstablishment, true ) else FadeIn() end end AddEvent( EVGardenIntro, true, nil, Garden, nil, "garden_enter" ) -- 2.2 function gardner_closeup() if not DisplayQuestionList( Gardner ) then PlayDialog ( Gardner, "M6_WORKER_50") end end AddEvent( nil, true, nil, GardenGardnerCloseup, nil, "gardner_closeup" ) function gardner_questions() -- DisplayQuestionList( Gardner ) if not DisplayQuestionList( Gardner ) then PlayDialog ( Gardner, "M6_WORKER_50") end end AddEvent( nil, true, nil, Gardner, nil, "gardner_questions" ) -- 2.4 function lamp_post_closeup() PlayDialog( nil, "M6_CATH_04" ) end AddEvent( nil, false, nil, GardenLamp, nil, "lamp_post_closeup" ) -- 2.4.1 function dent_lens() ZoomToRoom( GardenDent ) -- ChangeLink( HGardenLampMag, GardenDent) -- ChangeRoom( GardenDent , true ) end AddEvent( nil, true, magnifier, HGardenLampMag, nil, "dent_lens" ) function garden_dent_room() PlayDialog( nil, "M6_CATH_05" ) end AddEvent( nil, false, nil, GardenDent, nil, "garden_dent_room" ) -- 2.4.2 function garden_paint_scraps_pick() SetVisible( OGardenDent, false ) SetActive( HGardenDent, false ) SetActive( HGardenLampMag, false ) SetActive( HGardenPanoLamp, false ) AddEvidence( ETScrapPaint ) AddEvidenceDescriptionText( ETScrapPaint , "TEXT5031" ) end AddEvent( nil, false, tweezers, HGardenDent, nil, "garden_paint_scraps_pick" ) -- 2.5 function garden_footprint_closeup() PlayDialog( nil, "M6_CATH_06" ) end AddEvent( nil, false, nil, GardenFootprint, nil, "garden_footprint_closeup" ) -- 2.5.1 function garden_footprint_cast() SetVisible( OGardenFootprint, true ) PlaySound( nil, "CASTPOUR" ) SetVisible( OGardenFootprint, false ) SetActive( HGardenFootprint, false ) -- Sunt definite 2 Hotspot-uri cu acelasi nume si ca urmare nu se pot face inactive SetActive( HGardenPanoFootprint, false ) AddEvidence( ETFootPrint ) AddEvidenceDescriptionText( ETFootPrint , "TEXT5037" ) end AddEvent( nil, false, cast, HGardenFootprint, nil, "garden_footprint_cast" ) -- 2.6 function garden_tire_tread_closeup() PlayDialog( nil, "M6_CATH_07" ) end AddEvent( nil, false, nil, GardenTire, nil, "garden_tire_tread_closeup" ) -- 2.6.1 2.6.4 ------------------------------------ -- Ne trebuie filmuletul cu masina ------------------------------------ function garden_tire_tread_cast() SetVisible( OGardenTire, true) PlaySound( nil, "CASTPOUR" ) SetVisible( OGardenTire, false ) SetActive( HGardenTire, false ) SetActive( HGardenPanoTire, false ) PlayReenactment( "Art\\Reenactments\\Movie\\reenact1.xmv", "Art\\Reenactments\\Pictures\\reenact1.tga", "TEXT5326", nil, "REENACT1" ) AddEvidence( ETTireGardens ) AddEvidenceDescriptionText( ETTireGardens , "TEXT5043" ) end AddEvent( nil, false, cast, HGardenTire, nil, "garden_tire_tread_cast" ) -- 2.7 function garden_insects_closeup() PlayDialog( nil, "M6_CATH_09" ) end AddEvent( nil, false, nil, GardenBug, nil, "garden_insects_closeup" ) -- 2.7.1 function garden_insects_pick() SetVisible( OGardenBug1, false) SetVisible( OGardenBug2, false) SetActive( HGardenBug, false ) SetActive( HGardenPanoBug, false ) AddEvidence( EIBugGardens ) AddEvidenceDescriptionText( EIBugGardens , "TEXT5049" ) end AddEvent( nil, false, tweezers, HGardenBug, nil, "garden_insects_pick" ) -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- -- HINTS -------------------------------------------------------------------------------------- function katy_show_questions() if not DisplayQuestionList( Katy ) then PlayDialog( Katy, "M1_CAT_1214" ) end end AddEvent( nil, true, nil, Katy, nill, "katy_show_questions" ) function garden_katy_hints() if not DisplayQuestionList( Katy ) then PlayDialog( Katy, "M1_CAT_1214" ) end end AddEvent( nil,true, nil, GardenKatyCloseup, nil, "garden_katy_hints" ) ---------------------------------------------------------------------------------------- IncludeFile( "Script\\Gamelogic\\GardnerQuestions.lua" )