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

146 lines
4.2 KiB
JSON

[
{
"type": "Spawner",
"guid": "5a6afe0a-d633-4e22-ae65-db1548e34fda",
"name": "Spawner (208)",
"location": [1369, 1475, 10],
"map": "Felucca",
"count": 7,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 20,
"walkingRange": 30,
"entries": [
{ "name": "Spectre", "maxCount": 1, "probability": 100 },
{ "name": "Wraith", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 2, "probability": 100 },
{ "name": "Zombie", "maxCount": 3, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "944a44d9-a3e3-44c4-8a96-aef8d0252a2a",
"name": "Spawner (208)",
"location": [1285, 3731, 0],
"map": "Felucca",
"count": 8,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 15,
"entries": [
{ "name": "Spectre", "maxCount": 1, "probability": 100 },
{ "name": "Wraith", "maxCount": 1, "probability": 100 },
{ "name": "Shade", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 2, "probability": 100 },
{ "name": "Zombie", "maxCount": 3, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "0507b157-f5f3-4b00-afaf-fb7af2b21495",
"name": "Spawner (208)",
"location": [2438, 1100, 8],
"map": "Felucca",
"count": 6,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "Spectre", "maxCount": 1, "probability": 100 },
{ "name": "Shade", "maxCount": 1, "probability": 100 },
{ "name": "Wraith", "maxCount": 1, "probability": 100 },
{ "name": "Lich", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 1, "probability": 100 },
{ "name": "Zombie", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "de687881-e2fd-4079-95f9-0bfe253e3ce4",
"name": "Spawner (208)",
"location": [4545, 1317, 8],
"map": "Felucca",
"count": 5,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [
{ "name": "Spectre", "maxCount": 1, "probability": 100 },
{ "name": "Shade", "maxCount": 1, "probability": 100 },
{ "name": "Wraith", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 1, "probability": 100 },
{ "name": "Zombie", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "952a1a08-6d9d-4330-bbae-890e0db5c8d5",
"name": "Spawner (208)",
"location": [4543, 1314, 8],
"map": "Felucca",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 20,
"entries": [{ "name": "Lich", "maxCount": 1, "probability": 100 }]
},
{
"type": "Spawner",
"guid": "efe2fbb6-cb43-4a51-9b66-08aab11cb91e",
"name": "Spawner (208)",
"location": [2758, 867, 0],
"map": "Felucca",
"count": 7,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 20,
"walkingRange": 20,
"entries": [
{ "name": "Spectre", "maxCount": 1, "probability": 100 },
{ "name": "Wraith", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 2, "probability": 100 },
{ "name": "Zombie", "maxCount": 3, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "30ab52b8-6bea-46c8-962c-0aeb2d212cb6",
"name": "Spawner (208)",
"location": [722, 1119, 0],
"map": "Felucca",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 20,
"walkingRange": 20,
"entries": [{ "name": "Skeleton", "maxCount": 1, "probability": 100 }]
},
{
"type": "Spawner",
"guid": "1d1d2974-7751-4d44-93d6-1948bf264eb6",
"name": "Spawner (208)",
"location": [3407, 2652, 48],
"map": "Felucca",
"count": 2,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 15,
"entries": [
{ "name": "Zombie", "maxCount": 1, "probability": 100 },
{ "name": "Skeleton", "maxCount": 1, "probability": 100 }
]
}
]