Skip to content

Commit

Permalink
Documentation and string extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
dseguin committed Dec 23, 2021
1 parent 25cafa8 commit 76eabb0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/OVERMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,20 @@ those overmap terrains relative to each other, and some data used to drive the p
overmap special / city building (e.g. how far from a city, should be it connected to a road, can it
be placed in a forest/field/river, etc).

When retiring or migrating an overmap special, the id should be defined in a new `overmap_special_migration`,
usually defined in `data/json/overmap/overmap_special/overmap_special_migration.json` as follows:

```json
{
"type": "overmap_special_migration",
"id": "Military Bunker",
"new_id": "military_bunker"
}
```

Specials that have been removed (not just renamed) should have a blank `new_id`, or just omit
the `new_id` field altogether.

### overmap_connection

Speaking of roads, the concept of linear features like roads, sewers, subways, railroads, and
Expand Down
1 change: 1 addition & 0 deletions lang/string_extractor/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def dummy_parser(json, origin):
"overmap_land_use_code": parse_overmap_land_use_code,
"overmap_location": dummy_parser,
"overmap_special": dummy_parser,
"overmap_special_migration": dummy_parser,
"overmap_terrain": parse_overmap_terrain,
"palette": parse_palette,
"pet_armor": parse_generic,
Expand Down

0 comments on commit 76eabb0

Please sign in to comment.