First, let me try to explain what I'm looking to do.
I have a zone with 600 rooms. When I did the zone setup, I did it in parts. Sometimes I did a building next to a road, then I continued with the road, then I made another section, continued with the next part of the road, etc.
Now that the WLD file is done, I'm working on the mobs and where they should go. I have ~200 quests mobs that should be loaded into all the roads in town (so the town looks different each boot). The roads are perhaps 200 vnums, but they are not a consistent range.
I currently would need to do this:
make a subzone with a vnumStartand vnumEndfor the entire zone, say 42000 and 42599
fill out excludedVnums with ~400 vnums.
Use the load npc command to load the mobs to that subzone, one by one (ideally I can also load a range of mobs, see my separate issue from a few days ago)
Better options:
Option 1: make it so a subzone doesn't have to be just one vnumstart and end, but you can have multiples, and individual vnums too. In pseudocode:
"subzones": [
{
"id": 1,
"name": "Pirate Ship",
"vnums": [98375],
"vnumStart": 98344,
"vnumEnd": 98366,
"vnumStart2:" 98384
"vnumEnd2: 98400
<... any other start and end numbers>
"excludedVnums": [98364, 98380, 98353],
"roomFlags": ["indoors"]
}
]
- Option 2: Make it so that the `load npc` command can take multiple subzones. This would allow me to create e.g. 20 smaller subzones (which together form the entire road network) individually, and specify all 20 in the load command subzones.
I'm not sure which is cleanest or easiest.
Thanks!
First, let me try to explain what I'm looking to do.
I have a zone with 600 rooms. When I did the zone setup, I did it in parts. Sometimes I did a building next to a road, then I continued with the road, then I made another section, continued with the next part of the road, etc.
Now that the WLD file is done, I'm working on the mobs and where they should go. I have ~200 quests mobs that should be loaded into all the roads in town (so the town looks different each boot). The roads are perhaps 200 vnums, but they are not a consistent range.
I currently would need to do this:
vnumStart
andvnumEnd
for the entire zone, say 42000 and 42599excludedVnums
with ~400 vnums.load npc
command to load the mobs to that subzone, one by one (ideally I can also load a range of mobs, see my separate issue from a few days ago)Better options:
"subzones": [ { "id": 1, "name": "Pirate Ship", "vnums": [98375], "vnumStart": 98344, "vnumEnd": 98366, "vnumStart2:" 98384 "vnumEnd2: 98400 <... any other start and end numbers> "excludedVnums": [98364, 98380, 98353], "roomFlags": ["indoors"] } ]