Skip to content

Commit

Permalink
Merge pull request #49 from honkpocket/zamnthromorph
Browse files Browse the repository at this point in the history
Anthromorph species base
  • Loading branch information
Ephemeralis authored Sep 15, 2024
2 parents e8160fb + d41cae1 commit d9e701a
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 3 deletions.
2 changes: 2 additions & 0 deletions code/__DEFINES/~doppler_defines/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
#define SPECIES_FELINE_PRIMITIVE "primitive_felinid"
// Slugcats, from Talon III.
#define SPECIES_SLUGCAT "slugcat"

#define SPECIES_ANTHROMORPH "anthromorph"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion config/game_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ ROUNDSTART_RACES moth
ROUNDSTART_RACES plasmaman
#ROUNDSTART_RACES shadow
ROUNDSTART_RACES slugcat
ROUNDSTART_RACES anthromorph

## Races that are better than humans in some ways, but worse in others
ROUNDSTART_RACES ethereal
Expand Down Expand Up @@ -553,4 +554,4 @@ MAX_POSITIVE_QUIRKS 6
# A config that skews with the random spawners weights
# If the value is lower than 1, it'll tend to even out the odds
# If higher than 1, it'll lean toward common spawns even more.
RANDOM_LOOT_WEIGHT_MODIFIER 1
RANDOM_LOOT_WEIGHT_MODIFIER 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/datum/sprite_accessory/lizard_markings/anthromorph
icon = 'modular_doppler/modular_customization/accessories/icons/non_species_specific/canine/canine_markings.dmi'
name = "Anthromorph Pattern"
icon_state = "anthromorph"
gender_specific = FALSE

/datum/sprite_accessory/lizard_markings/anthromorph/no_head
name = "Anthromorph Pattern (Headless)"
icon_state = "anthromorph_n"
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
/obj/item/bodypart/head/snail
head_flags = HEAD_EYESPRITES | HEAD_DEBRAIN | HEAD_FACIAL_HAIR | HEAD_HAIR



/// Extending species to support alternate digilegs
/datum/species
var/list/digi_leg_overrides = list(
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/digitigrade,
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/digitigrade,
)

/datum/bodypart_overlay/simple/body_marking/lizard
applies_to = list(
/obj/item/bodypart/head,
/obj/item/bodypart/chest,
/obj/item/bodypart/arm/left,
/obj/item/bodypart/arm/right,
/obj/item/bodypart/leg/left,
/obj/item/bodypart/leg/right,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/mob/living/carbon/human/species/anthromorph
race = /datum/species/anthromorph

/datum/species/anthromorph
name = "\improper Anthromorph"
plural_form = "Anthromorphic"
id = SPECIES_ANTHROMORPH
inherent_traits = list(
TRAIT_MUTANT_COLORS,
)
body_markings = list(/datum/bodypart_overlay/simple/body_marking/lizard = "Anthromorph Pattern")
inherent_biotypes = MOB_ORGANIC|MOB_HUMANOID
payday_modifier = 1.0
changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_PRIDE | MIRROR_MAGIC | RACE_SWAP | ERT_SPAWN | SLIME_EXTRACT

digitigrade_customization = DIGITIGRADE_OPTIONAL
bodypart_overrides = list(
BODY_ZONE_HEAD = /obj/item/bodypart/head/anthromorph,
BODY_ZONE_CHEST = /obj/item/bodypart/chest/anthromorph,
BODY_ZONE_L_ARM = /obj/item/bodypart/arm/left/anthromorph,
BODY_ZONE_R_ARM = /obj/item/bodypart/arm/right/anthromorph,
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/anthromorph,
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/anthromorph,
)
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/anthromorph/get_species_description()
return "Nothing yet."

/datum/species/anthromorph/get_species_lore()
return list(
"Nothing yet.",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/obj/item/bodypart/head/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
eyes_icon = 'modular_doppler/modular_species/species_types/anthromorph/icons/eyes.dmi'
limb_id = SPECIES_ANTHROMORPH
is_dimorphic = FALSE

/obj/item/bodypart/chest/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/arm/left/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/arm/right/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/leg/left/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/leg/left/digitigrade/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'

/obj/item/bodypart/leg/left/digitigrade/anthromorph/update_limb(dropping_limb = FALSE, is_creating = FALSE)
. = ..()
if(limb_id == SPECIES_LIZARD)
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/leg/right/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'
limb_id = SPECIES_ANTHROMORPH

/obj/item/bodypart/leg/right/digitigrade/anthromorph
icon_greyscale = 'modular_doppler/modular_species/species_types/anthromorph/icons/bodyparts.dmi'

/obj/item/bodypart/leg/right/digitigrade/anthromorph/update_limb(dropping_limb = FALSE, is_creating = FALSE)
. = ..()
if(limb_id == SPECIES_LIZARD)
limb_id = SPECIES_ANTHROMORPH
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6633,6 +6633,7 @@
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\avian_accessories\avian_snout.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\avian_accessories\avian_tail.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\avian_accessories\avian_wings.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\canine_accessories\canine_body_markings.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\canine_accessories\canine_ears.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\canine_accessories\canine_snout.dm"
#include "modular_doppler\modular_customization\accessories\code\non_species_specific\canine_accessories\canine_tail.dm"
Expand Down Expand Up @@ -6701,6 +6702,8 @@
#include "modular_doppler\modular_mob_spawn\code\mob_spawn.dm"
#include "modular_doppler\modular_sounds\code\sounds.dm"
#include "modular_doppler\modular_species\overwrites\code\species.dm"
#include "modular_doppler\modular_species\species_types\anthromorph\anthromorph.dm"
#include "modular_doppler\modular_species\species_types\anthromorph\anthromorph_bodyparts.dm"
#include "modular_doppler\modular_species\species_types\monkey\monkeys.dm"
#include "modular_doppler\modular_species\species_types\primitive_demihuman\primitive_demihuman.dm"
#include "modular_doppler\modular_species\species_types\slugcats\slugcat.dm"
Expand Down

0 comments on commit d9e701a

Please sign in to comment.