Skip to content

Commit

Permalink
tweak(surgery): cyborg special item override
Browse files Browse the repository at this point in the history
PR ChaoticOnyx#10843
- Борги обратно научились резать почки.
  • Loading branch information
Doster-d authored Nov 1, 2023
1 parent d8981a8 commit d9d39e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/modules/mob/living/silicon/robot/robot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,16 @@
/mob/living/silicon/robot/proc/radio_menu()
silicon_radio.interact(src)//Just use the radio's Topic() instead of bullshit special-snowflake code

/mob/living/silicon/robot/get_active_item()
var/obj/item/I = ..()
var/obj/item/gripper/grip = I
if(istype(grip))
return grip.wrapped
var/obj/item/surgical_selector/SS = I
if(istype(SS))
return SS.selected_tool
return I


/mob/living/silicon/robot/Move(a, b, flag)

Expand Down

0 comments on commit d9d39e9

Please sign in to comment.