robot_model
Definition of /obj/item/robot_model, which defines behavior for each model. Deals with the creation and deletion of modules (tools). Assigns modules and traits to a borg with a specific model selected.
Vars | |
added_modules | Modules not inherent to the robot configuration |
---|---|
allow_riding | Can we be ridden |
basic_modules | Paths of modules to be created when the model is created |
borg_skins | List of skins the borg can be reskinned to, optional |
breakable_modules | Whether the borg loses tool slots with damage. |
canDispose | Whether the borg can stuff itself into disposals |
cyborg_base_icon | Produces the icon for the borg and, if no special_light_key is set, the lights |
emag_modules | Paths of modules to be created on emagging |
hat_offset | The y offset of the hat put on |
locked_transform | Whether swapping to this configuration should lockcharge the borg |
model_select_icon | Icon of the module selection screen |
model_traits | List of traits that will be applied to the mob if this model is used. |
modules | Holds all the usable modules (tools) |
radio_channels | List of radio channels added to the cyborg |
ride_offset_x | The x offsets of a person riding the borg |
ride_offset_y | The y offsets of a person riding the borg |
robot | Host of this model |
special_light_key | If we want specific lights, use this instead of copying lights in the dmi |
storages | Storage types of the model |
Procs | |
check_menu | Checks if we are allowed to interact with a radial menu |
Var Details
added_modules
Modules not inherent to the robot configuration
allow_riding
Can we be ridden
basic_modules
Paths of modules to be created when the model is created
borg_skins
List of skins the borg can be reskinned to, optional
breakable_modules
Whether the borg loses tool slots with damage.
canDispose
Whether the borg can stuff itself into disposals
cyborg_base_icon
Produces the icon for the borg and, if no special_light_key is set, the lights
emag_modules
Paths of modules to be created on emagging
hat_offset
The y offset of the hat put on
locked_transform
Whether swapping to this configuration should lockcharge the borg
model_select_icon
Icon of the module selection screen
model_traits
List of traits that will be applied to the mob if this model is used.
modules
Holds all the usable modules (tools)
radio_channels
List of radio channels added to the cyborg
ride_offset_x
The x offsets of a person riding the borg
ride_offset_y
The y offsets of a person riding the borg
robot
Host of this model
special_light_key
If we want specific lights, use this instead of copying lights in the dmi
storages
Storage types of the model
Proc Details
check_menu
Checks if we are allowed to interact with a radial menu
Arguments:
- user The cyborg mob interacting with the menu
- old_model The old cyborg's model