diff --git a/code/__DEFINES/~nova_defines/traits/declarations.dm b/code/__DEFINES/~nova_defines/traits/declarations.dm index c239474aa37..b32ecd1569c 100644 --- a/code/__DEFINES/~nova_defines/traits/declarations.dm +++ b/code/__DEFINES/~nova_defines/traits/declarations.dm @@ -75,6 +75,9 @@ // avian traits #define TRAIT_AVIAN "avian_aspect" +// feathered, oculis addition +#define TRAIT_FEATHERED "featherquirk" + // chameleon mutation #define TRAIT_CHAMELEON_SKIN "chameleon_skin" diff --git a/modular_oculis/modules/featheredquirk/code/neutral.dm b/modular_oculis/modules/featheredquirk/code/neutral.dm new file mode 100644 index 00000000000..6de8884bf28 --- /dev/null +++ b/modular_oculis/modules/featheredquirk/code/neutral.dm @@ -0,0 +1,17 @@ +/datum/quirk/featherquirk + name = "Feathered" + desc = "You got feathers, wherever they are. One way or another, you drop them when hit." + mob_trait = TRAIT_FEATHERED + icon = FA_ICON_FEATHER + value = 0 +//feathered quirk, oculis addition n shit +/datum/quirk/featherquirk/add_unique(client/client_source) + var/mob/living/carbon/human/human_holder = quirk_holder + + human_holder.AddComponent(/datum/component/pinata, candy = list(/obj/item/feather)) + +/datum/quirk/featherquirk/remove() + var/mob/living/carbon/human/human_holder = quirk_holder + + var/datum/component/pinata/feathered_removal = human_holder.GetExactComponent(/datum/component/pinata) + feathered_removal.Destroy()