Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Digilegs To Three Species #117

Merged
merged 2 commits into from
Oct 1, 2024
Merged
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
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
Loading