ModernUO/Distribution/Data/Spawns/post-uoml/felucca/BlightedGrove.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

145 lines
4.3 KiB
JSON

[
{
"type": "Spawner",
"guid": "a702eb8d-4fcf-4544-bb25-3cc1109e514c",
"name": "Spawner (201)",
"location": [6513, 871, 0],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 35,
"walkingRange": 35,
"entries": [
{ "name": "GiantSerpent", "maxCount": 1, "probability": 100 },
{ "name": "GiantToad", "maxCount": 1, "probability": 100 },
{ "name": "Harpy", "maxCount": 1, "probability": 100 },
{ "name": "SilverSerpent", "maxCount": 1, "probability": 100 },
{ "name": "Snake", "maxCount": 1, "probability": 100 },
{ "name": "Bogling", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "35dc223e-3f4c-49e3-a539-613ca77fccf2",
"name": "Spawner (201)",
"location": [6507, 843, 0],
"map": "Felucca",
"count": 7,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "Tangle", "maxCount": 1, "probability": 100 },
{ "name": "Bogling", "maxCount": 1, "probability": 100 },
{ "name": "Alligator", "maxCount": 1, "probability": 100 },
{ "name": "Reaper", "maxCount": 1, "probability": 100 },
{ "name": "Corpser", "maxCount": 1, "probability": 100 },
{ "name": "Changeling", "maxCount": 1, "probability": 100 },
{ "name": "WhippingVine", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "1175e0e3-ee63-4568-9af4-dee601cc8e64",
"name": "Spawner (201)",
"location": [6535, 848, 0],
"map": "Felucca",
"count": 3,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "Abscess", "maxCount": 1, "probability": 100 },
{ "name": "Hydra", "maxCount": 1, "probability": 100 },
{ "name": "BogThing", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "2526d506-586a-4e1f-a654-9ce43dc1bee5",
"name": "Spawner (201)",
"location": [6518, 870, 0],
"map": "Felucca",
"count": 7,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 40,
"walkingRange": 40,
"entries": [
{ "name": "Thrasher", "maxCount": 1, "probability": 100 },
{ "name": "SwampTentacle", "maxCount": 1, "probability": 100 },
{ "name": "Reaper", "maxCount": 1, "probability": 100 },
{ "name": "Bogling", "maxCount": 1, "probability": 100 },
{ "name": "Alligator", "maxCount": 1, "probability": 100 },
{ "name": "Coil", "maxCount": 1, "probability": 100 },
{ "name": "WhippingVine", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "be27af47-35c8-412b-9f81-3113600e902e",
"name": "Spawner (201)",
"location": [6540, 872, 0],
"map": "Felucca",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "InsaneDryad", "maxCount": 1, "probability": 100 }]
},
{
"type": "Spawner",
"guid": "b8b54dd6-4400-4bcf-acf7-89be12341c78",
"name": "Spawner (201)",
"location": [6585, 878, 0],
"map": "Felucca",
"count": 3,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "Harpy", "maxCount": 1, "probability": 100 },
{ "name": "Saliva", "maxCount": 1, "probability": 100 },
{ "name": "Changeling", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "bf379e30-e1b9-4e35-a185-2d17f079ac02",
"name": "Spawner (201)",
"location": [6489, 897, 0],
"map": "Felucca",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "InsaneDryad", "maxCount": 1, "probability": 100 }]
},
{
"type": "Spawner",
"guid": "ae22187a-f01f-4970-8176-69137b98e12f",
"name": "Spawner (201)",
"location": [6518, 879, 0],
"map": "Felucca",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "InsaneDryad", "maxCount": 1, "probability": 100 }]
}
]