Area 51/Mapping script

From Mudlet
Revision as of 14:00, 6 October 2022 by Atari2600tim (talk | contribs) (moving unimplemented area exit names to area 51 subpage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This was on Mapping_script and currently the PR for it is not accepted.

4347 - PR accidentally accepted on wrong branch

5456 - PR to add it to development branch

Might need to change this if it gets reworked into the mapper script, or uses new functions instead of room user data. Either way, this isn't currently implemented even on the public test build.

Atari2600tim (talk) 14:00, 6 October 2022 (UTC)

Draw area exit names

When a room connect to another area's room, draw the exit area name on the line end.

  • To not show area names in a room
-- don't show exit:
setRoomUserData(roomid, "room.ui_dontShowAreaExitName", "yes")
  • To move normal exit name a little bit
-- move normal exit a little bit
setRoomUserData(roomid, "room.ui_areaExitNameOffset.south", "20")
setRoomUserData(roomid, "room.ui_areaExitNameOffset.south", "20 20")
  • To move special exit a little bit
-- move special exit a little bit
setRoomUserData(roomid, "room.ui_areaExitNameOffset.northdown", "20")
setRoomUserData(roomid, "room.ui_areaExitNameOffset.northup", "20 20")