CANVAS_MATERIALS
The blocks of a canvas, as a HASH from block id to number, without air (CANVAS_COUNT counts air). Blocks with different states count together. CANVAS_ITEMS counts the items that RENDER_CANVAS takes.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas- result
resultHASH INTEGER: the numbers
Example
c0de
CALL c0de_paint/cpaint/CANVAS_MATERIALS
PARAMETER canvas c ;
RESULT result shopping_list