city_house_res_kitch.qsrc 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # city_house_res_kitch
  2. if $ARGS[0] = 'kitch':
  3. $loc = 'city_house_res_kitch'
  4. $loc_arg = 'kitch'
  5. $menu_loc = 'city_house_res_kitch'
  6. $menu_arg = 'kitch'
  7. $locclass = 'kitr'
  8. menu_off = 0
  9. minut += 1
  10. gs 'kit_din'
  11. gs 'stat'
  12. *clr & cla
  13. '<center><b><font color="maroon">Kitchen</font></b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/city/residential/house/crh_kitchen.jpg"></center>'
  15. act 'Leave the room': gt 'city_house_res_misc', 'hallw'
  16. 'A well stocked kitchen containing all the necessities to make whatever meal you please.'
  17. if cltarelka > 0:
  18. 'You have <b><<cltarelka>></b> clean plates left.'
  19. else
  20. '<b><font color="red">You don''t have any clean plates left.</font></b>'
  21. end
  22. if dirttarelka > 0:'There are <b><<dirttarelka>></b> dirty dishes in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
  23. if fairy > 0:
  24. 'Under the sink is some dishwashing detergent, which is enough for <b><<fairy>></b> ' + iif(fairy = 1, 'time.', 'times.')
  25. else
  26. '<b><font color="red">You have nothing to wash dishes with. You should buy some detergent.</font></b>'
  27. end
  28. if eda > 0:
  29. if cltarelka = 0 or edahot > 0:$edagot = ''
  30. if cltarelka > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook a meal</a>'
  31. 'There''s enough food for <b><<eda>></b> ' + iif(eda = 1, 'serving', 'servings') + '. <<$edagot>>'
  32. elseif edaD = 0 and eda = 0:
  33. '<b><font color="red">The fridge is empty. You have nothing to eat.</font></b>'
  34. end
  35. if edahot > 0:'<a href="exec:dynamic $edahotd">There''s a warm meal on the table.</a>'
  36. if husband > 0 and husbandrink ! 10:
  37. if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
  38. end
  39. if husband > 0 and husbanday > 0 and huseatday ! daystart and eda >= 2:
  40. act 'Cook a meal for your husband and yourself (1:00)':
  41. cla
  42. *clr
  43. husband += 5
  44. eda -= 2
  45. minut += 60
  46. huseatday = daystart
  47. pcs_mood -= 25
  48. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  49. 'You prepare a meal for your husband and yourself.'
  50. act 'Leave the meal':gt 'kuhr'
  51. end
  52. end
  53. dynamic $edasnack
  54. dynamic $sandwich
  55. dynamic $driwater
  56. dynamic $dritea
  57. dynamic $fill_bottle
  58. dynamic $edaD
  59. dynamic $pranik
  60. dynamic $fatdel
  61. dynamic $lekarstvo
  62. dynamic $vitamin
  63. end
  64. --- city_house_res_kitch ---------------------------------