Merge pull request #3339 from jaborsh/patch-2

Fixing Code Typos in Readme for XYZContrib
This commit is contained in:
Griatch 2023-11-23 18:58:50 +01:00 committed by GitHub
commit 6787f9e5f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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