1
0

gargazel.qsrc 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # gargazel
  2. CLOSE ALL
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. $menu_loc = 'gargazel'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'secluded'
  9. fatherdrunk=0
  10. clr
  11. gs 'stat'
  12. '<center><h4>Garage</h4></center>'
  13. if father_go = 1 and hour >= 16 and hour < 21:
  14. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/garage/gargazel.jpg"></center>'
  15. '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.'
  16. else
  17. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/garage/gargazel_empty.jpg"></center>'
  18. '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.'
  19. end
  20. act 'Leave the garage':minut += 5 & gt 'pavComplex', 'garages'
  21. if father_go = 1 and hour >= 16 and hour < 20:
  22. 'Your <a href="exec:gt ''garfather''">stepfather</a> is in the garage, working on his Gazelle pickup truck.'
  23. end
  24. if father_go=1 and hour>=20 and hour<21:
  25. 'Your <a href="exec:gt ''garfather''">stepfather and uncle Misha</a> are in the garage, drinking vodka.'
  26. set fatherdrunk=1
  27. end
  28. if YouCanGar > 0:
  29. 'You have stored <<GarTorgItem>> 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.'
  30. if tovarL >= 30:
  31. 'You already have too much stored at home and do not have any more space.'
  32. elseif tovarL < 30:
  33. perenGarTov = 30-tovarL
  34. 'You can bring <<perenGarTov>> trinkets home and store them somewhere, until you have time to collect and sell them at the train station.'
  35. if GarTorgItem > 0:
  36. if GarTorgItem >= perenGarTov:
  37. act 'Move <<perenGarTov>> trinkets to your home':
  38. cls
  39. menu_off = 1
  40. minut += 60
  41. tovarL += perenGarTov
  42. GarTorgItem -= perenGarTov
  43. gs 'stat'
  44. 'You spend an hour gathering your trinkets from various places, bringing them home and hiding them there.'
  45. act 'Continue':gt $curloc
  46. end
  47. end
  48. if GarTorgItem < perenGarTov:
  49. act 'Collect <<GarTorgItem>> trinkets to take with you':
  50. cls
  51. menu_off = 1
  52. minut += 30
  53. tovarL += GarTorgItem
  54. GarTorgItem = 0
  55. gs 'stat'
  56. '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.'
  57. act 'Continue':gt $curloc
  58. end
  59. end
  60. end
  61. end
  62. end
  63. --- gargazel ---------------------------------