mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 06:46:31 +01:00
Prep docs for branch move
This commit is contained in:
parent
0960193f07
commit
ccbeb0673d
16 changed files with 39 additions and 56 deletions
|
|
@ -132,10 +132,7 @@ up anyway. Make sure you are quelling your superuser powers and try to get the b
|
|||
You can't get that.
|
||||
|
||||
Think this default error message looks dull? The `get` command looks for an [Attribute](../../../Components/Attributes.md)
|
||||
named `get_err_msg` for returning a nicer error message (we just happen to know this, you would need
|
||||
to peek into the
|
||||
[code](https://github.com/evennia/evennia/blob/master/evennia/commands/default/general.py#L235) for
|
||||
the `get` command to find out.). You set attributes using the `set` command:
|
||||
named `get_err_msg` for returning a nicer error messageod (this can be seen from the default `get` command code). You set attributes using the `set` command:
|
||||
|
||||
set box/get_err_msg = It's way too heavy for you to lift.
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ If you'd rather not take advantage of Evennia's base styles, you can do somethin
|
|||
When you enter the address `http://localhost:4001/story` in your web browser, Django will parse that
|
||||
field to figure out which page you want to go to. You tell it which patterns are relevant in the
|
||||
file
|
||||
[mygame/web/urls.py](https://github.com/evennia/evennia/blob/master/evennia/game_template/web/urls.py).
|
||||
[mygame/web/urls.py](https://github.com/evennia/evennia/blob/main/evennia/game_template/web/urls.py).
|
||||
Open it now
|
||||
|
||||
Django looks for the variable `urlpatterns` in this file. You want to add your new pattern to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue