# a list of all the builtin blocks we generate in the netlogo -> netsblox direction (defined primarily in template.xml).
# these will be ignored by the netsblox -> netlogo block-to-function conversions

script variable %'a' = %'value'

%'a' xor %'b'
is %'sprite' alive?
pick random float %'max'
pick random 0 up to %'val'
atan x: %'x' y: %'y'

color %'name'
set pen color to %'color'
pen color
pen mode

set scale to %'scale' x
scale

%'count' clones
%'count' new %'breed-name'
%'count' new %'breed-name' (ordered)
tell %'sprites' to %'action'
ask %'sprite' for its %'val'

delete all clones
reset patches
reset global variables
reset everything

ask %'q' and wait
self
asker
current patch
distance from x: %'x' y: %'y'
distance from %'sprite'
direction towards x: %'x' y: %'y'
direction towards %'sprite'
mouse x
mouse y
mouse in stage?

set patch %'name' to %'value'
change patch %'name' by %'value'
get patch %'name'

move %'count' steps
go to x: %'x' y: %'y'
change x by %'val'
set x to %'val'
change y by %'val'
set y to %'val'
x position
y position
random x position
random y position
dx of 1 step
dy of 1 step
angle change from %'a' to %'b'

turtle set %'items'
is %'set' empty? (turtle set)
random item %'set' (turtle set)
turtles %'set' within distance %'d'
exclude myself %'objs'
nobody

min %'list'
max %'list'
get one %'objs' with min %'expr'
get one %'objs' with max %'expr'

sum %'list'
average %'list'

setup patches
update background
