You wander the city streets
[[Go to Home|Home]]
[[Go to Gym|Gym]]
[[Go to Academy|Academy]]
[[Go to Theatre|Theatre]]
[[Go to Office|Office]]My Home
[[Go to Sleep|Sleep]]
[[Go to City|City]]You get a good night's sleep, you oversleep by <<print $oversleepHours>> hours
<<set $hours to 18 - $oversleepHours>>
<<set $day to $day + 1 >>
[[Wake up|Home]]Fancy office
<<nobr>>
<<if $hours < 4>>
I lack the energy for any more shifts today
<</if>>
<<if $officeRank === $officeRanks[1] and $hours >= 4>>
[[Work as Janitor|Work - Janitor]]
<</if>>
<<if $officeRank === $officeRanks[2] and $hours >= 4>>
[[Work as Janitor|Work - Intern]]
<</if>>
<<if $officeRank === $officeRanks[3] and $hours >= 4>>
[[Work as Janitor|Work - Salesperson]]
<</if>>
<<if $officeRank === $officeRanks[4] and $hours >= 4>>
[[Work as Janitor|Work - Chief of Sales]]
<</if>>
<<if $officeRank === $officeRanks[5] and $hours >= 4>>
[[Work as Janitor|Work - Department Manager]]
<</if>>
<<if $officeRank === $officeRanks[6] and $hours >= 4>>
[[Work as Janitor|Work - CEO]]
<</if>>
<</nobr>>
<<nobr>>
<<if $officeRank === $officeRanks[0]>>
[[Get Job|Hired Janitor]]
<</if>>
<<if $officeRank === $officeRanks[1] and $intelligence >= 20>>
[[Get a Promotion|Hired Intern]]
<<elseif $officeRank === $officeRanks[1]>>
I'll need 20 Intelligence to be promoted
<</if>>
<<if $officeRank === $officeRanks[2] and $intelligence >= 50 and $charm >= 20>>
[[Get a Promotion|Hired Salesperson]]
<<elseif $officeRank === $officeRanks[2]>>
I'll need 20 Charm & 50 Intelligence to be promoted
<</if>>
<<if $officeRank === $officeRanks[5] and $intelligence >= 250 and $charm >= 120>>
[[Get a Promotion|Hired CEO]]
<<elseif $officeRank === $officeRanks[2]>>
I'll need 20 Charm & 50 Intelligence to be promoted
<</if>>
<</nobr>>
[[Return to City|City]]You work cleaning the office, earn $40 @ $10/h
<<nobr>>
<<set $cash to $cash + 40>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]Great work today
You work as an office intern/coffee fetcher, earn $60 @ $15/h
<<nobr>>
<<set $cash to $cash + 60>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]You're smashing sales bud
You work selling software, earn $100 @ $25/h
<<nobr>>
<<set $cash to $cash + 100>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]Your teams doing, great your almost catching up with mine
You work managing and helping the sales team, earn $200 @ $50/h
<<nobr>>
<<set $cash to $cash + 200>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]Catch you tommorow boss-man
You manage the entire sales department, earn $340 @ $85/h
<<nobr>>
<<set $cash to $cash + 340>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]See you tomorrow sir
You manage the company, earn $600 @ $150/h
<<nobr>>
<<set $cash to $cash + 600>>
<<set $hours to $hours - 4>>
<</nobr>>
[[Return to City|City]]
[[Stay in Office|Office]]Nice to see you join our ranks
Congrats you've been hired as a Janitor earning $10/h
<<set $officeRank to $officeRanks[1]>>
[[Return to City|City]]
[[Stay in Office|Office]]Welcome to the sales team, you'll learn a lot here
Congrats you've promoted to Intern earning $15/h
<<set $officeRank to $officeRanks[2]>>
[[Return to City|City]]
[[Stay in Office|Office]]You've grown glad to have you on the team
Congrats you've promoted to Salesperson earning $25/h
<<set $officeRank to $officeRanks[3]>>
[[Return to City|City]]
[[Stay in Office|Office]]So we think you're ready to run your own team now.
Congrats you've promoted to Chief of Sales earning $50/h
<<set $officeRank to $officeRanks[4]>>
[[Return to City|City]]
[[Stay in Office|Office]]You've smashed our sales records!, you'll be CEO in no time
Congrats you've promoted to Department Manager earning $85/h
<<set $officeRank to $officeRanks[5]>>
[[Return to City|City]]
[[Stay in Office|Office]]Welcome to the executive suite, it's all on your shoulders now, but I'm sure you'll lead us well
Congrats you've promoted to CEO earning $150/h
<<set $officeRank to $officeRanks[6]>>
[[Return to City|City]]
[[Stay in Office|Office]]Day: $day
Cash: """$"""$cash
Strength: $strength
Intelligence: $intelligence
Charm: $charm
/* 4 is 4am, 18 is total available hours with all oversleep improvements */
Time: <<print 4 + 18 - $hours>>:00 (💤@22:00)
Job: $officeRank
<html>
<a href="https://github.com/aronedwards91/twine-life-rpg" style="font-size:12px">Git/Source Code</a>
</html><<script>>
/* pure JavaScript code */
$( "#story" ).prepend( "<div class='img-row'><div class='img1'></div><div class='img2'></div><div class='img3'></div></div>" );
<</script>>This is the story about a generic human & their life
<<nobr>>
<<set $day to 1>>
<<set $cash to 120>>
<<set $strength to 10>>
<<set $intelligence to 10>>
<<set $charm to 10>>
<<set $maxSkillLvl to 300>>
<<set $gymlevel to 0>>
<<set $havePlayScript to false>>
<<set $officeRanks to ["none", "Janitor", "Intern", "Salesperson", "Chief of Sales", "Department Manager", "CEO"]>>
<<set $officeRank to $officeRanks[0]>>
<<set $hours to 10>>
<<set $oversleepHours to 8>>
<</nobr>>
[[>>>>|Intro2]]More introduction
[[Visit City|City]]Educational academy
<<nobr>>
<<if $intelligence > $maxSkillLvl>>
<<set $intelligence to $maxSkillLvl>>
<</if>>
<<if $hours < 2>>
I lack the energy for any more learning today
<</if>>
<<if $intelligence < $maxSkillLvl and $hours >= 2>>
[[Learn|Academy - gain intelligence]]
<<else>>
I've learned all I can
<</if>>
<<if $cash > 49 and $intelligence < $maxSkillLvl and $hours >= 2>>
[[Tutoring for $50|Tutor - gain intelligence]]
<<elseif $intelligence < 301>>
I lack the funds to be tutored
<</if>>
<</nobr>>
[[Return to City|City]]You have gained intelligence
<<nobr>>
<<set $intelligence to $intelligence + 2>>
<<set $hours to $hours - 2>>
<</nobr>>
[[Return to City|City]]
[[Stay in Academy|Academy]]congrats player, you're really picking this up!
You have gained +4 intelligence
<<nobr>>
<<set $cash to $cash - 50>>
<<set $intelligence to $intelligence + 6>>
<<set $hours to $hours - 2>>
<</nobr>>
[[Return to City|City]]
[[Stay in Academy|Academy]]basic gym
<<nobr>>
<<if $strength > $maxSkillLvl>>
<<set $strength to $maxSkillLvl>>
<</if>>
<<if $hours < 1>>
I lack the energy for any more training today
<</if>>
<<if $strength < 40 and $gymlevel is 0 and $hours >= 1>>
[[Workout|Gym - gain strength]]
<<elseif $strength >= 40 and $gymlevel is 0>>
I'm too strong for this small gym
<</if>>
<<if $strength < 120 and $gymlevel is 1 and $hours >= 1>>
[[Workout+|Gym - gain strength2]]
<<elseif $strength >= 120 and $gymlevel is 1>>
I'm too strong for this gym
<</if>>
<<if $strength < $maxSkillLvl and $gymlevel is 2 and $hours >= 1>>
[[Workout++|Gym - gain strength3]]
<<elseif $strength >= $maxSkillLvl and $gymlevel is 2>>
I have reached peak strength!
<</if>>
<</nobr>>
<<nobr>>
<<if $cash >= 1200 and $gymlevel is 0>>
[[Invest in Gym for $1200|Gym - invest1]]
<<elseif $cash < 1200 and $gymlevel is 0>>
I lack the funds to invest in the gym
<</if>>
<<if $cash >= 2500 and $gymlevel is 1>>
[[Invest in Gym for $2500|Gym - invest1]]
<<elseif $cash < 2500 and $gymlevel is 1>>
I lack the funds to invest in the gym
<</if>>
<</nobr>>
[[Return to City|City]]nice gains bro
You have gained strength
<<nobr>>
<<set $strength to $strength + 1>>
<<set $hours to $hours - 1>>
<</nobr>>
[[Return to City|City]]
[[Stay in Gym|Gym]]Investing in the gym, the equipment improves
<<nobr>>
<<set $gymlevel to 1>>
<<set $cash to $cash - 1200>>
<</nobr>>
[[Return to City|City]]
[[Stay in Gym|Gym]]sweet sesh man
You have gained +2 strength
<<nobr>>
<<set $strength to $strength + 2>>
<<set $hours to $hours - 1>>
<</nobr>>
[[Return to City|City]]
[[Stay in Gym|Gym]]Investing in the gym, the equipment improves
<<nobr>>
<<set $gymlevel to 2>>
<<set $cash to $cash - 2500>>
<</nobr>>
[[Return to City|City]]
[[Stay in Gym|Gym]]nice guns my brother!
You have gained +5 strength
<<nobr>>
<<set $strength to $strength + 5>>
<<set $hours to $hours - 1>>
<</nobr>>
[[Return to City|City]]
[[Stay in Gym|Gym]]Basic Theatre
<<nobr>>
<<if $charm > $maxSkillLvl>>
<<set $charm to $maxSkillLvl>>
<</if>>
<<if $hours < 1>>
I lack the energy for any more theatre work today
<</if>>
<<if $charm < 100 and $hours >= 1>>
[[Practice acting|Theatre - gain charm]]
<<else>>
I'm past basic practice
<</if>>
<</nobr>>
<<nobr>>
<<if $cash >= 20 and $havePlayScript is true && $charm < $maxSkillLvl and $hours >= 1>>
[[Hold play, costs $20|Play - hold play]]
<<elseif $cash < 20 and $havePlayScript is true >>
I need some basic funds to setup a play
<<elseif $charm >= $maxSkillLvl and $havePlayScript is true >>
My skills in charm have peaked
<<else>>
If I had a script we could put on a play...
<</if>>
<</nobr>>
<<nobr>>
<<if $cash >= 800 and $havePlayScript is false>>
[[Purchase script for $800|Play - buy script]]
<<elseif $cash < 800 and $havePlayScript is false>>
I lack the $800 funds to purchase a script
<</if>>
<</nobr>>
[[Return to City|City]]Great practice session, you're really improving!
You have gained charm
<<nobr>>
<<set $charm to $charm + 1>>
<<set $hours to $hours - 1>>
<</nobr>>
[[Return to City|City]]
[[Stay in Theatre|Theatre]]Hoppe you like my script
You can now put on a play
<<nobr>>
<<set $havePlayScript to true>>
<<set $cash to $cash - 800>>
<</nobr>>
[[Return to City|City]]
[[Stay in Theatre|Theatre]]It was wonderful! great job
You hold a play, impressing the crowd, charm grows by 5
<<nobr>>
<<set $charm to $charm + 5>>
<<set $cash to $cash - 20>>
<<set $hours to $hours - 1>>
<</nobr>>
[[Return to City|City]]
[[Stay in Theatre|Theatre]]