From bfbf69b908334bd4b6d9b42e8ae7b3ffc79a5f27 Mon Sep 17 00:00:00 2001 From: Waterpig <49160555+Majkl-J@users.noreply.github.com> Date: Thu, 26 Oct 2023 00:52:34 +0200 Subject: [PATCH] [FULLY MODULAR] New quirk: Hungry (#604) ## About The Pull Request Adds a new neutral quirk, hungry, with the current effect of doubling the decay of one's nutrition. Neutral because Moffy told me to make it so, might make it a -1 or add something positive to it if others have a different opinion. ## Why It's Good For The Game Even more reason to interact with the kitchen for those who take this quirk. Please take it I need someone to talk to ![image](https://github.com/Bubberstation/Bubberstation/assets/49160555/01e1ef13-f425-49ed-9fbb-81e3b387d824) This is not a quirk for those fat fetishists to abuse like some of you claimed, they already have their one ## Changelog :cl: add: New quirk: Hungry /:cl: --- .../datums/quirks/neutral_quirks/hungry.dm | 24 +++++++++++++++++++ tgstation.dme | 1 + 2 files changed, 25 insertions(+) create mode 100644 modular_zubbers/code/datums/quirks/neutral_quirks/hungry.dm diff --git a/modular_zubbers/code/datums/quirks/neutral_quirks/hungry.dm b/modular_zubbers/code/datums/quirks/neutral_quirks/hungry.dm new file mode 100644 index 00000000000..a7a82613d38 --- /dev/null +++ b/modular_zubbers/code/datums/quirks/neutral_quirks/hungry.dm @@ -0,0 +1,24 @@ +#define QUIRK_HUNGRY_MOD 2 + +/datum/quirk/item_quirk/hungry + name = "Hungry" + desc = "For some reason, you get hungrier faster than others" + value = 0 + icon = FA_ICON_BOWL_FOOD + gain_text = span_notice("You feel like your stomach is bottomless") + lose_text = span_notice("You no longer feel like your stomach is bottomless") + medical_record_text = "Patient exhibits a significantly faster metabolism" + quirk_flags = QUIRK_HUMAN_ONLY + mail_goodies = list(/obj/item/food/chips) + +/datum/quirk/item_quirk/hungry/add(client/client_source) + var/mob/living/carbon/human/H = quirk_holder + if(istype(H)) + H.physiology.hunger_mod *= QUIRK_HUNGRY_MOD + +/datum/quirk/item_quirk/hungry/remove() + var/mob/living/carbon/human/H = quirk_holder + if(istype(H)) + H.physiology.hunger_mod /= QUIRK_HUNGRY_MOD + +#undef QUIRK_HUNGRY_MOD diff --git a/tgstation.dme b/tgstation.dme index 87763f4d80c..9295fc633ad 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -7730,6 +7730,7 @@ #include "modular_zubbers\code\datums\computer_datums\protolathe_modifications.dm" #include "modular_zubbers\code\datums\diseases\advance\presets.dm" #include "modular_zubbers\code\datums\id_trim\jobs.dm" +#include "modular_zubbers\code\datums\quirks\neutral_quirks\hungry.dm" #include "modular_zubbers\code\datums\shuttle\arena.dm" #include "modular_zubbers\code\datums\shuttles\emergency.dm" #include "modular_zubbers\code\datums\votes\map_vote.dm"