From 1f78ddbd2d93d687544fcb52a954c6b66d4dfa3f Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 6 Oct 2020 14:40:02 +0200 Subject: [PATCH] Correct indentation --- evennia/contrib/tutorial_world/objects.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/evennia/contrib/tutorial_world/objects.py b/evennia/contrib/tutorial_world/objects.py index 6fb8c7b7ee..8d08a945af 100644 --- a/evennia/contrib/tutorial_world/objects.py +++ b/evennia/contrib/tutorial_world/objects.py @@ -22,7 +22,7 @@ WeaponRack import random from evennia import DefaultObject, DefaultExit, Command, CmdSet -from evennia.utils import search, delay +from evennia.utils import search, delay, dedent from evennia.prototypes.spawner import spawn # ------------------------------------------------------------- @@ -1152,12 +1152,13 @@ class WeaponRack(TutorialObject): self.db.rack_id = "weaponrack_1" # these are prototype names from the prototype # dictionary above. - self.db.get_weapon_msg = """ - You find |c%s|n. While carrying this weapon, these actions are available: - |wstab/thrust/pierce |n - poke at the enemy. More damage but harder to hit. - |wslash/chop/bash |n - swipe at the enemy. Less damage but easier to hit. - |wdefend/parry|n - protect yourself and make yourself harder to hit. - """.strip() + self.db.get_weapon_msg = dedent( + """ + You find |c%s|n. While carrying this weapon, these actions are available: + |wstab/thrust/pierce |n - poke at the enemy. More damage but harder to hit. + |wslash/chop/bash |n - swipe at the enemy. Less damage but easier to hit. + |wdefend/parry|n - protect yourself and make yourself harder to hit.) + """).strip() self.db.no_more_weapons_msg = "you find nothing else of use." self.db.available_weapons = ["knife", "dagger", "sword", "club"]