feat: Added ability to print globals as part of debug messages (#561)

Co-authored-by: Balloonpopper <balloonpopper@git.com>
This commit is contained in:
balloonpopper
2022-04-05 16:01:40 +10:00
committed by GitHub
parent c42349372e
commit aa6a4c4d50
2 changed files with 47 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
:look
say player "That button must activate the bridge, but it is broken." [r3_button_broken]
say player "It should work now." [!r3_button_broken]
# Demonstrate printing globals as part of debug messages
debug "r3_button_broken is currently {r3_button_broken}"
:push
say player "I must USE this."