Commit graph

12 commits

Author SHA1 Message Date
Steven Ortega
0cb400c6ab feat(regions): add vendor shop regions for all remaining towns
Extends vendor shop region coverage from the four initial towns
(Britain, Trinsic, Vesper, Minoc) to every remaining town that has
vendor spawns across all facets, completing issue #1052.

Adds 290 NoHousingRegion shop child-regions for 19 towns spanning
Trammel, Felucca, Ilshenar, Malas, Tokuno and TerMur: Jhelom, Cove,
Magincia, Moonglow, Nujel'm, Ocllo, Papua, Serpent's Hold, Skara Brae,
Wind, Yew, Buccaneer's Den, Delucia, Gargoyle City, Reg Volon, Luna,
Umbra, Zento and Royal City.

Regions are derived from the actual vendor spawn coordinates and follow
the existing curated 16-type shop vocabulary; co-located profession
clusters (e.g. Alchemist/Mage/Herbalist, Armorer/Weaponsmith, Cobbler/
Provisioner) fold into one shop region, matching how the first four
towns were authored. Jhelom resolves correctly as a town nested under
"Jhelom Islands".

Taverns and inns are intentionally excluded (already covered by the
existing NoLogoutDelay regions). Vendors that share a spawn point with
another shop type, sit inside an existing no-logout or gypsy-camp
sub-region, or fall outside any town region are omitted.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 01:00:00 -05:00
Steven Ortega
419c501800 feat(regions): add Minoc vendor shop regions (Trammel + Felucca)
Add NoHousingRegion child regions for Minoc vendor shops on both
facets, nested under the Minoc TownRegion. Same shop-region pattern
as Britain.

Refs #1052

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:56:19 -05:00
Steven Ortega
72f0af4fbd feat(regions): add Vesper vendor shop regions (Trammel + Felucca)
Add NoHousingRegion child regions for Vesper vendor shops on both
facets, nested under the Vesper TownRegion. Same shop-region pattern
as Britain.

Refs #1052

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:56:12 -05:00
Steven Ortega
28d96bf35f feat(regions): add Trinsic vendor shop regions (Trammel + Felucca)
Add NoHousingRegion child regions for Trinsic vendor shops on both
facets, nested under the Trinsic TownRegion. Same shop-region pattern
as Britain.

Refs #1052

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:56:06 -05:00
Steven Ortega
b9cd4fd86e feat(regions): add Britain vendor shop regions (Trammel + Felucca)
Add NoHousingRegion child regions for Britain vendor shops on both
facets, following the existing New Haven/Haven shop pattern. Each shop
type (bakery, blacksmith, tailor, mage, bank, etc.) resolves to its own
region nested under the Britain TownRegion instead of only the broad
town region. Taverns/inns are intentionally excluded as they already
have dedicated NoLogoutDelay regions.

Refs #1052

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:55:55 -05:00
srosellj
d6fe50233a
fix: Fix unguarded/termur regions in regions.json (#1723) 2024-04-07 13:30:35 -07:00
Kamron Batman
0a9bfb0558
fix: Drastically simplifies regions (#1400)
### Summary
- [X] Gets rid of the Dtos
- [X] Simplifies the json serializer registration
- [X] Adds a custom `RegionByName` JsonConverter that can look up other regions that have already been registered.


### BREAKING CHANGE
1. **Child regions must appear after their parents in the JSON file**
2. In the regions json file, _"Parent"_ can no longer be just a string. It must be an object that includes the map.
      - ```json
        "Parent": { "Name": "Britain", "Map": "Felucca" }
        ```
2023-05-19 16:39:40 -07:00
Kamron Batman
2057fe74a2
fix: Fixes no logout delay regions. (#1262) 2022-11-22 13:16:30 -08:00
Kamron Batman
1f778cfacf
fix: Fixes regions having the wrong type (#1260)
## Possible Breaking Change
* Reverted regions.json back to RunUO until newer regions are implemented and proper expansion checks are added.

### Other Changes
- [X] Adds `Region.IsPartOf<T1, T2>()` to check for multiple types.
- [X] Fixes regions.json being wrong
- [X] Adds lots of missing regions. **They are not implemented properly yet**
- [X] Adds regions.xml -> regions.json (check ModernUO Discord)
- [X] Adds expansion specific regions.
2022-11-21 16:47:40 -08:00
Kamron Batman
18c4459e6b
fix: Fixes region priority and resolution. (#1254)
- [X] Fixes world location JSON deserializer.
- [X] Fixes region resolver and priorities.
- [X] Removes DynamicJson from regions.
- [X] Adds missing region music.
2022-11-21 10:38:20 -08:00
Kamron Batman
cc5a8dc4fa
fix(core): Fixes region base type (#635)
Fixes `Region` being loaded instead of `BaseRegion` as the default region type.
2021-06-02 23:12:52 -07:00
Kamron Batman
390f30e706
Convert Regions/Spawns to JSON (#138) 2020-05-26 00:34:29 -07:00