Skip to content
Snippets Groups Projects
Commit b4786b85 authored by Andrest07's avatar Andrest07
Browse files

Bugfix

parent 77aca33e
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,6 @@ You have <span class="gold">$mathsinfo</span> insights.
<br>
<</if>>
<br>
<<set _chair to Furniture.get('chair')>>
<<icon "projectMaths.png">><<link [["Work on solution (" + _timeString + ")"|Maths Project Work]]>><<if $location is "home" and _chair.type.includes("comfy")>><<set $mathschance += 5>><<else>><<set $mathschance += 1>><</if>><<mathsskill 2>><<pass _finalTime>><<stress 12>><</link>><<gstress>><<gmaths>>
<br>
<<if $mathsstim gte 1 and playerIsPregnant() and playerAwareTheyArePregnant()>>
......@@ -92,6 +91,9 @@ You have <span class="gold">$mathsinfo</span> insights.
<<effects>>
You sit down and get to work.
<<set _chair to Furniture.get('chair')>>
<<if _chair is undefined or _chair is null>>
<<set _chair to Furniture.get('chair','chair')>>
<</if>>
<<if $location is "home" and _chair.type.includes("comfy")>>
Your <span class="green">comfortable</span> chair makes it easier to concentrate on the project.
<<else>>
......@@ -231,6 +233,9 @@ You sit down and get to work.
<<effects>>
You take the stimulant, sit down, and get to work.
<<set _chair to Furniture.get('chair')>>
<<if _chair is undefined or _chair is null>>
<<set _chair to Furniture.get('chair','chair')>>
<</if>>
<<if $location is "home" and _chair.type.includes("comfy")>>
Between the drugs and your <span class="green">comfortable</span> chair, it's easier than ever to concentrate on the project.
<<else>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment