Correct indentation
This commit is contained in:
parent
184b96697e
commit
4a67d0482d
1 changed files with 8 additions and 7 deletions
|
|
@ -22,7 +22,7 @@ WeaponRack
|
||||||
import random
|
import random
|
||||||
|
|
||||||
from evennia import DefaultObject, DefaultExit, Command, CmdSet
|
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
|
from evennia.prototypes.spawner import spawn
|
||||||
|
|
||||||
# -------------------------------------------------------------
|
# -------------------------------------------------------------
|
||||||
|
|
@ -1152,12 +1152,13 @@ class WeaponRack(TutorialObject):
|
||||||
self.db.rack_id = "weaponrack_1"
|
self.db.rack_id = "weaponrack_1"
|
||||||
# these are prototype names from the prototype
|
# these are prototype names from the prototype
|
||||||
# dictionary above.
|
# dictionary above.
|
||||||
self.db.get_weapon_msg = """
|
self.db.get_weapon_msg = dedent(
|
||||||
You find |c%s|n. While carrying this weapon, these actions are available:
|
"""
|
||||||
|wstab/thrust/pierce <target>|n - poke at the enemy. More damage but harder to hit.
|
You find |c%s|n. While carrying this weapon, these actions are available:
|
||||||
|wslash/chop/bash <target>|n - swipe at the enemy. Less damage but easier to hit.
|
|wstab/thrust/pierce <target>|n - poke at the enemy. More damage but harder to hit.
|
||||||
|wdefend/parry|n - protect yourself and make yourself harder to hit.
|
|wslash/chop/bash <target>|n - swipe at the enemy. Less damage but easier to hit.
|
||||||
""".strip()
|
|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.no_more_weapons_msg = "you find nothing else of use."
|
||||||
self.db.available_weapons = ["knife", "dagger", "sword", "club"]
|
self.db.available_weapons = ["knife", "dagger", "sword", "club"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue