Fixing Code Typos in Readme for XYZContrib
The previous code block contained programmatic errors.
This commit is contained in:
parent
40a4bd0592
commit
469b29d9e8
1 changed files with 14 additions and 13 deletions
|
|
@ -271,24 +271,26 @@ PROTOTYPES = {
|
||||||
(0, 0): {
|
(0, 0): {
|
||||||
"prototype_parent": "xyz_room",
|
"prototype_parent": "xyz_room",
|
||||||
"key": "A nice glade",
|
"key": "A nice glade",
|
||||||
"desc": "Sun shines through the branches above.}
|
"desc": "Sun shines through the branches above.",
|
||||||
|
},
|
||||||
(0, 0, 'e'): {
|
(0, 0, 'e'): {
|
||||||
"prototype_parent": "xyz_exit",
|
"prototype_parent": "xyz_exit",
|
||||||
"desc": "A quiet path through the foilage"
|
"desc": "A quiet path through the foilage",
|
||||||
}
|
},
|
||||||
('*', '*'): {
|
('*', '*'): {
|
||||||
"prototype_parent": "xyz_room",
|
"prototype_parent": "xyz_room",
|
||||||
"key": "In a bright forest",
|
"key": "In a bright forest",
|
||||||
"desc": "There is green all around."
|
"desc": "There is green all around.",
|
||||||
},
|
},
|
||||||
('*', '*', '*'): {
|
('*', '*', '*'): {
|
||||||
"prototype_parent": "xyz_exit",
|
"prototype_parent": "xyz_exit",
|
||||||
"desc": "The path leads further into the forest."
|
"desc": "The path leads further into the forest.",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
# collect all info for this one map
|
# collect all info for this one map
|
||||||
XYMAP_DATA = {
|
XYMAP_DATA = {
|
||||||
"zcoord": "mymap" # important!
|
"zcoord": "mymap", # important!
|
||||||
"map": MAPSTR,
|
"map": MAPSTR,
|
||||||
"legend": LEGEND,
|
"legend": LEGEND,
|
||||||
"prototypes": PROTOTYPES,
|
"prototypes": PROTOTYPES,
|
||||||
|
|
@ -299,7 +301,6 @@ XYMAP_DATA = {
|
||||||
XYMAP_DATA_LIST = [
|
XYMAP_DATA_LIST = [
|
||||||
XYMAP_DATA
|
XYMAP_DATA
|
||||||
]
|
]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The above map would be added to the grid with
|
The above map would be added to the grid with
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue