Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/__DEFINES/~nova_defines/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
17 changes: 17 additions & 0 deletions modular_oculis/modules/featheredquirk/code/neutral.dm
Original file line number Diff line number Diff line change
@@ -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()
Loading