Hi Chris, added this func with a few changes, here are a few comments:
1. line coordinates are of type qreal 2. direction/line relationship must be unique ([] instead of insert()) 3. valid directions should be anything including special exits (this feature needs to be added to the gui also) 4. getRoom(id) returns 0 if the room doesnt exist 5. I've added a func getCustomLines(roomid) that returns a table with all data. Maybe we change addCustonLine() to accept this kind of tables also to make scripting easier Heiko Am 11.06.2013 15:05, schrieb Chris: > This branch: > > https://github.com/Chris7/Mudlet2/commits/exitRedesign > > custom exit lines commit: > https://github.com/Chris7/Mudlet2/commit/8c38be9be026decf7b10b4d3c7bdcbc1fd304ac2 > -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1114588 Title: Custom exit lines should be possible to be added from scripts Status in Mudlet the MUD client: Fix Committed Bug description: Please add possibility to add custom exit lines between two rooms using LUA scripts or possibility to connect rooms with special exits with visual lines on map. Currentlu GUI only version exists and even with that it is not possible to connect rooms, just draw a line that does move with rooms. Mudlet: 2.1 To manage notifications about this bug go to: https://bugs.launchpad.net/mudlet/+bug/1114588/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

