12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- # gargazel
- CLOSE ALL
- $metka = $ARGS[0]
- $loc = $CURLOC
- $menu_loc = 'gargazel'
- $menu_arg = ''
- menu_off = 0
- $location_type = 'secluded'
- fatherdrunk=0
- clr
- gs 'stat'
- '<center><h4>Garage</h4></center>'
- if father_go = 1 and hour >= 16 and hour < 21:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/garage/gargazel.jpg"></center>'
- '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.'
- else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/garage/gargazel_empty.jpg"></center>'
- '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.'
- end
- act 'Leave the garage':minut += 5 & gt 'pavComplex', 'garages'
- if father_go = 1 and hour >= 16 and hour < 20:
- 'Your <a href="exec:GT ''garfather''">stepfather</a> is in the garage, working on his Gazelle pickup truck.'
- end
- if father_go=1 and hour>=20 and hour<21:
- 'Your <a href="exec:GT ''garfather''">stepfather and uncle Misha</a> are in the garage, drinking vodka.'
- set fatherdrunk=1
- end
- if YouCanGar > 0:
- '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.'
- if tovarL >= 30:
- 'You already have too much stored at home and do not have any more space.'
- elseif tovarL < 30:
- perenGarTov = 30-tovarL
- 'You can bring <<perenGarTov>> trinkets home and store them somewhere, until you have time to collect and sell them at the train station.'
- if GarTorgItem > 0:
- if GarTorgItem >= perenGarTov:
- act 'Move <<perenGarTov>> trinkets to your home':
- cls
- menu_off = 1
- minut += 60
- tovarL += perenGarTov
- GarTorgItem -= perenGarTov
- gs 'stat'
- 'You spend an hour gathering your trinkets from various places, bringing them home and hiding them there.'
- act 'Continue':gt $curloc
- end
- end
- if GarTorgItem < perenGarTov:
- act 'Collect <<GarTorgItem>> trinkets to take with you':
- cls
- menu_off = 1
- minut += 30
- tovarL += GarTorgItem
- GarTorgItem = 0
- gs 'stat'
- '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.'
- act 'Continue':gt $curloc
- end
- end
- end
- end
- end
- --- gargazel ---------------------------------
|