How could I make it so someone’s oxygen level is depleted if they are in a specific room? Thanks for any help.
You can give the player an oxygen level property and use an every turn rule to decrease it or set it to 0 when the player is in that room:
The player has a number called oxygen level. Corridor is a room. Breached Hull is north of Corridor. When play begins: now the oxygen level of the player is 5. Every turn while the location is Breached Hull: now the oxygen level of the player is the oxygen level of the player - 1; say "DEBUG: oxygen level = [the oxygen level of the player][line break]"; if the oxygen level of the player is 0: end the story saying "You have suffocated"; else: say "You hear your oxygen supply hissing away." Test me with "n / z / z / z / s / z / n".
Thank you for your help!