mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Added some example text to evform
This commit is contained in:
parent
6198e59f04
commit
ab1663c856
1 changed files with 6 additions and 2 deletions
|
|
@ -3,8 +3,8 @@
|
|||
Mudform - a way to create advanced ascii forms
|
||||
|
||||
WARNING: UNDER DEVELOPMENT. Evform does currently NOT support
|
||||
colour ANSI markers in the table. Non-colour forms should
|
||||
work fully (so make issues if they don't).
|
||||
colour ANSI markers in the table. Non-colour forms should
|
||||
work fully (so make issues if they don't).
|
||||
|
||||
|
||||
This is intended for creating advanced ascii game forms, such as a
|
||||
|
|
@ -55,6 +55,7 @@ INVALID_FORMCHARS in this module). Form Rectangles can have any size,
|
|||
but must be separated from each other by at least one other
|
||||
character's width.
|
||||
|
||||
|
||||
Use as follows:
|
||||
|
||||
import mudform
|
||||
|
|
@ -62,6 +63,9 @@ Use as follows:
|
|||
# create a new form from the template
|
||||
form = mudform.MudForm("path/to/testform.py")
|
||||
|
||||
(MudForm can also take a dictionary holding
|
||||
the required keys FORMCHAR, TABLECHAR and FORM)
|
||||
|
||||
# add data to each tagged form cell
|
||||
form.map(cells={1: "Tom the Bouncer",
|
||||
2: "Griatch",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue