1
0

city_house_res_kitch.qsrc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 mc_inventory['dish_plates'] > 0:
  18. 'You have <b><<mc_inventory[''dish_plates'']>></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 mc_inventory['dish_soap'] > 0:
  24. 'Under the sink is some dishwashing detergent, which is enough for <b><<mc_inventory[''dish_soap'']>></b> ' + iif(mc_inventory['dish_soap'] = 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 mc_inventory['food_basic'] > 0:
  29. if mc_inventory['dish_plates'] = 0 or edahot > 0:$edagot = ''
  30. if mc_inventory['dish_plates'] > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook a meal</a>'
  31. 'There''s enough food for <b><<mc_inventory[''food_basic'']>></b> ' + iif(mc_inventory['food_basic'] = 1, 'serving', 'servings') + '. <<$edagot>>'
  32. elseif mc_inventory['food_diet'] = 0 and mc_inventory['food_basic'] = 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 mc_inventory['food_basic'] >= 2:
  40. act 'Cook a meal for your husband and yourself (1:00)':
  41. cla
  42. *clr
  43. husband += 5
  44. mc_inventory['food_basic'] -= 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 $fatdel
  60. dynamic $lekarstvo
  61. dynamic $vitamin
  62. end
  63. --- city_house_res_kitch ---------------------------------