|
@@ -133,7 +133,93 @@ if $ARGS[0] = 'ylibrary':
|
|
|
|
|
|
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
|
|
|
|
|
|
- if ymanrem[10] = 2: 'A huge collection of books are neatly placed on the bookshelves.'
|
|
|
+ if ymanrem[10] = 2:
|
|
|
+ 'A huge collection of books are neatly placed on the bookshelves.'
|
|
|
+ act 'Read a book on science (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ intel_exp += rand(3,6) + (mentats_dose - rand(0,mentats_dose))
|
|
|
+ blizoruk += 1
|
|
|
+ grupvalue[3] +=1
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/science1.jpg"></center>'
|
|
|
+ 'You spend an hour reading, trying to make sense of all the clever propositions writen inside and to finally understand the subject it describes.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ act 'Read an adventure novel (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ pcs_mood = 100
|
|
|
+ blizoruk += 1
|
|
|
+ grupvalue[3] +=1
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/fiction' + rand(1,2) + '.jpg"></center>'
|
|
|
+ 'You spend an hour reading an adventure novel, immersing yourself in daring deeds and awesome twists.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ act 'Read a fantasy novel (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ pcs_mood = 100
|
|
|
+ blizoruk += 1
|
|
|
+ grupvalue[3] +=1
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
|
|
|
+ 'You spend an hour reading a fantasy novel, rescuing damsels from dragons, digging for jewels with dwarves and performing word changing magic alongside elves and druids.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ act 'Read a science fiction novel (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ pcs_mood = 100
|
|
|
+ blizoruk += 1
|
|
|
+ grupvalue[3] +=1
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
|
|
|
+ 'You spend an hour reading a science fiction novel - flying off into space, travelling though time, running from rogue AI''s and creating monsters with your hunchbacked assistant.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ act 'Read a romance novel (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ pcs_mood = 100
|
|
|
+ blizoruk += 1
|
|
|
+ pcs_horny += 20
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
|
|
|
+ 'You spend a very short hour reading a romance novel - choosing between a vampire or a werewolf, falling in love with an obscenely wealthy Grey... several of the scenes are very steamy and you find yourself getting quite aroused.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ act 'Read from the collected works of Leo Tolstoy (1:00)':
|
|
|
+ *clr & cla
|
|
|
+ menu_off = 1
|
|
|
+ if blizoruk = 500 or glassqw = 1: glassqw = 1 & msg 'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.' & gt $curloc
|
|
|
+ if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
|
|
|
+ minut += 60
|
|
|
+ sprt_exp += rand(3,6)
|
|
|
+ blizoruk += 1
|
|
|
+ grupvalue[3] +=2
|
|
|
+ gs'stat'
|
|
|
+ '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/tolstoy.jpg"></center>'
|
|
|
+ 'You read the book for an hour. Tolstoy is certainly a classic writer, no one denies this, but he used a shit-load of words.'
|
|
|
+ act 'Put the book back': gt 'city_mansion_residence_2', 'ylibrary'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'yoffice':
|
|
@@ -221,33 +307,11 @@ if $ARGS[0] = 'yoffice':
|
|
|
end
|
|
|
|
|
|
if ml_guitar['hasguitar'] = 1 and (ml_guitar['chordbook'] = 1 or ml_guitarlesson['lessoncount'] > 0) and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and alko < 5:
|
|
|
- if sisterHere = 1 and pcs_inhib < 30:
|
|
|
- if pcs_inhib < 10:
|
|
|
- $diff = 'hard'
|
|
|
- elseif pcs_inhib < 20:
|
|
|
- $diff = 'medium'
|
|
|
- else
|
|
|
- $diff = 'easy'
|
|
|
- end
|
|
|
- gs 'willpower', 'skill', 'self', $diff
|
|
|
- will_cost = (will_cost * 3) - (pcs_perform)
|
|
|
- if will_cost <= pcs_willpwr:
|
|
|
- act 'Practice guitar (<<will_cost>> Willpower)':
|
|
|
- inhib_exp += rand(1,2)
|
|
|
- gs 'willpower', 'pay', 'self'
|
|
|
- gs 'stat'
|
|
|
- gt 'music_bedroomPractice', 'guitar'
|
|
|
- end
|
|
|
- else
|
|
|
- act 'Practice guitar (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You feel too embarrassed to pick up your guitar in front of people</font>'
|
|
|
- end
|
|
|
- else
|
|
|
- act 'Practice guitar': gt 'music_bedroomPractice', 'guitar'
|
|
|
- end
|
|
|
+ act 'Practice guitar': gt 'music_bedroomPractice', 'guitar'
|
|
|
end
|
|
|
|
|
|
!! Streaming music
|
|
|
- if ml_guitar['hasguitar'] = 1 and ml_online['account'] = 1 and internet > 0 and sisterHere = 0 and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and ml_performance['max_perform_minutes'] >= 15 and alko < 5 and ml_streaming['lastday'] ! daystart:
|
|
|
+ if ml_guitar['hasguitar'] = 1 and ml_online['account'] = 1 and internet > 0 and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and ml_performance['max_perform_minutes'] >= 15 and alko < 5 and ml_streaming['lastday'] ! daystart:
|
|
|
ml_streamtime = min((ml_performance['max_perform_minutes']-ml_performance['performed_minutes']), 60)
|
|
|
if pcs_inhib < 30:
|
|
|
if pcs_inhib < 10:
|
|
@@ -276,7 +340,7 @@ if $ARGS[0] = 'yoffice':
|
|
|
end
|
|
|
|
|
|
!! Recording music
|
|
|
- if ml_guitar['hasguitar'] = 1 and sisterHere = 0 and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and alko < 5:
|
|
|
+ if ml_guitar['hasguitar'] = 1 and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and alko < 5:
|
|
|
if pcs_inhib < 20:
|
|
|
if pcs_inhib < 10:
|
|
|
$diff = 'medium'
|