Split yarn, handle inactive options
This commit is contained in:
@ -10,35 +10,3 @@ You: What happened to the updates from mission control?
|
||||
You: Let's have another look around...
|
||||
<<room quarters>>
|
||||
===
|
||||
title: Room:quarters
|
||||
---
|
||||
<<declare $roll = 0>>
|
||||
// You: It's the crew quarters.
|
||||
// You: Well, it will be. Set-up hasn't started yet.
|
||||
// You: That was meant to be one of my first jobs after defrost...
|
||||
// You: ...but it doesn't exactly seem like a priority now.
|
||||
You: Maybe there's something useful here?
|
||||
-> Search the lockers [perception]
|
||||
<<set $roll to dice(6)>>
|
||||
<<if $roll > 2>>
|
||||
You: Aha! A small piece of paper with the **hangar access code**.
|
||||
<<room hangar>>
|
||||
<<else>>
|
||||
You: Just some dust bunnies. Guess they stowed away from Earth.
|
||||
<<endif>>
|
||||
-> Set up a sleeping mat [ingenuity]
|
||||
<<set $roll to dice(6)>>
|
||||
<<if $roll > 2>>
|
||||
You: Nice, at least I have somewhere to crash now.
|
||||
<<else>>
|
||||
You: Hmm, I was never good at this camping stuff. Maybe I can find somewhere else to rest.
|
||||
<<endif>>
|
||||
===
|
||||
title: Room:hangar
|
||||
---
|
||||
You: The **hangar** seems eerily deserted
|
||||
===
|
||||
title: Room not open
|
||||
---
|
||||
You: Hmm, that part of the ship is still inaccessible. I wonder how to get in?
|
||||
===
|
||||
|
34
res/text/rooms.yarn
Normal file
34
res/text/rooms.yarn
Normal file
@ -0,0 +1,34 @@
|
||||
title: Room:quarters
|
||||
---
|
||||
<<declare $roll = 0>>
|
||||
<<declare $hangarKeyFound = false>>
|
||||
// You: It's the crew quarters.
|
||||
// You: Well, it will be. Set-up hasn't started yet.
|
||||
// You: That was meant to be one of my first jobs after defrost...
|
||||
// You: ...but it doesn't exactly seem like a priority now.
|
||||
You: Maybe there's something useful here?
|
||||
-> Search the lockers [perception] <<if not $hangarKeyFound>>
|
||||
<<set $roll to dice(6)>>
|
||||
<<if $roll > 2>>
|
||||
You: Aha! A small piece of paper with the **hangar access code**.
|
||||
<<room hangar>>
|
||||
<<set $hangarKeyFound to true>>
|
||||
<<else>>
|
||||
You: Just some dust bunnies. Guess they stowed away from Earth.
|
||||
<<endif>>
|
||||
-> Set up a sleeping mat [ingenuity]
|
||||
<<set $roll to dice(6)>>
|
||||
<<if $roll > 2>>
|
||||
You: Nice, at least I have somewhere to crash now.
|
||||
<<else>>
|
||||
You: Hmm, I was never good at this camping stuff. Maybe I can find somewhere else to rest.
|
||||
<<endif>>
|
||||
===
|
||||
title: Room:hangar
|
||||
---
|
||||
You: The **hangar** seems eerily deserted
|
||||
===
|
||||
title: Room not open
|
||||
---
|
||||
You: Hmm, that part of the ship is still inaccessible. I wonder how to get in?
|
||||
===
|
Reference in New Issue
Block a user