Skip to content

Commit

Permalink
Merge pull request #117 from Nerev4r/legsohothothotleg
Browse files Browse the repository at this point in the history
Adds Digilegs To Three Species
  • Loading branch information
carpotoxin authored Oct 1, 2024
2 parents 25c0dc6 + b94ed96 commit d6935cb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/~doppler_defines/is_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#define issnail(A) (is_species(A, /datum/species/snail))
#define ishemophage(A) (is_species(A, /datum/species/genemod/hemophage))
//Species with green blood
#define hasgreenblood(A) (isinsectoid(A) || HAS_TRAIT(A, TRAIT_GREEN_BLOOD))
#define hasgreenblood(A) (isinsectoid(A) || issnail(A) || HAS_TRAIT(A, TRAIT_GREEN_BLOOD))
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
)
changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_PRIDE | MIRROR_MAGIC | RACE_SWAP | ERT_SPAWN | SLIME_EXTRACT

digitigrade_customization = DIGITIGRADE_OPTIONAL
digi_leg_overrides = list(
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/digitigrade/anthromorph,
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/digitigrade/anthromorph,
)

/datum/outfit/genemod_preview
name = "Gene-Mod (Species Preview)"
uniform = /obj/item/clothing/under/dress/sundress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
examine_limb_id = SPECIES_HUMAN
skinned_type = /obj/item/stack/sheet/animalhide/human

digitigrade_customization = DIGITIGRADE_OPTIONAL
digi_leg_overrides = list(
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/digitigrade/anthromorph,
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/digitigrade/anthromorph,
)

/datum/species/genemod/hemophage/check_roundstart_eligible()
if(check_holidays(HALLOWEEN))
return TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
/datum/species/snail
mutantliver = /obj/item/organ/internal/liver/snail //This is just a better liver to deal with toxins, it's a thematic thing.
mutantheart = /obj/item/organ/internal/heart/snail //This gives them the shell buff where they take less damage from behind, and their heart's more durable.
exotic_blood = null
exotic_blood = /datum/reagent/blood/green
exotic_bloodtype = "I*"

digitigrade_customization = DIGITIGRADE_OPTIONAL
digi_leg_overrides = list(
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/digitigrade/insectoid,
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/digitigrade/insectoid,
)

/datum/species/snail/on_species_gain(mob/living/carbon/new_snailperson, datum/species/old_species, pref_load)
. = ..()
Expand Down

0 comments on commit d6935cb

Please sign in to comment.