Skip to content

Commit

Permalink
bugfix: slow kits and operation desc fix (#6363)
Browse files Browse the repository at this point in the history
ext kits organ interact fix
  • Loading branch information
FlitchTime authored Jan 16, 2025
1 parent 05b73b3 commit c5caf75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/surgery/organs_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@
fail_sound = 'sound/effects/meatslap.ogg'
allowed_tools = list(
/obj/item/stack/medical/bruise_pack/advanced = 100,
/obj/item/stack/medical/bruise_pack/extended = 100,
/obj/item/stack/medical/bruise_pack = 20,
/obj/item/stack/nanopaste = 100
)
Expand All @@ -468,7 +469,7 @@
var/tool_name = "[tool]"
if(istype(tool, /obj/item/stack/medical/bruise_pack))
tool_name = "the bandaid"
if(istype(tool, /obj/item/stack/medical/bruise_pack/advanced))
if(istype(tool, /obj/item/stack/medical/bruise_pack/advanced) || istype(tool, /obj/item/stack/medical/bruise_pack/extended))
tool_name = "regenerative membrane"
else if(istype(tool, /obj/item/stack/nanopaste))
tool_name = "[tool.name]" //what else do you call nanopaste medically?
Expand Down Expand Up @@ -548,7 +549,7 @@

var/dam_amt = 2

if(istype(tool, /obj/item/stack/medical/bruise_pack/advanced))
if(istype(tool, /obj/item/stack/medical/bruise_pack/advanced) || istype(tool, /obj/item/stack/medical/bruise_pack/extended))
target.adjustToxLoss(5)

else if(istype(tool, /obj/item/stack/medical/bruise_pack) || istype(tool, /obj/item/stack/nanopaste))
Expand Down

0 comments on commit c5caf75

Please sign in to comment.