Direct-reference typeclass in xyzgrid example, for simplicity

This commit is contained in:
Griatch 2021-08-22 20:33:37 +02:00
parent ddaf22ea58
commit 6e975236eb
2 changed files with 5 additions and 5 deletions

View file

@ -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.",
}