Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2.3.5
Story Format: Sugar Cube
I’m trying to get a line break in between these the ‘Open it!’ line and the ‘That didn’t work…’ line.
I’ve tried inserting a break bit of code here and there but to no avail.
Can any gurus help?
Cheers, below is the code.
<<set _comment = []>><<cycle "_dial1">>
<<optionsfrom ["0","1", "2", "3","4", "5", "6","7", "8", "9"]>>
<</cycle>> | <<cycle "_dial2">>
<<optionsfrom ["0","1", "2", "3","4", "5", "6","7", "8", "9"]>>
<</cycle>> | <<cycle "_dial3">>
<<optionsfrom ["0","1", "2", "3","4", "5", "6","7", "8", "9"]>>
<</cycle>> | <<cycle "_dial4">>
<<optionsfrom ["0","1", "2", "3","4", "5", "6","7", "8", "9"]>>
<</cycle>>
<<link "Open it!">>
<<if _comment.length === 0>>
<<set _comment = ["That didn't work.", "Still not opening.", "Blast! That wasn't the combination!"]>>
<</if>>
<<if ndef _count>>
<<set _count = 1>>
<<else>>
<<set _count++>>
<</if>>
<<if _dial1 + _dial2 + _dial3 + _dial4 == "3872">>
<<goto "Dutton Office Unlocked">>
<<else>>
<<if _count < 10>>
<<replace "#comment">><<= _comment.pluck()>> I've got <<= (25 - _count)>> tries left<<if _count == 1>> until the alarm triggers<</if>>.<</replace>>
<<else>>
<<goto "Alarm 1">>
<</if>>
<</if>>
<</link>>
<span id="comment"></span>
<<if $pcStats.cun gte 60>>PERCEPTION: You see that the numbers xxxx are more worn than the other numbers.<</if>>