mirror of
https://github.com/evennia/evennia.git
synced 2026-03-22 15:56:30 +01:00
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
|
||||
|
||||
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 <target>|n - poke at the enemy. More damage but harder to hit.
|
||||
|wslash/chop/bash <target>|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 <target>|n - poke at the enemy. More damage but harder to hit.
|
||||
|wslash/chop/bash <target>|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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue