From 3e43bafaf9b778a02184cc3f6410a18870f714bf Mon Sep 17 00:00:00 2001 From: davewiththenicehat <54369722+davewiththenicehat@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:25:39 -0400 Subject: [PATCH] Update example_batch_code.py Updated so /interactive switch works as expected for tutorial: https://github.com/evennia/evennia/wiki/Batch-Code-Processor --- evennia/contrib/tutorial_examples/example_batch_code.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/contrib/tutorial_examples/example_batch_code.py b/evennia/contrib/tutorial_examples/example_batch_code.py index edb2483468..7aeca3f3a0 100644 --- a/evennia/contrib/tutorial_examples/example_batch_code.py +++ b/evennia/contrib/tutorial_examples/example_batch_code.py @@ -39,7 +39,7 @@ # -# HEADER +#HEADER # everything in this block will be appended to the beginning of # all other #CODE blocks when they are executed. @@ -51,7 +51,7 @@ from evennia import DefaultObject limbo = search_object("Limbo")[0] -# CODE +#CODE # This is the first code block. Within each block, Python # code works as normal. Note how we make use if imports and @@ -67,7 +67,7 @@ red_button = create_object( # we take a look at what we created caller.msg("A %s was created." % red_button.key) -# CODE +#CODE # this code block has 'table' and 'chair' set as deletable # objects. This means that when the batchcode processor runs in