Skip to content

Commit

Permalink
Everyone blood bag
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 26, 2023
1 parent 66b098f commit 468fb17
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/game/objects/items/reagent_containers/blood_pack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,10 @@
update_beam()
return

if(!skillcheck(user, SKILL_SURGERY, SKILL_SURGERY_NOVICE))
to_chat(user, SPAN_WARNING("You don't know how to connect this!"))
return

if(user.action_busy)
return

if(!do_after(user, (1 SECONDS) * user.get_skill_duration_multiplier(SKILL_SURGERY), INTERRUPT_ALL, BUSY_ICON_FRIENDLY, attacked_mob, INTERRUPT_MOVED, BUSY_ICON_MEDICAL))
if(!do_after(user, skillcheck(user, SKILL_SURGERY, SKILL_SURGERY_NOVICE) ? (1 SECONDS) * user.get_skill_duration_multiplier(SKILL_SURGERY) : (8 SECONDS), INTERRUPT_ALL, BUSY_ICON_FRIENDLY, attacked_mob, INTERRUPT_MOVED, BUSY_ICON_MEDICAL))
to_chat(user, SPAN_WARNING("You were interrupted before you could finish!"))
return

Expand Down

0 comments on commit 468fb17

Please sign in to comment.