torilmud / issues

Bug reports for TorilMUD
11 stars 8 forks source link

Areas feature request - distribute mobs into more than 1 subzone, or be able to make subzones with multiple vnum ranges and individual vnums #1052

Open byzanthia opened 4 months ago

byzanthia commented 4 months ago

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:

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"] } ]


- 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!