add option to ask Chef for oxygen
This commit is contained in:
parent
a3c87e1651
commit
5082449c11
|
@ -174,6 +174,7 @@
|
||||||
- Time to loosen up! Find yourself a cozy place to drift.
|
- Time to loosen up! Find yourself a cozy place to drift.
|
||||||
- Do you have a reservation?
|
- Do you have a reservation?
|
||||||
- label: reservation
|
- label: reservation
|
||||||
|
- include: generic_help_oxygen_entrypoint
|
||||||
- if: ~$reservation
|
- if: ~$reservation
|
||||||
...Reservation? Is there not enough space for everybody?:
|
...Reservation? Is there not enough space for everybody?:
|
||||||
- Ah, space there is.
|
- Ah, space there is.
|
||||||
|
@ -229,6 +230,7 @@
|
||||||
|
|
||||||
- label: eat
|
- label: eat
|
||||||
- set: $eat
|
- set: $eat
|
||||||
|
- include: generic_help_oxygen_entrypoint
|
||||||
- What's on the menu?:
|
- What's on the menu?:
|
||||||
- set: $knows-menu
|
- set: $knows-menu
|
||||||
- Today's special is Suspicious Spacefunghi.
|
- Today's special is Suspicious Spacefunghi.
|
||||||
|
@ -328,7 +330,13 @@
|
||||||
- label: generic_questions
|
- label: generic_questions
|
||||||
- include: generic_questions_serenity
|
- include: generic_questions_serenity
|
||||||
- See you around!
|
- See you around!
|
||||||
|
- goto: EXIT
|
||||||
|
|
||||||
|
- include: generic_help_oxygen_handler
|
||||||
|
- Is there anything else I can help you with?
|
||||||
|
- if $reservation:
|
||||||
|
- goto: eat
|
||||||
|
- goto: reservation
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -363,6 +371,45 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
# Here are two helper components for handling the generic "HELP I NEED OXYGEN"
|
||||||
|
# chat option.
|
||||||
|
# Use the first one as a converation option in every major conversation node by
|
||||||
|
# simply including it, for example:
|
||||||
|
#
|
||||||
|
# - Hello Player!
|
||||||
|
# - How are you doing?
|
||||||
|
# - include: generic_help_oxygen_entrypoint
|
||||||
|
# - Hello NPC, I'm good, how are you?:
|
||||||
|
# - ...
|
||||||
|
#
|
||||||
|
# THIS WILL NOT WORK UNLESS YOU ALSO INCLUDE "generic_help_oxygen_handler"
|
||||||
|
# SOMEWHERE!!! (or implement your own handler for the "needoxygen" label)
|
||||||
|
|
||||||
|
- chat: generic_help_oxygen_entrypoint
|
||||||
|
- if: "$$player_oxygen_seconds <= 3600"
|
||||||
|
HELP! I NEED OXYGEN!:
|
||||||
|
- goto: generic_needoxygen
|
||||||
|
---
|
||||||
|
|
||||||
|
# Use the second one at some unreachable point in the conversation (e.g. right
|
||||||
|
# after a "goto"), followed by some instructions that lead the conversation
|
||||||
|
# flow back into the major conversation nodes. Example:
|
||||||
|
#
|
||||||
|
# - See you around!
|
||||||
|
# - goto: EXIT
|
||||||
|
# - include: generic_help_oxygen_handler
|
||||||
|
# - Is there anything else I can help you with?
|
||||||
|
# - goto: help
|
||||||
|
|
||||||
|
- chat: generic_help_oxygen_handler
|
||||||
|
- label: generic_needoxygen
|
||||||
|
- Sure thing, have some!
|
||||||
|
- script: refilloxygen 1
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
- chat: Drifter
|
- chat: Drifter
|
||||||
- system: "Error: No response"
|
- system: "Error: No response"
|
||||||
- system: No life signs detected
|
- system: No life signs detected
|
||||||
|
|
Loading…
Reference in a new issue