Creating a map
Creating a canvas
Returns an object from which, later, you can get a map in the form of an object
[new|empty] drawing map
When creating a map in a folder /skcrew/maps/
A map image file will be created. The file name will match the ID of the game map.
Getting a canvas by map ID
[drawing] map (by|with) id %number%
Getting an item from the canvas
Accepts canvas as an argument, returns a game item - a map
[the] map item (from|of) %map%
Getting a canvas from an object
Accepts a map item as an argument, returns a canvas for drawing
[drawing] map (of|from) item %itemstack%
Forced saving of the canvas
save map %map%
Maps are not loaded on their own, so that they do not disappear - put the canvases of these maps in global variables.
The addon supports automatic serialization of data associated with canvases.