1
0

gargazel.qsrc 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # gargazel
  2. CLOSE ALL
  3. $loc_arg = $ARGS[0]
  4. $loc = 'gargazel'
  5. $menu_loc = 'gargazel'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'secluded'
  9. fatherdrunk = 0
  10. clr
  11. gs 'family_schedule'
  12. gs 'stat'
  13. '<center><h4>Garage</h4></center>'
  14. if locat['Stepdad'] = 9:
  15. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/gargazel.jpg"></center>'
  16. 'A large garage that belongs to your stepfather. He spends time in there working on his beloved Gazelle pickup truck whenever he can in the late afternoons and evenings. You can tell the door is not locked, he''s probably in there now.'
  17. else
  18. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/gargazel_empty.jpg"></center>'
  19. 'A large garage that belongs to your stepfather. He spends time in there working on his beloved Gazelle pickup truck whenever he can in the late afternoons and evenings. Right now the garage is closed, and the door is locked with a large padlock.'
  20. end
  21. if locat['Stepdad'] = 9:
  22. if fatherdrunk = 1:
  23. 'Your <a href="exec:gt ''garfather''">stepfather and uncle Misha</a> are in the garage, drinking vodka.'
  24. else
  25. 'Your <a href="exec:gt ''garfather''">stepfather</a> is in the garage, working on his Gazelle pickup truck.'
  26. end
  27. end
  28. act 'Leave the garage':minut += 5 & gt 'pav_complex', 'garages'
  29. if YouCanGar > 0:
  30. 'You have stored <<mc_inventory[''trinkets_garage'']>> trinkets in the garage currently. Your stepfather allowed you to store some things in his garage but doesn''t want you taking up all his space, he has allowed you to store up to 100 trinkets here. The garage is not very easily accessible; if you want to sell the trinkets at the station, you will have to bring them back home first.'
  31. if mc_inventory['trinkets_home'] >= 30:
  32. 'You already have too much stored at home and do not have any more space.'
  33. elseif mc_inventory['trinkets_home'] < 30:
  34. trinkets_can_take = 30 - mc_inventory['trinkets_home']
  35. 'You can bring <<trinkets_can_take>> trinkets home and store them somewhere, until you have time to collect and sell them at the train station.'
  36. if mc_inventory['trinkets_garage'] > 0:
  37. if mc_inventory['trinkets_garage'] >= trinkets_can_take:
  38. act 'Move <<trinkets_can_take>> trinkets to your home':
  39. cls
  40. menu_off = 1
  41. minut += 60
  42. mc_inventory['trinkets_home'] += trinkets_can_take
  43. mc_inventory['trinkets_garage'] -= trinkets_can_take
  44. gs 'stat'
  45. 'You spend an hour gathering your trinkets from various places, bringing them home and hiding them there.'
  46. act 'Continue':gt $curloc
  47. end
  48. end
  49. if mc_inventory['trinkets_garage'] < trinkets_can_take:
  50. act 'Collect <<mc_inventory[''trinkets_garage'']>> trinkets to take with you':
  51. cls
  52. menu_off = 1
  53. minut += 30
  54. mc_inventory['trinkets_home'] += mc_inventory['trinkets_garage']
  55. mc_inventory['trinkets_garage'] = 0
  56. gs 'stat'
  57. 'You spend half an hour gathering your trinkets from various places in the garage, putting them in a bag so you can go sell them at the station.'
  58. act 'Continue':gt $curloc
  59. end
  60. end
  61. end
  62. end
  63. end
  64. --- gargazel ---------------------------------