mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Convert master docs to use MyST
This commit is contained in:
parent
6e03216cd9
commit
d229ff024c
359 changed files with 3275 additions and 4567 deletions
|
|
@ -15,7 +15,7 @@ selection screen when you log into the game later). Other modes can be used with
|
|||
auto-puppet the new Character.
|
||||
|
||||
You should have some familiarity with how Django sets up its Model Template View framework. You need
|
||||
to understand what is happening in the basic [Web Character View tutorial](./Web-Character-View-Tutorial). If you don’t understand the listed tutorial or have a grasp of Django basics, please look
|
||||
to understand what is happening in the basic [Web Character View tutorial](./Web-Character-View-Tutorial.md). If you don’t understand the listed tutorial or have a grasp of Django basics, please look
|
||||
at the [Django tutorial](https://docs.djangoproject.com/en/1.8/intro/) to get a taste of what Django
|
||||
does, before throwing Evennia into the mix (Evennia shares its API and attributes with the website
|
||||
interface). This guide will outline the format of the models, views, urls, and html templates
|
||||
|
|
@ -81,7 +81,7 @@ and *templates* (how the web page should be structured).
|
|||
|
||||
Models are created in `mygame/web/chargen/models.py`.
|
||||
|
||||
A [Django database model](./New-Models) is a Python class that describes the database storage of the
|
||||
A [Django database model](./New-Models.md) is a Python class that describes the database storage of the
|
||||
data you want to manage. Any data you choose to store is stored in the same database as the game and
|
||||
you have access to all the game's objects here.
|
||||
|
||||
|
|
@ -261,9 +261,9 @@ create_object function to properly process the permissions.
|
|||
|
||||
Most importantly, the following attributes must be set on the created character object:
|
||||
|
||||
* Evennia [permissions](./Locks#permissions) (copied from the `AccountDB`).
|
||||
* The right `puppet` [locks](./Locks) so the Account can actually play as this Character later.
|
||||
* The relevant Character [typeclass](./Typeclasses)
|
||||
* Evennia [permissions](./Locks.md#permissions) (copied from the `AccountDB`).
|
||||
* The right `puppet` [locks](./Locks.md) so the Account can actually play as this Character later.
|
||||
* The relevant Character [typeclass](./Typeclasses.md)
|
||||
* Character name (key)
|
||||
* The Character's home room location (`#2` by default)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue