Space Station 13 - Modules - TypesVar Details - Proc Details

robot

Vars

brute_modValue incoming brute damage to borgs is mutiplied by.
burn_modValue incoming burn damage to borgs is multiplied by.
floorbufferDoes it clean the tile under it?
last_camera_updateWhen the camera moved signal was send last. Avoid overdoing it
mail_destinationInteger used to determine self-mailing location, used only by drones and saboteur borgs

Procs

get_module_spritesReturns an associative list of possible borg sprites based on the selected_module.
get_module_typesReturns a list of choosable module types, associated with the module icon for the radial menu.
initialize_moduleSets up the module items and sprites for the cyborg module chosen in pick_module().
on_drop_hotkey_pressUsed in robot.dm when the user presses "Q" by default.
robot_module_hat_offsetSets the offset for a cyborg's hats based on their module icon. Borgs are grouped by similar sprites (Eg. all the Noble borgs are all the same sprite but recoloured.)
set_mail_tagSet Mail Tag
spill_upgradesTake the borg's upgrades and spill them on the floor

Var Details

brute_mod

Value incoming brute damage to borgs is mutiplied by.

burn_mod

Value incoming burn damage to borgs is multiplied by.

floorbuffer

Does it clean the tile under it?

last_camera_update

When the camera moved signal was send last. Avoid overdoing it

mail_destination

Integer used to determine self-mailing location, used only by drones and saboteur borgs

Proc Details

get_module_sprites

Returns an associative list of possible borg sprites based on the selected_module.

Key: Sprite name | Value: Sprite icon

Arguments:

get_module_types

Returns a list of choosable module types, associated with the module icon for the radial menu.

Key: Module name | Value: Module 'icon'

By default this returns the Engineering, Janitor, Medical, Mining, and Service modules. If there are any [/mob/living/silicon/robot/var/force_modules] set, then they are returned instead. If the MMI has a xenomorph brain in it ([/obj/item/mmi/var/alien]), then only the "Hunter" and standard modules is returned.

initialize_module

Sets up the module items and sprites for the cyborg module chosen in pick_module().

Arguments:

on_drop_hotkey_press

Used in robot.dm when the user presses "Q" by default.

robot_module_hat_offset

Sets the offset for a cyborg's hats based on their module icon. Borgs are grouped by similar sprites (Eg. all the Noble borgs are all the same sprite but recoloured.)

Arguments:

set_mail_tag

Set Mail Tag

spill_upgrades

Take the borg's upgrades and spill them on the floor