mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
@@ -33,3 +33,4 @@
|
|||||||
#define TRAIT_DUMB_CUM "dumb_for_cum_base"
|
#define TRAIT_DUMB_CUM "dumb_for_cum_base"
|
||||||
#define TRAIT_DUMB_CUM_CRAVE "dumb_for_cum_need"
|
#define TRAIT_DUMB_CUM_CRAVE "dumb_for_cum_need"
|
||||||
#define TRAIT_RAD_FIEND "RadFiend"
|
#define TRAIT_RAD_FIEND "RadFiend"
|
||||||
|
#define TRAIT_BODY_MORPHER "body_morpher"
|
||||||
|
|||||||
@@ -820,3 +820,29 @@
|
|||||||
var/obj/item/clothing/mask/gas/cosmetic/gasmask = new(get_turf(quirk_holder)) // Uses a custom gas mask
|
var/obj/item/clothing/mask/gas/cosmetic/gasmask = new(get_turf(quirk_holder)) // Uses a custom gas mask
|
||||||
H.equip_to_slot(gasmask, ITEM_SLOT_MASK)
|
H.equip_to_slot(gasmask, ITEM_SLOT_MASK)
|
||||||
H.regenerate_icons()
|
H.regenerate_icons()
|
||||||
|
|
||||||
|
/datum/quirk/body_morpher
|
||||||
|
name = "Body Morpher"
|
||||||
|
desc = "Somehow you developed an ability allowing your body to morph and shift itself to modify bodyparts, much like a slimeperson can."
|
||||||
|
value = 0
|
||||||
|
mob_trait = TRAIT_BODY_MORPHER
|
||||||
|
gain_text = span_notice("Your body feels more malleable...")
|
||||||
|
lose_text = span_notice("Your body is more firm.")
|
||||||
|
medical_record_text = "Patient's body seems unusually malleable."
|
||||||
|
var/datum/action/innate/ability/humanoid_customization/alter_form_action
|
||||||
|
|
||||||
|
/datum/quirk/body_morpher/add()
|
||||||
|
// Define quirk mob
|
||||||
|
var/mob/living/carbon/human/quirk_mob = quirk_holder
|
||||||
|
|
||||||
|
// Add quirk ability action datum
|
||||||
|
alter_form_action = new
|
||||||
|
alter_form_action.Grant(quirk_mob)
|
||||||
|
|
||||||
|
/datum/quirk/body_morpher/remove()
|
||||||
|
// Define quirk mob
|
||||||
|
var/mob/living/carbon/human/quirk_mob = quirk_holder
|
||||||
|
|
||||||
|
// Remove quirk ability action datum
|
||||||
|
alter_form_action.Remove(quirk_mob)
|
||||||
|
QDEL_NULL(alter_form_action)
|
||||||
|
|||||||
Reference in New Issue
Block a user