From 8e038ad312a44ceafd66c86c6daeada78d37b0aa Mon Sep 17 00:00:00 2001
From: Alphas00 <154434082+Alphas00@users.noreply.github.com>
Date: Tue, 2 Apr 2024 16:07:01 +0200
Subject: [PATCH] Added The Nibble mutation
Added The Nibble (fatfang in the code) mutationan action that lets characters touch others to "bite" them, injecting a small amount of lipoifier
---
.../code/datums/mutations/fatfang.dm | 53 +++++++++++++++++++
code/__DEFINES/DNA.dm | 1 +
tgstation.dme | 1 +
3 files changed, 55 insertions(+)
create mode 100644 GainStation13/code/datums/mutations/fatfang.dm
diff --git a/GainStation13/code/datums/mutations/fatfang.dm b/GainStation13/code/datums/mutations/fatfang.dm
new file mode 100644
index 00000000..512690ff
--- /dev/null
+++ b/GainStation13/code/datums/mutations/fatfang.dm
@@ -0,0 +1,53 @@
+/datum/mutation/human/fatfang
+ name = "The Nibble"
+ desc = "A rare mutation that grows a pair of fangs in the user's mouth that inject a chemical that develops the target's adipose tissue."
+ quality = POSITIVE
+ text_gain_indication = "You feel something growing in your mouth!"
+ text_lose_indication = "You feel your fangs shrink away."
+ difficulty = 8
+ power = /obj/effect/proc_holder/spell/targeted/touch/fatfang
+ instability = 10
+ energy_coeff = 1
+
+/obj/effect/proc_holder/spell/targeted/touch/fatfang
+ name = "The Nibble"
+ desc = "Draw out fangs that inject fattening venom"
+ drawmessage = "You draw out your fangs."
+ dropmessage = "You retract your fangs."
+ hand_path = /obj/item/melee/touch_attack/fatfang
+ action_icon = 'icons/mob/actions/bloodsucker.dmi'
+ action_icon_state = "power_feed"
+ charge_max = 50
+ clothes_req = FALSE
+
+/obj/item/melee/touch_attack/fatfang
+ name = "\improper fattening fangs"
+ desc = "Fangs armed with a venom most ample."
+ catchphrase = null
+ icon = 'icons/mob/actions/bloodsucker.dmi'
+ icon_state = "power_feed"
+ ///How much weight is added?
+ var/chem_to_add = 5
+ ///What verb is used for the spell?
+
+/obj/item/melee/touch_attack/fatfang/afterattack(atom/target, mob/living/carbon/user, proximity)
+ if(!proximity || !iscarbon(target) || target == user)
+ return FALSE
+
+ if(!target || !chem_to_add)
+ return FALSE
+
+ target.reagents.add_reagent(/datum/reagent/consumable/lipoifier, 5)
+
+ target.visible_message("[user] nibbles [target]!","[user] nibbles you!")
+ return ..()
+
+/obj/item/dnainjector/antifang
+ name = "\improper DNA injector (Anti-The Nibble)"
+ desc = "By the power of sugar, their fangs shall fall."
+ remove_mutations = list(FATFANG)
+
+/obj/item/dnainjector/fatfang
+ name = "\improper DNA injector (The Nibble)"
+ desc = "Give 'em just a teeny tiny bite."
+ add_mutations = list(FATFANG)
diff --git a/code/__DEFINES/DNA.dm b/code/__DEFINES/DNA.dm
index 9a066493..3ca4e91c 100644
--- a/code/__DEFINES/DNA.dm
+++ b/code/__DEFINES/DNA.dm
@@ -42,6 +42,7 @@
#define ANTENNA /datum/mutation/human/antenna
#define PARANOIA /datum/mutation/human/paranoia
#define MINDREAD /datum/mutation/human/mindreader
+#define FATFANG /datum/mutation/human/fatfang
#define UI_CHANGED "ui changed"
#define UE_CHANGED "ue changed"
diff --git a/tgstation.dme b/tgstation.dme
index efd12171..5355c6fd 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -3075,6 +3075,7 @@
#include "GainStation13\code\clothing\calorite_collar.dm"
#include "GainStation13\code\clothing\haydee_suit.dm"
#include "GainStation13\code\datums\components\fattening_door.dm"
+#include "GainStation13\code\datums\mutations\fatfang.dm"
#include "GainStation13\code\datums\status_effects\fatstun.dm"
#include "GainStation13\code\game\lore_papers.dm"
#include "GainStation13\code\game\sound.dm"