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
This commit is contained in:
Alphas00
2024-04-02 16:07:01 +02:00
parent dae2bb83a0
commit 8e038ad312
3 changed files with 55 additions and 0 deletions
@@ -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 = "<span class='notice'>You feel something growing in your mouth!</span>"
text_lose_indication = "<span class='notice'>You feel your fangs shrink away.</span>"
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("<span class='danger'>[user] nibbles [target]!</span>","<span class='userdanger'>[user] nibbles you!</span>")
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)
+1
View File
@@ -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"
+1
View File
@@ -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"