byond - Modules - TypesVar Details - Proc Details

cleanbot

A medical bot designed to clean up blood and other trash that accumulates in medbay

Vars

cleantypeslist of garbage the cleanbot removes

Procs

calculategrimeholds the list of floors and dirs we use to evaluate which direction we're heading used to hold what tile in the immediate area is dirtiest used to hold the dirt value of a given tile during evaluation, which is compared with highestdirtvalue used to override destination if we detect dirt or grime nearby if the dirt value on a given tile is higher than our current dirt level, than the dirtier tile is our new destination return a dirt value based on how many times we detect dirty objects
clean_itemscalled to evaluate and clean all objects in a given tile

Var Details

cleantypes

list of garbage the cleanbot removes

Proc Details

calculategrime

holds the list of floors and dirs we use to evaluate which direction we're heading used to hold what tile in the immediate area is dirtiest used to hold the dirt value of a given tile during evaluation, which is compared with highestdirtvalue used to override destination if we detect dirt or grime nearby if the dirt value on a given tile is higher than our current dirt level, than the dirtier tile is our new destination return a dirt value based on how many times we detect dirty objects

clean_items

called to evaluate and clean all objects in a given tile