Minor surgery fixes (#44498)

This commit is contained in:
XDTM
2019-06-14 15:39:47 +02:00
committed by Emmett Gaines
parent 5fd4549805
commit 6a2dfee42e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -95,7 +95,7 @@
description = "When simple medicine doesn't cut it."
prereq_ids = list("imp_wt_surgery")
design_ids = list("surgery_lobotomy", "surgery_heal_brute_upgrade_femto","surgery_heal_burn_upgrade_femto","surgery_heal_combo","surgery_exp_dissection")
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 1500)
export_price = 4000
/datum/techweb_node/exp_surgery
+2 -2
View File
@@ -39,10 +39,10 @@
if(success)
if(target_zone == surgery.location)
if(get_location_accessible(target, target_zone) || surgery.ignore_clothes)
return initiate(user, target, target_zone, tool, surgery, try_to_fail)
initiate(user, target, target_zone, tool, surgery, try_to_fail)
else
to_chat(user, "<span class='warning'>You need to expose [target]'s [parse_zone(target_zone)] to perform surgery on it!</span>")
return TRUE //returns TRUE so we don't stab the guy in the dick or wherever.
return TRUE //returns TRUE so we don't stab the guy in the dick or wherever.
if(repeatable)
var/datum/surgery_step/next_step = surgery.get_surgery_next_step()