--12.0000 function fadein_motorshop() -- aici am pus Flyin dupa varianta de PC if not IsEventDone ( EVEnterVegasMotorcycle ) then PlayIntroMovie("Art\\Movie\\Flyin\\city_desertwest01a.xmv") end ChangeRoom( MotorShopExterior ) FadeIn() if not IsQuestionAsked ( Leslie, "_TB_Q131" ) then SetActive ( HMotorShopCounter, false ) end -- conditionate de Warrant-ul de la Brass if not IsQuestionAsked ( WarrantLocations, "_TB_Q137") then SetVisible ( OLeslie2, false ) SetActive ( HMotorShopBack, false ) SetActive ( HMotorShopLeslieEstab2, false ) end end AddEvent( EVEnterVegasMotorcycle, true, nil, MotorShop, nil, "fadein_motorshop" ) ------------------------------------------------------------------- --12.2000 function enter_leslie_room () if not DisplayQuestionList ( Leslie ) then PlayDialog ( Leslie, "M1_LESLIE_1106") end end AddEvent ( nil, true, nil, MotorShopLeslie1, nil, "enter_leslie_room" ) --12.2000 function click_on_leslie() if not DisplayQuestionList( Leslie ) then PlayDialog ( Leslie, "M1_LESLIE_1106") end end AddEvent( nil, true, nil, Leslie, nil, "click_on_leslie") -------------------------------------------------------------------------------------------------------------------- --12.7000 function enter_garage_trademarks_cond () return not IsQuestionAsked ( Leslie, "_TB_Q131" ) end function enter_garage_trademarks () PlayDialog ( Katy, "M1_CAT_2617" ) end AddEvent ( nil, true, nil, MotorShopTrail, "enter_garage_trademarks_cond", "enter_garage_trademarks" ) ------------------------------------------------------------------- --12.8000 function collect_garage_trademarks_cond () return IsQuestionAsked ( Leslie, "_TB_Q131" ) end function collect_garage_trademarks () PlayDialog ( Katy, "M1_CAT_284" ) SetActive ( HMotorShopTrailCU, false ) SetActive ( HMotorShopTrail, false ) AddEvidence ( ETVegasMotoTyreTread ) AddEvidenceDescriptionText ( ETVegasMotoTyreTread, "_TB_E790" ) end AddEvent ( nil, false, efoil, HMotorShopTrailCU, "collect_garage_trademarks_cond", "collect_garage_trademarks" ) --------------------------------------------------------------------------------------------------------------------- --12.9000 function collect_glass_fingerprint () SetActive ( HMotorShopFingerprints, false ) SetActive ( OMotorShopFingerprints, false ) SetActive ( HMotorShopCounter, false ) AddEvidence ( ETCounterFingerprint ) AddEvidenceDescriptionText ( ETCounterFingerprint, "_TB_E621" ) SetActive ( HMotorShopCounter, false ) end AddEvent ( nil, false, fingerdust, OMotorShopFingerprints, nil, "collect_glass_fingerprint" ) ------------------------------------------------------------------ --14.6000 function show_bike_tread_to_leslie1_cond () return EvidenceEnablesQuestion () end function show_bike_tread_to_leslie1 () PlayDialog ( Leslie, "M1_LESLIE_2066" ) ChangeRoom ( MotorShopLeslie1 ) SetBackRoom ( MotorShopLeslie1, MotorShopInterior ) end AddEvent (EVShowBikeTreadLeslie1, false, ETMotorcycleTyreTread, Leslie, "show_bike_tread_to_leslie1_cond", "show_bike_tread_to_leslie1" ) ------------------------------------------------------------------ -- facut dupa varianta de PC --27.5000 function enter_leslie_mail_inbox() SetActive ( HMSIncomingMail, true ) SetActive ( HMSIconNormalMail1, false ) end AddEvent( nil, true, nil, MotorShopMailbox, nil, "enter_leslie_mail_inbox" ) function enter_leslie_incoming_mail () SetActive ( HMSIncomingMail, false ) SetVisible ( OMSIconNormalMail, true ) SetActive ( HMSIconNormalMail1, true ) SetBackRoom( MotorShopReceived, MotorShopMailbox ) end AddEvent ( nil, true, nil, HMSIncomingMail, nil, "enter_leslie_incoming_mail" ) function click_leslie_received_mail_first () SetActive ( HMSIconNormalMail1, false ) PlayDialog ( nil, "M1_CAT_289" ) SetActive ( HMSMyInboxIcon, false ) SetActive ( HMotorShopComputer, false ) SetBackRoom( MotorShopText, MotorShopReceived ) end AddEvent ( EVViewLeslieReceivedMail, false, nil, MotorShopText, nil, "click_leslie_received_mail_first" ) function click_leslie_received_mail_multiple () SetActive ( HMSIconNormalMail1, false ) SetBackRoom( MotorShopText, MotorShopReceived ) end AddEvent ( nil, true, nil, MotorShopText, nil, "click_leslie_received_mail_multiple" ) function press_close_button_motorshop () SetBackRoom ( MotorShopComputer, MotorShopBack ) end AddEvent ( nil, true, nil, MotorShopComputer, nil, "press_close_button_motorshop" ) function press_button_motorshop_received () SetActive ( HMSIncomingMail, false ) SetVisible ( OMSIconNormalMail, true ) SetActive ( HMSIconNormalMail1, true ) SetBackRoom( MotorShopReceived, MotorShopMailbox ) -- SetBackRoom ( MotorShopReceived, MotorShopMailbox ) end AddEvent ( nil, true, nil, MotorShopReceived, nil, "press_button_motorshop_received" ) ------------------------------------------------------------------- --27.5500 function enter_tool_shelf_takekomawa_fingerprint () SetActive ( HMotorShopToolPrint, false ) SetActive ( EHOTSPOT_Komawa_FPrint, false ) SetActive ( EOBJ_Komawa_FPrint, false ) SetActive ( OMotorShopToolPrint, false ) AddEvidence ( ETKomawaFingerprint ) AddEvidenceDescriptionText ( ETKomawaFingerprint, "_TB_E732" ) end AddEvent ( EVTakeKomawaPrint, false, fingerdust, OMotorShopToolPrint, nil, "enter_tool_shelf_takekomawa_fingerprint" ) ------------------------------------------------------------------- function enter_tool_shelf_takekomawa_object () SetActive ( HMotorShopToolPrint, false ) SetVisible ( OMotorShopToolPrint, false ) SetVisible ( OMotorShopToolCU, false ) SetActive ( HMotorShopToolCU, false ) SetActive ( HMotorShopToolEstab, false ) SetVisible ( OMotorShopToolEstab, false ) SetVisible ( OMotorShopToolPrint, false ) PlayDialog ( Katy, "M1_CAT_290" ) AddEvidence ( EIVegasMotoKomawa ) AddEvidenceDescriptionText ( EIVegasMotoKomawa, "_TB_E699" ) end AddEvent ( EVTakeKomawaTool1, false, gloves, HMotorShopToolCU, nil, "enter_tool_shelf_takekomawa_object" ) ------------------------------------------------------------------- --27.7000 function take_lottery_tickets () SetVisible ( OMotorShopTicketCU1, false ) SetVisible ( OMotorShopTicketCU2, false ) SetActive ( HMotorShopTicketCU, false ) PlayDialog ( Katy, "M1_CAT_291" ) SetActive ( HMotorShopTicketFar, false ) SetVisible ( OMotorShopTicketFar, false ) if HasEvidence ( EIVegasMotoEnvelope ) then SetActive ( HMotorShopTicketEstab, false ) SetVisible ( OMotorShopTicketEstab, false ) end AddEvidence ( EDLotteryTicket ) AddEvidenceDescriptionText ( EDLotteryTicket, "_TB_E701" ) end AddEvent ( nil, false, gloves, HMotorShopTicketCU, nil, "take_lottery_tickets" ) ------------------------------------------------------------------- --27.7500 function observe_envelope_with_money () PlayDialog ( Katy, "M1_CAT_292" ) end AddEvent ( nil, false, nil, MotorShopEnvelope, nil, "observe_envelope_with_money" ) ------------------------------------------------------------------- --27.8500 function take_fingerprint_from_envelope () SetActive ( OMotorShopEnvelopePrint, false ) SetActive ( EHOTSPOT_Envelope_FPrint, false ) SetActive ( EOBJ_Envelope_FPrint, false ) AddEvidence ( ETEnvelopeFingerprint ) AddEvidenceDescriptionText ( ETEnvelopeFingerprint, "_TB_E720" ) end AddEvent ( EVTakeEnvelopePrint, false, ninhydrin, OMotorShopEnvelopePrint, nil, "take_fingerprint_from_envelope" ) ------------------------------------------------------------------- --27.8000 function take_envelope_with_money () SetVisible ( OMotorShopEnvelopePrint, false ) SetVisible ( OMotorShopEnvelopeCU, false ) SetActive ( HMotorShopEnvelopeCU, false ) SetActive ( HMotorShopEnvelopeFar, false ) SetVisible ( OMotorShopEnvelopeFar, false ) if HasEvidence ( EDLotteryTicket ) then SetActive ( HMotorShopTicketEstab, false ) SetVisible ( OMotorShopTicketEstab, false ) end AddEvidence ( EIVegasMotoEnvelope ) AddEvidenceDescriptionText ( EIVegasMotoEnvelope, "_TB_E703" ) end AddEvent ( EVTakenEnvelope1, false, gloves, HMotorShopEnvelopeCU, "take_envelope_with_money_cond", "take_envelope_with_money" ) ------------------------------------------------------------------- --27.8900 function observe_stuntman_receipts () PlayDialog ( Katy, "M1_CAT_293" ) end AddEvent ( nil, false, nil, MotorShopReceipt, nil, "observe_stuntman_receipts" ) ------------------------------------------------------------------ --27.9000 function take_stuntman_receipts () SetVisible ( OMotorShopReceiptsCU1, false ) SetVisible ( OMotorShopReceiptsCU2, false ) SetActive ( HMotorShopReceiptsCU, false ) SetActive ( HMotorShopReceiptEstab, false ) SetVisible ( OMotorShopRecipientsEstab, false ) AddEvidence ( EDReceipts ) AddEvidenceDescriptionText ( EDReceipts, "_TB_E705" ) end AddEvent ( nil, false, gloves, HMotorShopReceiptsCU, nil, "take_stuntman_receipts" ) ------------------------------------------------------------------ IncludeFile("Script\\GameLogic\\MotorshopQuestions.lua")