byond - Modules - TypesVar Details - Proc Details

minimap_tool

Vars

active_mouse_iconactive mouse icon when the tool is selected
drawn_imagereference to the icon we are manipulating when drawing, fetched during initialize
minimap_flagone minimap flag that this tool will be drawing on
x_offsetx offset of the minimap icon for this zlevel. mostly used for shorthand
y_offsety offset of the minimap icon for this zlevel. mostly used for shorthand
zlevelzlevel that this minimap tool applies to and which it will be drawing on

Procs

on_mousedownhandles actions when the mouse is held down while the tool is active. returns COMSIG_MOB_CLICK_CANCELED to continue handling, NONE to cancel
set_zlevelSetter for the offsets of the x and y of drawing based on the input z, and the drawn_image

Var Details

active_mouse_icon

active mouse icon when the tool is selected

drawn_image

reference to the icon we are manipulating when drawing, fetched during initialize

minimap_flag

one minimap flag that this tool will be drawing on

x_offset

x offset of the minimap icon for this zlevel. mostly used for shorthand

y_offset

y offset of the minimap icon for this zlevel. mostly used for shorthand

zlevel

zlevel that this minimap tool applies to and which it will be drawing on

Proc Details

on_mousedown

handles actions when the mouse is held down while the tool is active. returns COMSIG_MOB_CLICK_CANCELED to continue handling, NONE to cancel

set_zlevel

Setter for the offsets of the x and y of drawing based on the input z, and the drawn_image