From 2146cc88ba9b5eb0056bd1485d40f98c9c8d45b3 Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Sun, 8 Sep 2024 20:25:00 +0100 Subject: [PATCH] Allows hanner to take some positive traits at cost Added aquatic, hard feet, silk weaver and cocoon weaver as a possible traits for hanner, just in case they are from a parent species that is appropriate for. Unlike xenochimera, hanner will have to pay for these traits with points. --- .../carbon/human/species/station/traits_vr/positive.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/positive.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/positive.dm index a9b6c0a495f..72b3f49626c 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/positive.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/positive.dm @@ -140,6 +140,8 @@ name = "Hard Feet" desc = "Makes your nice clawed, scaled, hooved, armored, or otherwise just awfully calloused feet immune to glass shards." cost = 0 + allowed_species = list(SPECIES_HANNER, SPECIES_CUSTOM) //So it only shows up for custom species and hanner + custom_only = FALSE var_changes = list("flags" = NO_MINOR_CUT) //Checked the flag is only used by shard stepping. /datum/trait/positive/antiseptic_saliva @@ -170,6 +172,8 @@ desc = "You can produce silk and create various articles of clothing and objects." cost = 2 var_changes = list("is_weaver" = 1) + allowed_species = list(SPECIES_HANNER, SPECIES_CUSTOM) //So it only shows up for custom species and hanner + custom_only = FALSE has_preferences = list("silk_production" = list(TRAIT_PREF_TYPE_BOOLEAN, "Silk production on spawn", TRAIT_VAREDIT_TARGET_SPECIES), \ "silk_color" = list(TRAIT_PREF_TYPE_COLOR, "Silk color", TRAIT_VAREDIT_TARGET_SPECIES)) @@ -186,6 +190,8 @@ desc = "You can breathe under water and can traverse water more efficiently. Additionally, you can eat others in the water." cost = 1 var_changes = list("water_breather" = 1, "water_movement" = -4) //Negate shallow water. Half the speed in deep water. + allowed_species = list(SPECIES_HANNER, SPECIES_CUSTOM) //So it only shows up for custom species and hanner + custom_only = FALSE /datum/trait/positive/aquatic/apply(var/datum/species/S,var/mob/living/carbon/human/H) ..() @@ -196,6 +202,8 @@ name = "Cocoon Spinner" desc = "Allows you to build a cocoon around yourself, using it to transform your body if you desire." cost = 1 + allowed_species = list(SPECIES_HANNER, SPECIES_CUSTOM) //So it only shows up for custom species and hanner + custom_only = FALSE /datum/trait/positive/cocoon_tf/apply(var/datum/species/S,var/mob/living/carbon/human/H) ..()