Direct-reference typeclass in xyzgrid example, for simplicity
This commit is contained in:
parent
ddaf22ea58
commit
6e975236eb
2 changed files with 5 additions and 5 deletions
|
|
@ -29,15 +29,15 @@ from evennia.contrib.xyzgrid import xymap_legend
|
|||
ROOM_PARENT = {
|
||||
"key": "An empty room",
|
||||
"prototype_key": "xyz_exit_prototype",
|
||||
"prototype_parent": "xyz_room",
|
||||
# "typeclass": "evennia.contrib.xyzgrid.xyzroom.XYZRoom",
|
||||
# "prototype_parent": "xyz_room",
|
||||
"typeclass": "evennia.contrib.xyzgrid.xyzroom.XYZRoom",
|
||||
"desc": "An empty room.",
|
||||
}
|
||||
|
||||
EXIT_PARENT = {
|
||||
"prototype_key": "xyz_exit_prototype",
|
||||
"prototype_parent": "xyz_exit",
|
||||
# "typeclass": "evennia.contrib.xyzgrid.xyzroom.XYZExit",
|
||||
# "prototype_parent": "xyz_exit",
|
||||
"typeclass": "evennia.contrib.xyzgrid.xyzroom.XYZExit",
|
||||
"desc": "A path to the next location.",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue