RoofLib uses three area vars and one global var.
To use RoofLib, all you have to do is define an area, assign a covericon (and covericon_state, if necessary) to the area, and draw the area on the map. It's that easy!
area redroof covericon = 'redroof.dmi' |
If you do any work with layers in your game, you will want to set COVER_LAYER above anything that should be hidden inside a covered region, but under anything that should not be obscured (like a HUD display).
Thank you for using RoofLib by Shadowdarke!