Remove weird auto-replace strings here and there
This commit is contained in:
parent
23038be08f
commit
26ff5d4206
8 changed files with 12 additions and 13 deletions
|
|
@ -1628,7 +1628,7 @@ class CmdIRC2Chan(COMMAND_DEFAULT_CLASS):
|
||||||
irc_port=irc_port,
|
irc_port=irc_port,
|
||||||
irc_ssl=irc_ssl,
|
irc_ssl=irc_ssl,
|
||||||
)
|
)
|
||||||
self.msg("Connection created. Beginner-Tutorial IRC bot.")
|
self.msg("Connection created. Starting IRC bot.")
|
||||||
|
|
||||||
|
|
||||||
class CmdIRCStatus(COMMAND_DEFAULT_CLASS):
|
class CmdIRCStatus(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
|
||||||
|
|
@ -642,7 +642,7 @@ class CmdService(COMMAND_DEFAULT_CLASS):
|
||||||
if service.running:
|
if service.running:
|
||||||
caller.msg("That service is already running.")
|
caller.msg("That service is already running.")
|
||||||
return
|
return
|
||||||
caller.msg(f"Beginner-Tutorial service '{self.args}' ...")
|
caller.msg(f"Starting service '{self.args}' ...")
|
||||||
try:
|
try:
|
||||||
service.startService()
|
service.startService()
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ with
|
||||||
> room.add_room_state("summer", "empty")
|
> room.add_room_state("summer", "empty")
|
||||||
> room.get_stateful_desc()
|
> room.get_stateful_desc()
|
||||||
|
|
||||||
This is a nice beach. It is completely empty
|
This is a nice beach. It is completely empty.
|
||||||
|
|
||||||
> room.remove_room_state("empty")
|
> room.remove_room_state("empty")
|
||||||
> room.add_room_state("full")
|
> room.add_room_state("full")
|
||||||
|
|
@ -140,7 +140,7 @@ with
|
||||||
|
|
||||||
This is a nice beach. It is full of people.
|
This is a nice beach. It is full of people.
|
||||||
|
|
||||||
There are four time-of-day states that are meant to be used with these tags. The
|
There are four default time-of-day states that are meant to be used with these tags. The
|
||||||
room tracks and changes these automatically. By default they are 'morning',
|
room tracks and changes these automatically. By default they are 'morning',
|
||||||
'afternoon', 'evening' and 'night'. You can get the current time-slot with
|
'afternoon', 'evening' and 'night'. You can get the current time-slot with
|
||||||
`room.get_time_of_day`. You can control them with
|
`room.get_time_of_day`. You can control them with
|
||||||
|
|
@ -148,7 +148,7 @@ room tracks and changes these automatically. By default they are 'morning',
|
||||||
```
|
```
|
||||||
ExtendedRoom.hours_per_day # default 24
|
ExtendedRoom.hours_per_day # default 24
|
||||||
ExtendedRoom.times_of_day # dict of {season: (start, end), ...} where
|
ExtendedRoom.times_of_day # dict of {season: (start, end), ...} where
|
||||||
# the start/end are given as fractions of the day
|
# the start/end are given as fractions of the day.
|
||||||
```
|
```
|
||||||
|
|
||||||
You use these inside descriptions as normal:
|
You use these inside descriptions as normal:
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ from collections import deque
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db.models import Q
|
from django.db.models import Q
|
||||||
|
|
||||||
from evennia import (
|
from evennia import (
|
||||||
CmdSet,
|
CmdSet,
|
||||||
DefaultRoom,
|
DefaultRoom,
|
||||||
|
|
|
||||||
|
|
@ -332,7 +332,7 @@ def _option_spawn(*suboptions):
|
||||||
print("Aborted.")
|
print("Aborted.")
|
||||||
return
|
return
|
||||||
|
|
||||||
print("Beginner-Tutorial spawn ...")
|
print("Starting spawn ...")
|
||||||
grid.spawn(xyz=(x, y, z))
|
grid.spawn(xyz=(x, y, z))
|
||||||
print(
|
print(
|
||||||
"... spawn complete!\nIt's recommended to reload the server to refresh caches if this "
|
"... spawn complete!\nIt's recommended to reload the server to refresh caches if this "
|
||||||
|
|
|
||||||
|
|
@ -1163,7 +1163,7 @@ class BasicMapNode(MapNode):
|
||||||
|
|
||||||
class InterruptMapNode(MapNode):
|
class InterruptMapNode(MapNode):
|
||||||
"""A point of interest node/room. Pathfinder will ignore but auto-stepper will
|
"""A point of interest node/room. Pathfinder will ignore but auto-stepper will
|
||||||
stop here if passing through. Beginner-Tutorial from here is fine."""
|
stop here if passing through. Starting from here is fine."""
|
||||||
|
|
||||||
symbol = "I"
|
symbol = "I"
|
||||||
display_symbol = "#"
|
display_symbol = "#"
|
||||||
|
|
|
||||||
|
|
@ -914,7 +914,7 @@ def reload_evennia(sprofiler=False, reset=False):
|
||||||
send_instruction(SSTART, server_cmd)
|
send_instruction(SSTART, server_cmd)
|
||||||
|
|
||||||
def _portal_not_running(fail):
|
def _portal_not_running(fail):
|
||||||
print("Evennia not running. Beginner-Tutorial up ...")
|
print("Evennia not running. Starting ...")
|
||||||
start_evennia()
|
start_evennia()
|
||||||
|
|
||||||
collectstatic()
|
collectstatic()
|
||||||
|
|
@ -987,7 +987,7 @@ def reboot_evennia(pprofiler=False, sprofiler=False):
|
||||||
wait_for_status(False, None, _portal_stopped)
|
wait_for_status(False, None, _portal_stopped)
|
||||||
|
|
||||||
def _portal_not_running(fail):
|
def _portal_not_running(fail):
|
||||||
print("Evennia not running. Beginner-Tutorial up ...")
|
print("Evennia not running. Starting ...")
|
||||||
start_evennia()
|
start_evennia()
|
||||||
|
|
||||||
collectstatic()
|
collectstatic()
|
||||||
|
|
@ -1013,7 +1013,7 @@ def start_server_interactive():
|
||||||
def _iserver():
|
def _iserver():
|
||||||
_, server_twistd_cmd = _get_twistd_cmdline(False, False)
|
_, server_twistd_cmd = _get_twistd_cmdline(False, False)
|
||||||
server_twistd_cmd.append("--nodaemon")
|
server_twistd_cmd.append("--nodaemon")
|
||||||
print("Beginner-Tutorial Server in interactive mode (stop with Ctrl-C)...")
|
print("Starting Server in interactive mode (stop with Ctrl-C)...")
|
||||||
try:
|
try:
|
||||||
Popen(server_twistd_cmd, env=getenv(), stderr=STDOUT).wait()
|
Popen(server_twistd_cmd, env=getenv(), stderr=STDOUT).wait()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
@ -1051,7 +1051,7 @@ def start_portal_interactive():
|
||||||
else:
|
else:
|
||||||
Popen(server_twistd_cmd, env=getenv(), bufsize=-1)
|
Popen(server_twistd_cmd, env=getenv(), bufsize=-1)
|
||||||
|
|
||||||
print("Beginner-Tutorial Portal in interactive mode (stop with Ctrl-C)...")
|
print("Starting Portal in interactive mode (stop with Ctrl-C)...")
|
||||||
try:
|
try:
|
||||||
Popen(portal_twistd_cmd, env=getenv(), stderr=STDOUT).wait()
|
Popen(portal_twistd_cmd, env=getenv(), stderr=STDOUT).wait()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ callable must be a module-global function on the form
|
||||||
|
|
||||||
## options
|
## options
|
||||||
|
|
||||||
# Beginner-Tutorial the option-line with >
|
# Beginning the option-line with >
|
||||||
# allows to perform different actions depending on
|
# allows to perform different actions depending on
|
||||||
# what is inserted.
|
# what is inserted.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue