# grandpahelp
gs'stat'
!gs 'time'
'
'
'You walk up to your grandfather and ask if he needs any help. Grandpa thinks for a moment and says:'
if month = 1:grandpahelping = RAND(0,5)
if month = 2:grandpahelping = RAND(0,5)
if month = 3:grandpahelping = RAND(0,5)
if month = 4:grandpahelping = RAND(0,5)
if month = 5:grandpahelping = RAND(6,11)
if month = 6:grandpahelping = RAND(12,21)
if month = 7:grandpahelping = RAND(22,32)
if month = 8:grandpahelping = RAND(22,32)
if month = 9:grandpahelping = RAND(12,21)
if month = 10:grandpahelping = RAND(0,4)
if month = 11:grandpahelping = RAND(0,4)
if month = 12:grandpahelping = RAND(0,4)
!month >= 1 and month < 5 and month > 9
if grandpahelping = 0:
'"- Of course <<$pcs_nickname>>, I need your help in the yard. Bring a garden tool with you."'
act 'Clean up the yard (1:00)':
cls
minut += 60
grandmahelp += 1
if month >= 4 and month <= 10:
fat -= RAND(1,3)
else
stren_exp += 1
fat -= RAND(1,5)
end
gs'stat'
if month >= 4 and month <= 10:
''
'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
''
'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
end
act 'Go':gt'Gaddvor'
end
end
if grandpahelping = 1:
'"- <<$pcs_nickname>>, could you bring firewood for the stove?"'
act 'Fetch firewood (0:15)':
cls
minut += 15
grandmahelp += 1
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You put on some warm clothes and run over to the barn to collect some firewood. '
'"- I''ve brought some firewood grandfather," you said to your grandfather.'
'"- You are very quick <<$pcs_nickname>>." he replies with a smile. "- That''s today''s youth for ya. There is no more work today."'
act 'Go':gt'Gadhouse'
end
end
if grandpahelping = 2:
'"- <<$pcs_nickname>>, I need you to go to the barn and feed Desperado."'
act 'Go to the barn (0:15)':
cls
feed_horse = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn and fed the horse.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 3:
'"- <<$pcs_nickname>>, go to the barn to feed the cows."'
act 'Go to the barn (0:15)':
cls
minut += 15
feed_cow = 1
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the shed and fed the cows.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 4:
'"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
act 'Go to the barn (0:15)':
cls
comb_horse = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn, took out a brush and started grooming Desperado.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 5:
'"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
act 'Go to the barn (0:15)':
cls
feed_boar = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn and fed the hogs.'
act 'Further':gt'Gadsarai'
end
end
!month = 5
if grandpahelping = 6:
'"- Of course <<$pcs_nickname>>, I need your help cleaning the yard. Bring a garden tool with you."'
act 'Clean up the yard (1:00)':
cls
minut += 60
grandmahelp += 1
if month >= 4 and month <= 10:
fat -= RAND(1,3)
else
stren_exp += 1
fat -= RAND(1,5)
end
gs'stat'
if month >= 4 and month <= 10:
''
'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
''
'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
end
act 'Go':gt'Gaddvor'
end
end
if grandpahelping = 7:
'"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
act 'Go to the barn (0:15)':
cls
feed_boar = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn and fed the hogs.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 8 and week > 5:
'"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
act 'Go to the barn (0:15)':
cls
comb_horse = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn, took out a brush and started grooming Desperado.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 8 and week <= 5:
'"- You don''t need to help out today <<$pcs_nickname>>."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 9 and hour >= 6 and hour < 9:
'"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
act 'Go to the barn (0:15)':
cls
horse_field = 1
minut += 15
gs'stat'
''
'You led the horse to the field.'
act 'Further':& gt'Gadsarai'
end
elseif grandpahelping = 9 and hour >= 9:
'"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 10 and hour >= 6 and hour < 9:
'"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
act 'Go to the barn (0:15)':
cls
cow_field = 1
minut += 15
gs'stat'
''
'You went to the shed where the cows are and led the herd to the field.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 10 and hour >= 9:
'"- You can rest today child, there is nothing to do."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 11 and hour >= 6 and hour < 9:
if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
if graze_cow_exp = 0:
act 'Go to the barn (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'Gadsarai'
end
else
act 'Go to the field (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'gadfield','cow'
end
end
elseif grandpahelping = 11 and hour >= 9:
'"- You can rest today <<$pcs_nickname>>, there is nothing to do."'
act 'Go':gt'Gadhouse'
end
!month = 6 or month = 9
if grandpahelping = 12:
'"– I need your help cleaning the yard, bring the garden tools."'
act 'Clean up the yard (1:00)':
cls
minut += 60
grandmahelp += 1
if month >= 4 and month <= 10:
fat -= RAND(1,3)
else
stren_exp += 1
fat -= RAND(1,5)
end
gs'stat'
if month >= 4 and month <= 10:
''
'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
''
'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
end
act 'Go':gt'Gaddvor'
end
end
if grandpahelping = 13:
'"- <<$pcs_nickname>>, could you go to the barn and feed the pigs."'
act 'Go to the barn (0:15)':
cls
feed_boar = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn to fed the pigs.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 14 and week > 5:
'"- <<$pcs_nickname>>, I need your help to groom Desperado."'
act 'Go to the barn (0:15)':
cls
comb_horse = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn, took out a brush and started grooming Desperado.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 14 and week <= 5:
'"- You can take the day off."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 15 and hour >= 6 and hour < 9:
'"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
act 'Go to the barn (0:15)':
cls
horse_field = 1
minut += 15
gs'stat'
''
'You led the horse to the field.'
act 'Further':& gt'Gadsarai'
end
elseif grandpahelping = 15 and hour >= 9:
'"- There''s no work today <<$pcs_nickname>>, go and rest up."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 16 and hour >= 6 and hour < 9:
'"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
act 'Go to the barn (0:15)':
cls
cow_field = 1
minut += 15
gs'stat'
''
'You went to the shed where the cows are and led the herd to the field.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 16 and hour >= 9:
'"- You can rest today my dear granddaughter."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 17 and hour >= 6 and hour < 9:
if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
if graze_cow_exp = 0:
act 'Go to the barn (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'Gadsarai'
end
else
act 'Go to the field (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'gadfield','field'
end
end
elseif grandpahelping = 17 and hour >= 9:
'"- You can take the day off to rest up."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 18 and temper >= 15 and sunWeather = 1 and week > 5:
'"- It''s good weather today. Take Desperado to the river and give him a bath."'
act 'Go to the barn (0:10)':
cls
horse_river = 1
minut += 10
gs'stat'
''
'You went and got the horse from the barn and led it to the river.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 18 and week <= 5 or grandpahelping = 18 and temper < 15 or grandpahelping = 18 and sunWeather = 0:
'"- You don''t need to help out today <<$pcs_nickname>>."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 19 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_boletus = rand(2,3)
go_in_boletus = 1
'"- <<$pcs_nickname>>, could you go to the forest and pick mushrooms? I''m craving fried mushrooms."'
'"- How much should I pick, grandpa?", you asked.'
'"- <> kg will be enough," grandfather replied. "- Be careful so you don''t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 19 and go_in_boletus = 1 or grandpahelping = 19 and go_in_bilberry = 1 or grandpahelping = 19 and go_in_boletus_bilberry = 1:
'"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 20 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_bilberry = rand(3,5)
go_in_bilberry = 1
'"- <<$pcs_nickname>>, could you go to the forest to pick some berries? Grandma wants to make homemade fruit jam."'
'"- How much should I pick, grandpa?" you asked.'
'"- <> kg will be enough," grandfather replied. "- Just be careful so you don''t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 20 and go_in_boletus = 1 or grandpahelping = 20 and go_in_bilberry = 1 or grandpahelping = 20 and go_in_boletus_bilberry = 1:
'"- You can take the day off."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 21 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_boletus = rand(2,3)
grandpa_bilberry = rand(2,3)
go_in_boletus_bilberry = 1
'"- <<$pcs_nickname>>, can you go to the forest and pick some berries and mushrooms? Your grandmother wants to make a mushroom soup, and has a craving for some fresh berries."'
'"- How much should I pick, grandpa?"'
'"- <> kg mushrooms and <> kg of berries will be enough," grandfather replied. "- Just don`t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 21 and go_in_boletus = 1 or grandpahelping = 21 and go_in_bilberry = 1 or grandpahelping = 21 and go_in_boletus_bilberry = 1:
'"- There''s no work today <<$pcs_nickname>>, go and rest up."'
act 'Go':gt'Gadhouse'
end
!month = 7 or month = 8
if grandpahelping = 22:
'"- Of course <<$pcs_nickname>>, I need your help in the yard. Bring a garden tool with you."'
act 'Clean up the yard (1:00)':
cls
minut += 60
grandmahelp += 1
if month >= 4 and month <= 10:
fat -= RAND(1,3)
else
stren_exp += 1
fat -= RAND(1,5)
end
gs'stat'
if month >= 4 and month <= 10:
''
'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
''
'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
end
act 'Go':gt'Gaddvor'
end
end
if grandpahelping = 23:
'"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
act 'Go to the barn (0:15)':
cls
feed_boar = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn and fed the hogs.'
act 'Further':gt'Gadsarai'
end
end
if grandpahelping = 24 and week > 5:
'"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
act 'Go to the barn (0:15)':
cls
comb_horse = 1
minut += 15
gs'stat'
if month >= 4 and month <= 10:
''
else
''
end
'You went to the barn, took out a brush and started grooming Desperado.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 24 and week <= 5:
'"- You don''t need to help out today <<$pcs_nickname>>."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 25 and hour >= 6 and hour < 9:
'"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
act 'Go to the barn (0:10)':
cls
horse_field = 1
minut += 10
gs'stat'
''
'You led the horse to the field.'
act 'Further':& gt'Gadsarai'
end
elseif grandpahelping = 25 and hour >= 9:
'"- There''s no work today <<$pcs_nickname>>, go and rest up."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 26 and hour >= 6 and hour < 9:
'"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
act 'Go to the barn (0:10)':
cls
cow_field = 1
minut += 10
gs'stat'
''
'You went to the shed where the cows are and led the herd to the field.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 26 and hour >= 9:
'"- You can rest today my dear granddaughter."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 27 and hour >= 6 and hour < 9:
if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
if graze_cow_exp = 0:
act 'Go to the barn (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'Gadsarai'
end
else
act 'Go to the field (0:20)':
gs 'food', 'm_meal'&!use current one, cls will clear messages
cls
graze_cow = 1
pcs_mood += 20
pcs_health += 10
minut += 20
bottle += 1
buterbrod += 1
gs'stat'
''
'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
act 'Further':gt'gadfield','field'
end
end
elseif grandpahelping = 27 and hour >= 9:
'"- You can take the day off to rest up."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 28 and temper >= 15 and sunWeather = 1 and week > 5:
'"- It''s good weather today. Take Desperado to the river and give him a bath."'
act 'Go to the barn (0:10)':
cls
horse_river = 1
minut += 10
gs'stat'
''
'You went and got the horse from the barn and led it to the river.'
act 'Further':gt'Gadsarai'
end
elseif grandpahelping = 28 and week <= 5 or grandpahelping = 28 and temper < 15 or grandpahelping = 28 and sunWeather = 0:
'"- You don''t need to help out today <<$pcs_nickname>>."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 29 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_boletus = rand(2,3)
go_in_boletus = 1
'"- <<$pcs_nickname>>, could you go to the forest and pick mushrooms? I''m craving fried mushrooms."'
'"- How much should I pick, grandpa?", you asked.'
'"- <> kg will be enough," grandfather replied. "- Be careful so you don''t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 29 and go_in_boletus = 1 or grandpahelping = 29 and go_in_bilberry = 1 or grandpahelping = 29 and go_in_boletus_bilberry = 1:
'"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 30 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_bilberry = rand(3,5)
go_in_bilberry = 1
'"- <<$pcs_nickname>>, could you go to the forest to pick some berries? Grandma wants to make homemade fruit jam."'
'"- How much should I pick, grandpa?" you asked.'
'"- <> kg will be enough," grandfather replied. "- Just be careful so you don''t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 30 and go_in_boletus = 1 or grandpahelping = 30 and go_in_bilberry = 1 or grandpahelping = 30 and go_in_boletus_bilberry = 1:
'"- You can take the day off."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 31 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
grandpa_boletus = rand(2,3)
grandpa_bilberry = rand(2,3)
go_in_boletus_bilberry = 1
'"- <<$pcs_nickname>>, can you go to the forest and pick some berries and mushrooms? Your grandmother wants to make a mushroom soup, and has a craving for some fresh berries."'
'"- How much should I pick, grandpa?"'
'"- <> kg mushrooms and <> kg of berries will be enough," grandfather replied. "- Just don`t get lost."'
act 'Go':gt'Gadhouse'
elseif grandpahelping = 31 and go_in_boletus = 1 or grandpahelping = 31 and go_in_bilberry = 1 or grandpahelping = 31 and go_in_boletus_bilberry = 1:
'"- There''s no work today <<$pcs_nickname>>, go and rest up."'
act 'Go':gt'Gadhouse'
end
if grandpahelping = 32 and temper >= 15 and sunWeather = 1 and hour >= 6 and hour < 9:
'"- <<$pcs_nickname>>, we need to help out with hay gathering today. We have to go to the field and help out."'
'"- Okay, grandfather," you replied. You grabed a rake, and started walking towards the field.'
act 'Go to the field (0:40)':
cls
haying_time = 1
minut += 40
gs'stat'
''
'With the rake in your hand you met up with the other local residents at the field. All the present at the field got assigned to a task. You work hard gathering the hay.'
act 'Further':gt'gadfield','field'
end
elseif grandpahelping = 32 and hour >= 9 or grandpahelping = 32 and temper < 15 or grandpahelping = 32 and sunWeather = 0:
'"- You don''t need to help out today <<$pcs_nickname>>."'
act 'Go':gt'Gadhouse'
end
--- grandpahelp ---------------------------------