mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Spooky Scary Supreme Surgery (Rework) (#93697)
This commit is contained in:
@@ -78,7 +78,12 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
|
||||
/obj/item/disk/surgery/forgottenship
|
||||
name = "Advanced Surgery Disk"
|
||||
desc = "A disk that contains advanced surgery procedures, must be loaded into an Operating Console."
|
||||
surgeries = list(/datum/surgery/advanced/lobotomy, /datum/surgery/advanced/bioware/vein_threading, /datum/surgery/advanced/bioware/nerve_splicing)
|
||||
surgeries = list(
|
||||
/datum/surgery_operation/organ/lobotomy,
|
||||
/datum/surgery_operation/organ/lobotomy/mechanic,
|
||||
/datum/surgery_operation/limb/bioware/vein_threading,
|
||||
/datum/surgery_operation/limb/bioware/nerve_splicing,
|
||||
)
|
||||
|
||||
/obj/structure/fluff/empty_sleeper/syndicate/captain
|
||||
icon_state = "sleeper_s-open"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/obj/machinery/rnd/server/oldstation/add_context(atom/source, list/context, obj/item/held_item, mob/user)
|
||||
. = ..()
|
||||
|
||||
if(held_item && istype(held_item, /obj/item/research_notes))
|
||||
if(istype(held_item, /obj/item/research_notes))
|
||||
context[SCREENTIP_CONTEXT_LMB] = "Generate research points"
|
||||
return CONTEXTUAL_SCREENTIP_SET
|
||||
|
||||
@@ -23,16 +23,17 @@
|
||||
|
||||
. += span_notice("Insert [EXAMINE_HINT("Research Notes")] to generate points.")
|
||||
|
||||
/obj/machinery/rnd/server/oldstation/attackby(obj/item/attacking_item, mob/user, list/modifiers, list/attack_modifiers)
|
||||
if(istype(attacking_item, /obj/item/research_notes) && stored_research)
|
||||
var/obj/item/research_notes/research_notes = attacking_item
|
||||
/obj/machinery/rnd/server/oldstation/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(istype(tool, /obj/item/research_notes) && stored_research)
|
||||
var/obj/item/research_notes/research_notes = tool
|
||||
stored_research.add_point_list(list(TECHWEB_POINT_TYPE_GENERIC = research_notes.value))
|
||||
playsound(src, 'sound/machines/copier.ogg', 50, TRUE)
|
||||
qdel(research_notes)
|
||||
return
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
return ..()
|
||||
|
||||
///Ancient computer that starts with dissection to tell players they have it.
|
||||
/obj/machinery/computer/operating/oldstation
|
||||
name = "ancient operating computer"
|
||||
advanced_surgeries = list(/datum/surgery/advanced/experimental_dissection)
|
||||
advanced_surgeries = list(/datum/surgery_operation/basic/dissection)
|
||||
|
||||
Reference in New Issue
Block a user