glasshouse/res/text/rooms.yarn

43 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-02-16 06:51:57 +00:00
title: Room:quarters
---
<<declare $roll = 0>>
2024-02-22 17:44:47 +00:00
<<declare $quartersIntroSeen = false>>
2024-02-16 06:51:57 +00:00
<<declare $hangarKeyFound = false>>
2024-02-16 06:55:49 +00:00
<<declare $sleepingMatSetUp = false>>
2024-02-22 17:44:47 +00:00
<<if not $quartersIntroSeen>>
2024-02-23 14:48:33 +00:00
You: It's the [room]crew quarters[/room].
2024-02-17 02:38:39 +00:00
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.
2024-02-22 17:44:47 +00:00
<<set $quartersIntroSeen to true>>
<<endif>>
2024-02-16 06:51:57 +00:00
You: Maybe there's something useful here?
2024-02-23 14:48:33 +00:00
-> Search the lockers [ability](perception)[/ability] <<if not $hangarKeyFound>>
2024-02-16 06:51:57 +00:00
<<set $roll to dice(6)>>
2024-02-22 17:44:47 +00:00
<<if $roll > 0>>
2024-02-23 14:48:33 +00:00
You: Aha! A small piece of paper with the [item]access code[/item] for the [room]hangar[/room].
2024-02-16 06:51:57 +00:00
<<room hangar>>
<<set $hangarKeyFound to true>>
<<else>>
You: Just some dust bunnies. Guess they stowed away from Earth.
<<endif>>
2024-02-23 14:48:33 +00:00
-> Set up a sleeping mat [ability](ingenuity)[/ability] <<if not $sleepingMatSetUp>>
2024-02-16 06:51:57 +00:00
<<set $roll to dice(6)>>
<<if $roll > 2>>
2024-02-16 06:55:49 +00:00
You: Nice, at least I have somewhere to crash now.
<<set $sleepingMatSetUp to true>>
2024-02-16 06:51:57 +00:00
<<else>>
2024-02-23 14:48:33 +00:00
You: [failure]Hmm, I was never good at this camping stuff. Maybe I can find somewhere else to rest.[/failure]
2024-02-16 06:51:57 +00:00
<<endif>>
2024-02-16 06:55:49 +00:00
-> Leave
2024-02-16 06:51:57 +00:00
===
title: Room:hangar
---
2024-02-23 14:48:33 +00:00
You: The [room]hangar[/room] seems eerily deserted.
2024-02-16 06:51:57 +00:00
===
title: Room not open
---
You: Hmm, that part of the ship is still inaccessible. I wonder how to get in?
2024-02-23 14:48:33 +00:00
<<room hangar>>
2024-02-16 06:51:57 +00:00
===