shulgahome.qsrc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # shulgahome
  2. !============================!
  3. !----FAMILY HUT Shulgin----!
  4. !============================!
  5. CLOSE ALL
  6. $metka = ''
  7. $loc = 'shulgahome'
  8. menu_off = 1
  9. $location_type = 'event'
  10. !Vasily/Shulga''s dynamic name is randomly chosen in "gopsex"
  11. gs 'stat'
  12. !appeal to Sergei Shulgin
  13. if npc_rel['A112'] < 30:$serg_obr = ' uncle' else $serg_obr = ''
  14. 'You''re at the door to the Shulgin apartment.'
  15. !Entry conditions:
  16. if week < 6 and hour >= 10 and hour < 16:
  17. 'When you ring the doorbell, no one comes to answer the door. Apparently both '+func('gopsex','hide','Shulga_var_name')+' and Sergey are not at home.'
  18. if npc_rel['A112'] >=70: 'You could still enter with the key that Sergey gave you.' & act 'Unlock the door and enter':gt 'shulgahall'
  19. elseif hour >= 16 and hour <= 19:
  20. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/serge/serge2.jpg"></center>'
  21. 'When you ring the doorbell,<<$serg_obr>> Sergey comes to answer the door.'
  22. '"Oh, hello <<$pcs_nickname>>", he shrugs. "If you''re looking for Vasily: he''s not here, and I don''t know when he''ll be back."'
  23. if npc_rel['A112'] >=30: 'He offers: "You can come in anyway, if you want?"' & act 'Enter':gt 'shulgahall'
  24. elseif week = 5 or week = 6 and hour >= 20:
  25. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/serge/serge2.jpg"></center>'
  26. 'When you ring the doorbell,<<$serg_obr>> Sergey comes to answer the door.'
  27. '"Oh, hello <<$pcs_nickname>>", he shrugs. "If you''re looking for Vasily: he''s not here. He''s probably at the disco with everyone else."'
  28. if npc_rel['A112'] >=30: 'He offers: "You can come in anyway, if you want?"' & act 'Enter':gt 'shulgahall'
  29. elseif hour >= 2 and hour < 5:
  30. 'You move your hand to ring the bell, but stop yourself. It''s too late to go visit them, you''d wake everyone up!'
  31. if npc_rel['A112'] >=70: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'shulgahall'
  32. elseif hour >= 5 and hour < 10:
  33. 'You move your hand to ring the bell, but stop yourself. It''s too early, they won''t be out of bed yet.'
  34. if npc_rel['A112'] >=70: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'shulgahall'
  35. else
  36. 'The door is opened by '+func('gopsex','hide','Shulga_var_name')+' and you are invited in.' & act 'Enter':gt 'shulgahall'
  37. end
  38. act 'Leave':minut += 1 & gt'pod_ezd','etaj_3'
  39. --- shulgahome ---------------------------------