File tree Expand file tree Collapse file tree
code/modules/mob/living/silicon Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 enable_text = span_notice(" You prepare to power any APC you see." )
1515 disable_text = span_notice(" You stop focusing on powering APCs." )
1616
17- / datum / action/ innate/ ai/ ranged/ power_apc/ do_ability( mob / living/ caller , atom / clicked_on)
17+ / datum / action/ innate/ ai/ ranged/ power_apc/ do_ability( mob / living/ clicker , atom / clicked_on)
1818
19- if (! isAI(caller ))
19+ if (! isAI(clicker ))
2020 return FALSE
21- var /mob /living/silicon/ai/ai_caller = caller
21+ var /mob /living/silicon/ai/ai_caller = clicker
2222
23- if (caller . incapacitated()) // Non-module change
24- unset_ranged_ability (caller )
23+ if (ai_caller . incapacitated()) // Non-module change
24+ unset_ranged_ability (ai_caller )
2525 return FALSE
2626
2727 if (! isapc(clicked_on))
3636 var /obj /item/stock_parts/power_store/cell = apc. get_cell()
3737 cell. give(STANDARD_BATTERY_CHARGE )
3838 ai_caller. battery -= 50
39-
40-
41-
Original file line number Diff line number Diff line change 360360 add_overlay (eye_lights)
361361 return .. ()
362362
363- / mob / living/ silicon/ robot/ proc / self_destruct( mob / usr )
363+ / mob / living/ silicon/ robot/ proc / self_destruct( mob / user )
364364 var /turf /groundzero = get_turf(src )
365- message_admins (span_notice(" [ ADMIN_LOOKUPFLW (usr )] detonated [ key_name_admin(src , client)] at [ ADMIN_VERBOSEJMP (groundzero)] !" ))
366- usr . log_message(" detonated [ key_name(src )] !" , LOG_ATTACK )
367- log_message (" was detonated by [ key_name(usr )] !" , LOG_ATTACK , log_globally = FALSE )
365+ message_admins (span_notice(" [ ADMIN_LOOKUPFLW (user )] detonated [ key_name_admin(src , client)] at [ ADMIN_VERBOSEJMP (groundzero)] !" ))
366+ user . log_message(" detonated [ key_name(src )] !" , LOG_ATTACK )
367+ log_message (" was detonated by [ key_name(user )] !" , LOG_ATTACK , log_globally = FALSE )
368368
369- log_combat (usr , src , " detonated cyborg" )
370- log_silicon (" CYBORG: [ key_name(src )] has been detonated by [ key_name(usr )] ." )
369+ log_combat (user , src , " detonated cyborg" )
370+ log_silicon (" CYBORG: [ key_name(src )] has been detonated by [ key_name(user )] ." )
371371 if (connected_ai)
372372 to_chat (connected_ai, " <br><br>[ span_alert(" ALERT - Cyborg detonation detected: [ name] " )] <br>" )
373373
You can’t perform that action at this time.
0 commit comments