From 9a317206925b3b53a5c47a6298af8b843f1571d5 Mon Sep 17 00:00:00 2001 From: wshuwshuwshi <91352251+wshuwshuwshi@users.noreply.github.com> Date: Sat, 23 Nov 2024 02:42:32 -0700 Subject: [PATCH 1/3] Update path.dm Adds litany to summon medtool --- .../core_implant/cruciform/rituals/path.dm | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/code/modules/core_implant/cruciform/rituals/path.dm b/code/modules/core_implant/cruciform/rituals/path.dm index 30a2f5618a9..c644a3a72b7 100644 --- a/code/modules/core_implant/cruciform/rituals/path.dm +++ b/code/modules/core_implant/cruciform/rituals/path.dm @@ -161,6 +161,33 @@ return TRUE +/datum/ritual/cruciform/tessellate/omnitool + name = "Touch of the Bleeding-Heart" + phrase = "Exaudi clamorem meum, et amplius noli pati." //"Hear my cry, and suffer no more." + desc = "Channels the power of your cruciform into an incorporeal omnitool." + power = 40 + cooldown = TRUE + cooldown_time = 2 MINUTES + cooldown_category = "omnitool_litany" + success_message = "Your hand glows with holy light, and you feel more in tune with the workings of flesh." + +/datum/ritual/cruciform/tessellate/omnitool/perform(mob/living/carbon/human/user, obj/item/implant/core_implant/cruciform/C) + var/stat_bio = 25 + var/stat_cog = 25 + var/obj/item/tool/tessellate_omni/tool = new /obj/item/tool/tessellate_omni(src, user) + if (user.stats.getStat(STAT_BIO) > 32) + stat_bio = user.stats.getStat(STAT_BIO) * 0.8 + if (user.stats.getStat(STAT_BIO) > 62) + stat_bio = 50 + if (user.stats.getStat(STAT_COG) > 32) + stat_cog = user.stats.getStat(STAT_COG) * 0.8 + if (user.stats.getStat(STAT_COG) > 62) + stat_cog = 50 + tool.tool_qualities = list(QUALITY_CLAMPING = stat_bio, QUALITY_CAUTERIZING = stat_bio, QUALITY_RETRACTING = stat_bio, QUALITY_DRILLING = stat_cog, QUALITY_SAWING = stat_cog, QUALITY_BONE_SETTING = stat_bio, QUALITY_CUTTING = stat_cog, QUALITY_BONE_GRAFTING = stat_bio) + usr.put_in_active_hand(tool) + set_personal_cooldown(user) + return TRUE + ////////////////////////////////////////////////// ///////// LEMNISCATE ///////// ////////////////////////////////////////////////// From 27ec545a5a22fa28fbcd99f5063f5d325104d412 Mon Sep 17 00:00:00 2001 From: wshuwshuwshi <91352251+wshuwshuwshi@users.noreply.github.com> Date: Sat, 23 Nov 2024 02:43:17 -0700 Subject: [PATCH 2/3] Update misc.dm Adds the actual medtool --- code/game/objects/items/weapons/tools/misc.dm | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/code/game/objects/items/weapons/tools/misc.dm b/code/game/objects/items/weapons/tools/misc.dm index 09647e3972b..050782ed73a 100644 --- a/code/game/objects/items/weapons/tools/misc.dm +++ b/code/game/objects/items/weapons/tools/misc.dm @@ -273,3 +273,34 @@ STOP_PROCESSING(SSobj, src) qdel(src) return + +/obj/item/tool/tessellate_omni + name = "blessed touch" + desc = "Through the compassionate prayer, a Tessellate can ply and mend broken flesh, albeit not quite as effectively as actual tools." + icon_state = "fact_omni" + force = WEAPON_FORCE_DANGEROUS + worksound = WORKSOUND_DRIVER_TOOL + w_class = ITEM_SIZE_HUGE + slot_flags = null + sanctified = TRUE //Isn't affected by the general Absolutist speed penalty, still has its slow workspseed + flags = CONDUCT + tool_qualities = list(QUALITY_CLAMPING = 30, QUALITY_CAUTERIZING = 30, QUALITY_RETRACTING = 30, QUALITY_DRILLING = 30, QUALITY_SAWING = 30, QUALITY_BONE_SETTING = 30, QUALITY_CUTTING = 30, QUALITY_BONE_GRAFTING = 30) + no_double_tact = TRUE + degradation = 0 + workspeed = 0.8 + max_upgrades = 0 // Can't upgrade it + price_tag = 0 + var/mob/living/carbon/holder // The one that summoned the tool + +/obj/item/tool/tessellate_omni/New(var/loc, var/mob/living/carbon/Maker) + ..() + holder = Maker + START_PROCESSING(SSobj, src) + +/obj/item/tool/tessellate_omni/Process() + ..() + if(loc != holder) // We're no longer in the owner's hand. + visible_message("The [src.name] fades into nothingness.") + STOP_PROCESSING(SSobj, src) + qdel(src) + return From 8d9dc9eb74a747564219feab88939fa5900d3d23 Mon Sep 17 00:00:00 2001 From: Trilbyspaceclone <30435998+Trilbyspaceclone@users.noreply.github.com> Date: Sat, 30 Nov 2024 10:50:13 -0500 Subject: [PATCH 3/3] Update code/game/objects/items/weapons/tools/misc.dm Co-authored-by: Smokingsquirrel <62299539+Smokingsquirrel@users.noreply.github.com> --- code/game/objects/items/weapons/tools/misc.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/tools/misc.dm b/code/game/objects/items/weapons/tools/misc.dm index 050782ed73a..5a1f807635f 100644 --- a/code/game/objects/items/weapons/tools/misc.dm +++ b/code/game/objects/items/weapons/tools/misc.dm @@ -275,7 +275,7 @@ return /obj/item/tool/tessellate_omni - name = "blessed touch" + name = "mending touch" desc = "Through the compassionate prayer, a Tessellate can ply and mend broken flesh, albeit not quite as effectively as actual tools." icon_state = "fact_omni" force = WEAPON_FORCE_DANGEROUS