Oh, here's one. Can the new double click to highlight word function be extended to highlight on whitespace, too?
Would be awesome.
Mudlet features and API requests
Re: Mudlet features and API requests
It would be awesome to have triggers created from functions actually be the name you chose rather than some random number. (permBeginOfLineStringTrigger, permRegexTrigger, etc...)
Re: Mudlet features and API requests
That's a bug! Not intended - it'll certainly be fixed. Sorry about that.
Re: Mudlet features and API requests
One idea brought up by Vadi due to an issue I'm currently having: a way to load a specific xml file as a map file.
Also, the way to possibly add/remove patterns from triggers with multiple patterns.
Also, the way to possibly add/remove patterns from triggers with multiple patterns.
Re: Mudlet features and API requests
A loadMMP() function, to load an MMP-compatible XML map file.
Re: Mudlet features and API requests
I don't get this request. You can just make the parser in lua and use the existing map functions.
- SlySven
- Posts: 1023
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: Mudlet features and API requests
At present a room in a map belongs to one area. Looking at the structures involved it seems that it would be theoretically possible to modify things so that one could place a room in more than one area. I would see that this could be useful for a couple of situations:
Am I talking off the top of my head here or does anyone else see any other potential bonuses with this?
- Detailed "City" maps could be done with more space between rooms, yet the same rooms could also be drawn much closer together for a "Country" map.
- Border regions between two map areas could be shown on BOTH maps so if you are using something that locates other players/item/smobs and they are close to you they don't disappear/appear as you cross the boundary between one area and the next.
Am I talking off the top of my head here or does anyone else see any other potential bonuses with this?
Re: Mudlet features and API requests
You could script through and reposition rooms to do the City versus Country mode.
For case 2, given that areas have their own x,y,z that don't necessarily respect neighboring x,y,z this wouldn't work as well and would need to be hacked together.
Honestly, I don't see the reason to do this, it seems like it would just introduce a ton of kludges.
For case 2, given that areas have their own x,y,z that don't necessarily respect neighboring x,y,z this wouldn't work as well and would need to be hacked together.
Honestly, I don't see the reason to do this, it seems like it would just introduce a ton of kludges.
Re: Mudlet features and API requests
#1 rule of Mudlet - we don't break scripts, so we adhere to very good backwards compatibility. I think we can't do the change the way you propose because that'd just mess with a lot of the scripts (ie returning a list of areas is a break right there. We won't do it).
As for your points!
1) This is a good one... have you looked into gridmode though? setGridMode(areaid, true/false). It does what you mention!
2) I agree with this... but I think it should be solved in some other manner. Perhaps by having the mapper draw a bit of the other areas as well, but at 50% transparency or something?
As for your points!
1) This is a good one... have you looked into gridmode though? setGridMode(areaid, true/false). It does what you mention!
2) I agree with this... but I think it should be solved in some other manner. Perhaps by having the mapper draw a bit of the other areas as well, but at 50% transparency or something?
Re: Mudlet features and API requests
Impossible. Where would you draw the bordering areas? All area coordinate systems are based at 0,0,0 as areas have no "world coordinates" and if they had you wouldn't need to use different areas in the first place.Vadi wrote:2) I agree with this... but I think it should be solved in some other manner. Perhaps by having the mapper draw a bit of the other areas as well, but at 50% transparency or something?