robot_suit ![code/game/objects/items/robot/robot_parts.dm 5](git.png)
Vars | |
aisync | If the cyborg starts with a master AI |
---|---|
chest | Chest part of this endoskeleton |
created_name | Forced name of the cyborg |
forced_ai | Forced master AI of the cyborg |
forced_ai_name | The name of the AI being forced, tracked separately to above so we can reference handle without worrying about making "AI got gibbed" detectors |
head | Head part of this endoskeleton |
l_arm | Left arm part of the endoskeleton |
l_leg | Left leg part of this endoskeleton |
lawsync | If the cyborg synchronizes its laws with its master AI |
locomotion | If the cyborg starts movement free and not under lockdown |
panel_locked | If the cyborg's cover panel starts locked |
r_arm | Right arm part of the endoskeleton |
r_leg | Right leg part of this endoskeleton |
Procs | |
ai_die | Clears the forced_ai ref |
clear_forced_ai | Clears [forced_ai] and [forced_ai_name] |
drop_all_parts | Drops all included parts to the passed location This will also dissassemble the parts being dropped into components as well |
set_forced_ai | Sets [forced_ai] and [forced_ai_name] to the passed AI |
Var Details
aisync ![code/game/objects/items/robot/robot_parts.dm 36](git.png)
If the cyborg starts with a master AI
chest ![code/game/objects/items/robot/robot_parts.dm 19](git.png)
Chest part of this endoskeleton
created_name ![code/game/objects/items/robot/robot_parts.dm 23](git.png)
Forced name of the cyborg
forced_ai ![code/game/objects/items/robot/robot_parts.dm 26](git.png)
Forced master AI of the cyborg
forced_ai_name ![code/game/objects/items/robot/robot_parts.dm 29](git.png)
The name of the AI being forced, tracked separately to above so we can reference handle without worrying about making "AI got gibbed" detectors
head ![code/game/objects/items/robot/robot_parts.dm 21](git.png)
Head part of this endoskeleton
l_arm ![code/game/objects/items/robot/robot_parts.dm 11](git.png)
Left arm part of the endoskeleton
l_leg ![code/game/objects/items/robot/robot_parts.dm 15](git.png)
Left leg part of this endoskeleton
lawsync ![code/game/objects/items/robot/robot_parts.dm 34](git.png)
If the cyborg synchronizes its laws with its master AI
locomotion ![code/game/objects/items/robot/robot_parts.dm 32](git.png)
If the cyborg starts movement free and not under lockdown
panel_locked ![code/game/objects/items/robot/robot_parts.dm 38](git.png)
If the cyborg's cover panel starts locked
r_arm ![code/game/objects/items/robot/robot_parts.dm 13](git.png)
Right arm part of the endoskeleton
r_leg ![code/game/objects/items/robot/robot_parts.dm 17](git.png)
Right leg part of this endoskeleton
Proc Details
ai_die
Clears the forced_ai ref
clear_forced_ai
Clears [forced_ai] and [forced_ai_name]
drop_all_parts
Drops all included parts to the passed location This will also dissassemble the parts being dropped into components as well
set_forced_ai
Sets [forced_ai] and [forced_ai_name] to the passed AI