Area 51/Mapping script

From Mudlet
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)

Meanwhile Mapping_script was merged into Manual:Mapper so kindly continue there eventually. --Kebap (talk)

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")