123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- # gaddvor
- if $ARGS[0]='':
- music_loop = 0
- $metka = ''
- $loc = 'gaddvor'
- $location_type = 'public_outdoors'
- $menu_loc = 'gaddvor'
- $menu_arg = ''
- menu_off = 0
- killvar '$locclass'
- gs 'stat'
- CLOSE ALL
- gs 'gadukino_event', 'sound'
- if StoryLine = 1:
- '<center><h4>Your grandparents'' yard</h4></center>'
- else
- '<center><h4>Old couple''s yard</h4></center>'
- end
- if month >= 4 and month <= 10:
- if hour >= 6 and hour < 22:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_night.jpg"></center>'
- end
- else
- if hour >= 8 and hour < 18:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter_night.jpg"></center>'
- end
- end
- if StoryLine = 1:
- 'A fenced yard behind your grandparents'' house. The yard is surrounded by a small barn packed with junk and a separate building that is used as a banya where you can take a bath. On the back porch are a few chairs to sit in.'
- else
- 'A fenced yard behind the house. The yard is surrounded by a small barn packed with junk and a separate building that is used as a banya where people take a bath. On the back porch are a few chairs to sit in.'
- end
- if $clothingworntype = 'nude':
- *nl
- 'You are naked and can only go into your grandparent''s house to get dressed or go to the banya.'
- act 'Enter your grandparents'' house':minut += 1 & gt 'gadhouse', 'start'
- act 'Enter the banya':minut += 1 & gt 'gadbana'
- else
- if grandmaQW['chore_feed_chickens'] = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):'In the yard there are several <a href="exec:gt ''gaddvor'',''chickens''">chickens</a> running around.'
- if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''miroslava'', ''Start''">Mira</a> stands next to you.'
- act '<b>Leave and go into the village</b>':minut += 5 & gt 'gadukino'
- if grandpaQW['chore_clean_yard'] = 1:
- act 'Clean up the yard for Grandpa (1:00)':
- *clr & cla
- if month >= 4 and month <= 10:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
- 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
- 'Armed with a shovel, you begin clearing the yard of snow. You''re pleased with yourself seeing the courtyard is free of snow. You return the shovel to the shed and continue on with your business.'
- end
- minut += 60
- grandpaQW['chore_clean_yard'] = 2
- if month >= 4 and month <= 10:
- fat -= rand(1,3)
- pcs_stam -= 5
- gs 'sweat', 'add', 10
- else
- stren_exp += 1
- fat -= rand(1,5)
- pcs_stam -= 10
- gs 'sweat', 'add', 5
- end
- gs'stat'
- act 'Continue':gt'gaddvor'
- end
- end
- if StoryLine = 1:
- act 'Enter your grandparents'' house':minut += 1 & gt 'gadhouse', 'start'
- act 'Enter the banya':minut += 1 & gt 'gadbana'
- end
- act 'Go to the barn':minut += 1 & gt 'gadsarai'
- act 'Go to the garden':minut += 1 & gt'gadgarden','garden'
- mira_temp = rand(1,5)
- if mira_temp = 3 and hour >= 9 and hour <= 19 and npc_rel['A60'] >= 15 and Mira_no = 0 and sunWeather = 1 and mira_guestday ! daystart and (npc_QW['A63'] < 13 or npc_QW['A60'] >= 10 or mirasex > 1):
- *clr & cla
- menu_off = 1
- gs 'miroslava', 'miraclothes'
- 'You went out into the yard and noticed Mira standing there.'
- '"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
- mira_guestday = daystart
- minut += 5
- mira_guest = 1
- gs 'stat'
- act 'Continue':gt'gaddvor'
- end
- end
- clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
- if clothesAtLocation = 1:
- if $clothingworntype = 'nude':
- act 'Get dressed':
- gs 'clothing', 'recover_lost_clothes', 'gaddvor', 1
- gs 'underwear', 'wear'
- gt 'gaddvor'
- end
- else
- act 'Pick up your clothes':
- gs 'clothing', 'recover_lost_clothes', 'gaddvor'
- 'You picked up your clothes.'
- gt 'gaddvor'
- end
- end
- end
- end
- if $ARGS[0] = 'chickens':
- *clr & cla
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
- 'Ordinary chickens clucking about their pen.'
- minut += 1
- gs 'stat'
- !job Granny
- if grandmaQW['chore_feed_chickens'] = 1:
- act 'Feed the chickens':
- *clr & cla
- '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
- 'You decide to feed the chickens. You pick up a bucket full of bird''s seed and grain mix and toss it on the ground. They immediately rush over and start to greedily eat. You watch them for a bit before you go about your business.'
- minut += 30
- grandmaQW['chore_feed_chickens'] = 2
- hndiwrk_exp += rand(0,3)
- gs 'stat'
- act 'Finish':gt'gaddvor'
- end
- end
- act 'Leave': gt'gaddvor'
- end
- --- gaddvor ---------------------------------
|