diff --git a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_ch.dm b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_ch.dm index 9fb52d2571..5614b93331 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_ch.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_ch.dm @@ -195,3 +195,27 @@ var/eggs = 0 src.visible_message(span_infoplain(span_red("[src] sinks their stinger into [T]!"))) T.bloodstr.add_reagent(REAGENT_ID_CONDENSEDCAPSAICINV,3) last_special = world.time + 50 // Many little jabs instead of one big one + +/mob/living/carbon/proc/toggle_growth() + set name = "Toggle Growth" + set desc = "Toggles whether excess nutrition will be used to grow you or not" + set category = "Abilities.General" + + species.grows = !species.grows + + if(species.grows) + to_chat(src, span_notice("You now grow with excess nutrition!")) + else + to_chat(src, span_notice("You no longer grow with excess nutrition.")) + +/mob/living/carbon/proc/toggle_shrinking() + set name = "Toggle Shrinking" + set desc = "Toggles whether a deficit of nutrition will cause you to shrink or not" + set category = "Abilities.General" + + species.shrinks = !species.shrinks + + if(species.shrinks) + to_chat(src, span_notice("You now shrink when not having enough nutrition!")) + else + to_chat(src, span_notice("You no longer shrink when not having enough nutrition.")) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral_ch.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral_ch.dm index f7a716f37c..5d49d7a267 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral_ch.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral_ch.dm @@ -23,12 +23,20 @@ cost = 0 var_changes = list("grows" = TRUE) +/datum/trait/neutral/nutritiongrow/apply(var/datum/species/S,var/mob/living/carbon/human/H) + ..() + add_verb(H,/mob/living/carbon/proc/toggle_growth) //CHOMPEdit TGPanel + /datum/trait/neutral/nutritionshrink name = "Shrinking" desc = "If you don't eat enough, your body starts shrinking to make up the difference!" cost = 0 var_changes = list("shrinks" = TRUE) +/datum/trait/neutral/nutritiongrow/apply(var/datum/species/S,var/mob/living/carbon/human/H) + ..() + add_verb(H,/mob/living/carbon/proc/toggle_shrinking) //CHOMPEdit TGPanel + /datum/trait/neutral/mudking name = "Mudking" desc = "Somehow you are so filthy that tiles get dirty four times as quick from you walking on them."