ModernUO/Distribution/Data/Spawns/post-uoml/felucca/TrinsicPassage.json
Kamron Batman 0d1fffd9fc
fix: Fixes spawners, adds convertpremiumspawners, exportspawners, and replaces with neruns distro (#751)
### Additions
* Adds `[exportspawners <relative json file path to distro>`
  * If no path is provided, it will be saved to the `Data\Spawns` folder with the current timestamp as the file name.
  * Supports global, facet, region, multi, and area
* Fixes client disconnect for bad spawner generation command.
* Moves spawner commands to their own folder.
* Adds GUIDs for spawners. This allows for easy replacement during import to reduce duplication.
* Allows exporting the name of the spawner.
* Fixes globbing when using [generatespawners
* Adds [convertpremiumspawners to convert Premium Spawners (from Neruns distro)

Possibly in .NET 6 serializing JSON will be more performant using JSON nodes.


### Screenshots
![Screen_Shot_2021-08-31_at_10 20 06_PM](https://user-images.githubusercontent.com/3953314/131618495-cf7e3ae5-58e5-4f86-9d3c-3cc49906d9fc.png)
![Screen_Shot_2021-08-31_at_10 21 08_PM](https://user-images.githubusercontent.com/3953314/131618502-c39cc368-2266-47a5-9b87-e5ffa108b875.png)
![Screen_Shot_2021-08-31_at_10 13 29_PM](https://user-images.githubusercontent.com/3953314/131618512-f9807f1b-76e4-4503-989d-42324798fbf5.png)
2021-09-03 21:52:44 -07:00

119 lines
3.7 KiB
JSON

[
{
"type": "Spawner",
"guid": "67cf345a-21ee-4531-a42e-e9f8f6afd3a8",
"name": "Spawner (224)",
"location": [5976, 1387, -22],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "DreadSpider", "maxCount": 1, "probability": 100 },
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "HellCat", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 },
{ "name": "LavaSnake", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "2f578492-2c97-4b82-8c9c-419d457d4cb6",
"name": "Spawner (224)",
"location": [5940, 1356, -2],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "DreadSpider", "maxCount": 1, "probability": 100 },
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "HellCat", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 },
{ "name": "LavaSnake", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "d178deec-aa19-436c-8a66-06674dd8918d",
"name": "Spawner (224)",
"location": [5912, 1326, 0],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "DreadSpider", "maxCount": 1, "probability": 100 },
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "HellCat", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 },
{ "name": "LavaSnake", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "ce736edb-4b50-491d-912d-2287ce1ef397",
"name": "Spawner (224)",
"location": [5956, 1310, -2],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "DreadSpider", "maxCount": 1, "probability": 100 },
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "HellCat", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 },
{ "name": "LavaSnake", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "df7d52eb-799c-4e58-8def-b1dfc4a8bf6f",
"name": "Spawner (224)",
"location": [5999, 1327, 10],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "DreadSpider", "maxCount": 1, "probability": 100 },
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "HellCat", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 },
{ "name": "LavaSnake", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "52e068a9-d0c5-4445-b6df-2dd434d00e67",
"name": "Spawner (224)",
"location": [5915, 1302, 2],
"map": "Felucca",
"count": 2,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 1,
"walkingRange": 1,
"entries": [
{ "name": "TreasureChestLevel2", "maxCount": 1, "probability": 100 },
{ "name": "TreasureChestLevel3", "maxCount": 1, "probability": 100 }
]
}
]