From 469b29d9e87ec08baece3c56a6be0d605399fa2e Mon Sep 17 00:00:00 2001 From: Jake <73198594+jaborsh@users.noreply.github.com> Date: Wed, 22 Nov 2023 00:40:37 -0700 Subject: [PATCH] Fixing Code Typos in Readme for XYZContrib The previous code block contained programmatic errors. --- evennia/contrib/grid/xyzgrid/README.md | 27 +++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/evennia/contrib/grid/xyzgrid/README.md b/evennia/contrib/grid/xyzgrid/README.md index 73871d5434..c623921c66 100644 --- a/evennia/contrib/grid/xyzgrid/README.md +++ b/evennia/contrib/grid/xyzgrid/README.md @@ -269,26 +269,28 @@ LEGEND = {} # the '*' are wildcards and allows for giving defaults on this map. PROTOTYPES = { (0, 0): { - "prototype_parent": "xyz_room", - "key": "A nice glade", - "desc": "Sun shines through the branches above.} + "prototype_parent": "xyz_room", + "key": "A nice glade", + "desc": "Sun shines through the branches above.", + }, (0, 0, 'e'): { - "prototype_parent": "xyz_exit", - "desc": "A quiet path through the foilage" - } + "prototype_parent": "xyz_exit", + "desc": "A quiet path through the foilage", + }, ('*', '*'): { - "prototype_parent": "xyz_room", - "key": "In a bright forest", - "desc": "There is green all around." + "prototype_parent": "xyz_room", + "key": "In a bright forest", + "desc": "There is green all around.", }, ('*', '*', '*'): { - "prototype_parent": "xyz_exit", - "desc": "The path leads further into the forest." + "prototype_parent": "xyz_exit", + "desc": "The path leads further into the forest.", + }, } # collect all info for this one map XYMAP_DATA = { - "zcoord": "mymap" # important! + "zcoord": "mymap", # important! "map": MAPSTR, "legend": LEGEND, "prototypes": PROTOTYPES, @@ -299,7 +301,6 @@ XYMAP_DATA = { XYMAP_DATA_LIST = [ XYMAP_DATA ] - ``` The above map would be added to the grid with