123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # obkitchen
- if $args[0] = '':
- $metka = ''
- $loc = 'obkitchen'
- $location_type = 'private'
- $locclass = 'kitr'
- $menu_loc = 'obkitchen'
- $menu_arg = ''
- menu_off = 0
- gs 'stat'
- '<center><b>in the dorm kitchen</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/obkitchen.jpg"></center>'
- act 'Return to the corridor':gt 'dorm', 'korr'
- if eda > 0:
- 'Your shelf in the refrigerator holds <b><<eda>></b> servings of food.'
- if edahot = 0:
- act 'Cook food (0:25)':
- cla
- *clr
- menu_off = 1
- minut += 25
- edahot += 1
- eda -= 1
- pcs_mood -= 5
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
- 'You prepare a meal.'
- gs 'obkitchen', 'food'
- end
- end
- end
- if edaD = 0 and eda = 0:'<b><font color = red>Your shelf in the refrigerator is bare, there is nothing left for you to eat.</font></b>'
- if edahot > 0:
- 'A cooked meal is on the table.'
- gs 'obkitchen', 'food'
- end
- if pranik > 0:
- if pranik = 1:
- 'You only have one more portion of tea biscuits.'
- else
- 'You have enough tea biscuits for <b><<pranik>></b> more snacks.'
- end
- dynamic $pranik
- end
- dynamic $edaD
- dynamic $fatdel
- dynamic $driwater
- dynamic $lekarstvo
- dynamic $vitamin
- end
- if $args[0] = 'food':
- act 'Eat cooked food':
- edahot = 0
- gt 'food', 'm_meal'
- end
- end
- --- obkitchen ---------------------------------
|