Reformatted with markdown syntax and some cleanup.
This commit is contained in:
parent
cc5e09a916
commit
0da4945c92
1 changed files with 23 additions and 23 deletions
|
|
@ -68,30 +68,30 @@ Tall man (assuming his name is Tom) sees:
|
||||||
The godlike figure looks at Tom and says "Hello".
|
The godlike figure looks at Tom and says "Hello".
|
||||||
|
|
||||||
Verbose Installation Instructions:
|
Verbose Installation Instructions:
|
||||||
|
|
||||||
1. In typeclasses/character.py:
|
1. In typeclasses/character.py:
|
||||||
Import the ContribRPCharacter class:
|
Import the `ContribRPCharacter` class:
|
||||||
"from evennia.contrib.rpsystem import ContribRPCharacter"
|
`from evennia.contrib.rpsystem import ContribRPCharacter`
|
||||||
Inherit ContribRPCharacter:
|
Inherit ContribRPCharacter:
|
||||||
Change "class Character(DefaultCharacter):" to
|
Change "class Character(DefaultCharacter):" to
|
||||||
"class Character(ContribRPCharacter):"
|
`class Character(ContribRPCharacter):`
|
||||||
If you have any overriden calls in at_object_creation(self):
|
If you have any overriden calls in `at_object_creation(self)`:
|
||||||
Add "super(Character,self).at_object_creation()" as the top line.
|
Add `super(Character,self).at_object_creation()` as the top line.
|
||||||
2. In typeclasses/rooms.py:
|
2. In `typeclasses/rooms.py`:
|
||||||
Import the ContribRPRoom class:
|
Import the `ContribRPRoom` class:
|
||||||
"from evennia.contrib.rpsystem import ContribRPRoom"
|
`from evennia.contrib.rpsystem import ContribRPRoom`
|
||||||
Inherit ContribRPRoom:
|
Inherit `ContribRPRoom`:
|
||||||
Change "class Character(DefaultRoom):" to
|
Change `class Character(DefaultRoom):` to
|
||||||
"class Character(ContribRPRoom):"
|
`class Character(ContribRPRoom):`
|
||||||
3. In typeclasses/objects.py
|
3. In `typeclasses/objects.py`
|
||||||
Import the ContribRPObject class:
|
Import the `ContribRPObject` class:
|
||||||
"from evennia.contrib.rpsystem import ContribRPObject"
|
`from evennia.contrib.rpsystem import ContribRPObject`
|
||||||
Inherit ContribRPObject:
|
Inherit `ContribRPObject`:
|
||||||
Change "class Character(DefaultObject):" to
|
Change `class Character(DefaultObject):` to
|
||||||
"class Character(ContribRPObject):"
|
`class Character(ContribRPObject):`
|
||||||
4. Reload the server (@reload or from console: "evennia reload")
|
4. Reload the server (@reload or from console: "evennia reload")
|
||||||
5. Force typeclass updates as required:
|
5. Force typeclass updates as required. Example for your character:
|
||||||
Example for your character: "@type/reset/force me =
|
@type/reset/force me = typeclasses.characters.Character
|
||||||
typeclasses.characters.Character"
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from builtins import object
|
from builtins import object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue