This commit is contained in:
Timothy Teakettle
2020-08-21 21:08:17 +01:00
parent 709ddb4e58
commit cbe9d05fb6
14 changed files with 16 additions and 12 deletions

View File

@@ -64,7 +64,6 @@
#define DEFAULT_BODYPART_ICON 'icons/mob/human_parts.dmi' #define DEFAULT_BODYPART_ICON 'icons/mob/human_parts.dmi'
#define DEFAULT_BODYPART_ICON_ORGANIC 'icons/mob/human_parts_greyscale.dmi' #define DEFAULT_BODYPART_ICON_ORGANIC 'icons/mob/human_parts_greyscale.dmi'
#define DEFAULT_BODYPART_ICON_ROBOTIC 'icons/mob/augmentation/augments.dmi' #define DEFAULT_BODYPART_ICON_ROBOTIC 'icons/mob/augmentation/augments.dmi'
#define DEFAULT_BODYPART_ICON_CITADEL 'modular_citadel/icons/mob/mutant_bodyparts.dmi'
#define MONKEY_BODYPART "monkey" #define MONKEY_BODYPART "monkey"
#define ALIEN_BODYPART "alien" #define ALIEN_BODYPART "alien"
@@ -333,4 +332,4 @@
/// If you examine the same atom twice in this timeframe, we call examine_more() instead of examine() /// If you examine the same atom twice in this timeframe, we call examine_more() instead of examine()
#define EXAMINE_MORE_TIME 1 SECONDS #define EXAMINE_MORE_TIME 1 SECONDS
#define SILENCE_RANGED_MESSAGE (1<<0) #define SILENCE_RANGED_MESSAGE (1<<0)

View File

@@ -278,3 +278,6 @@ GLOBAL_LIST_INIT(all_mutant_parts, list("tail_lizard" = "Tail", "mam_tail" = "Ta
GLOBAL_LIST_INIT(unlocked_mutant_parts, list("horns", "insect_fluff")) GLOBAL_LIST_INIT(unlocked_mutant_parts, list("horns", "insect_fluff"))
//parts in either of the above two lists that require a second option that allows them to be coloured //parts in either of the above two lists that require a second option that allows them to be coloured
GLOBAL_LIST_INIT(colored_mutant_parts, list("insect_wings" = "wings_color", "deco_wings" = "wings_color", "horns" = "horns_color")) GLOBAL_LIST_INIT(colored_mutant_parts, list("insect_wings" = "wings_color", "deco_wings" = "wings_color", "horns" = "horns_color"))
//species ids that have greyscale sprites
GLOBAL_LIST_INIT(greyscale_limb_types, list("lizard","pod","plant","jelly","slime","golem","lum","stargazer","mush","ethereal","snail","c_golem","b_golem","mammal","xeno","ipc","insect","synthliz","avian"))

View File

@@ -13,10 +13,11 @@
meat = /obj/item/reagent_containers/food/snacks/meat/slab/human/mutant/insect meat = /obj/item/reagent_containers/food/snacks/meat/slab/human/mutant/insect
liked_food = MEAT | FRUIT liked_food = MEAT | FRUIT
disliked_food = TOXIC disliked_food = TOXIC
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
exotic_bloodtype = "BUG" exotic_bloodtype = "BUG"
exotic_blood_color = BLOOD_COLOR_BUG exotic_blood_color = BLOOD_COLOR_BUG
tail_type = "mam_tail" tail_type = "mam_tail"
wagging_type = "mam_waggingtail" wagging_type = "mam_waggingtail"
species_type = "insect" species_type = "insect"
allowed_limb_ids = list("insect","apid")

View File

@@ -2,7 +2,6 @@
name = "Anthromorph" name = "Anthromorph"
id = "mammal" id = "mammal"
default_color = "4B4B4B" default_color = "4B4B4B"
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
species_traits = list(MUTCOLORS,EYECOLOR,LIPS,HAIR,HORNCOLOR,WINGCOLOR,HAS_FLESH,HAS_BONE) species_traits = list(MUTCOLORS,EYECOLOR,LIPS,HAIR,HORNCOLOR,WINGCOLOR,HAS_FLESH,HAS_BONE)
inherent_biotypes = MOB_ORGANIC|MOB_HUMANOID|MOB_BEAST inherent_biotypes = MOB_ORGANIC|MOB_HUMANOID|MOB_BEAST
mutant_bodyparts = list("mcolor" = "FFFFFF","mcolor2" = "FFFFFF","mcolor3" = "FFFFFF", "mam_snouts" = "Husky", "mam_tail" = "Husky", "mam_ears" = "Husky", "deco_wings" = "None", mutant_bodyparts = list("mcolor" = "FFFFFF","mcolor2" = "FFFFFF","mcolor3" = "FFFFFF", "mam_snouts" = "Husky", "mam_tail" = "Husky", "mam_ears" = "Husky", "deco_wings" = "None",
@@ -18,4 +17,4 @@
wagging_type = "mam_waggingtail" wagging_type = "mam_waggingtail"
species_type = "furry" species_type = "furry"
allowed_limb_ids = list("lizard","pod","mammal","human","insect") allowed_limb_ids = list("mammal","squid","apid")

View File

@@ -3,7 +3,6 @@
id = "ipc" id = "ipc"
say_mod = "beeps" say_mod = "beeps"
default_color = "00FF00" default_color = "00FF00"
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
blacklisted = 0 blacklisted = 0
sexes = 0 sexes = 0
species_traits = list(MUTCOLORS,NOEYES,NOTRANSSTING,HAS_FLESH,HAS_BONE) species_traits = list(MUTCOLORS,NOEYES,NOTRANSSTING,HAS_FLESH,HAS_BONE)

View File

@@ -21,6 +21,8 @@
species_type = "plant" species_type = "plant"
allowed_limb_ids = list("pod","mush")
/datum/species/pod/on_species_gain(mob/living/carbon/C, datum/species/old_species) /datum/species/pod/on_species_gain(mob/living/carbon/C, datum/species/old_species)
. = ..() . = ..()
C.faction |= "plants" C.faction |= "plants"

View File

@@ -1,7 +1,6 @@
/datum/species/synthliz /datum/species/synthliz
name = "Synthetic Lizardperson" name = "Synthetic Lizardperson"
id = "synthliz" id = "synthliz"
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
say_mod = "beeps" say_mod = "beeps"
default_color = "00FF00" default_color = "00FF00"
species_traits = list(MUTCOLORS,NOTRANSSTING,EYECOLOR,LIPS,HAIR,HAS_FLESH,HAS_BONE) species_traits = list(MUTCOLORS,NOTRANSSTING,EYECOLOR,LIPS,HAIR,HAS_FLESH,HAS_BONE)

View File

@@ -61,7 +61,7 @@
mutant_organs = S.mutant_organs.Copy() mutant_organs = S.mutant_organs.Copy()
nojumpsuit = S.nojumpsuit nojumpsuit = S.nojumpsuit
no_equip = S.no_equip.Copy() no_equip = S.no_equip.Copy()
limbs_id = S.limbs_id limbs_id = S.mutant_bodyparts["limbs_id"]
use_skintones = S.use_skintones use_skintones = S.use_skintones
fixed_mut_color = S.fixed_mut_color fixed_mut_color = S.fixed_mut_color
hair_color = S.hair_color hair_color = S.hair_color

View File

@@ -4,7 +4,6 @@
id = "xeno" id = "xeno"
say_mod = "hisses" say_mod = "hisses"
default_color = "00FF00" default_color = "00FF00"
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
species_traits = list(MUTCOLORS,EYECOLOR,LIPS,CAN_SCAR) species_traits = list(MUTCOLORS,EYECOLOR,LIPS,CAN_SCAR)
mutant_bodyparts = list("xenotail"="Xenomorph Tail","xenohead"="Standard","xenodorsal"="Standard", "mam_body_markings" = "Xeno","mcolor" = "0F0","mcolor2" = "0F0","mcolor3" = "0F0","taur" = "None", "legs" = "Digitigrade") mutant_bodyparts = list("xenotail"="Xenomorph Tail","xenohead"="Standard","xenodorsal"="Standard", "mam_body_markings" = "Xeno","mcolor" = "0F0","mcolor2" = "0F0","mcolor3" = "0F0","taur" = "None", "legs" = "Digitigrade")
attack_verb = "slash" attack_verb = "slash"

View File

@@ -599,6 +599,7 @@
var/datum/species/S = H.dna.species var/datum/species/S = H.dna.species
base_bp_icon = S?.icon_limbs || DEFAULT_BODYPART_ICON base_bp_icon = S?.icon_limbs || DEFAULT_BODYPART_ICON
species_id = S.mutant_bodyparts["limbs_id"] species_id = S.mutant_bodyparts["limbs_id"]
message_admins("limbs is [species_id]")
species_flags_list = H.dna.species.species_traits species_flags_list = H.dna.species.species_traits
//body marking memes //body marking memes
@@ -613,7 +614,8 @@
if(S.use_skintones) if(S.use_skintones)
skin_tone = H.skin_tone skin_tone = H.skin_tone
base_bp_icon = (base_bp_icon == DEFAULT_BODYPART_ICON) ? DEFAULT_BODYPART_ICON_ORGANIC : base_bp_icon if(GLOB.greyscale_limb_types[species_id]) //dont try giving species greyscale sprites if they can't have them, please.
base_bp_icon = (base_bp_icon == DEFAULT_BODYPART_ICON) ? DEFAULT_BODYPART_ICON_ORGANIC : base_bp_icon
else else
skin_tone = "" skin_tone = ""
@@ -626,7 +628,8 @@
species_color = S.fixed_mut_color species_color = S.fixed_mut_color
else else
species_color = H.dna.features["mcolor"] species_color = H.dna.features["mcolor"]
base_bp_icon = (base_bp_icon == DEFAULT_BODYPART_ICON) ? DEFAULT_BODYPART_ICON_ORGANIC : base_bp_icon if(GLOB.greyscale_limb_types[species_id]) //dont try giving species greyscale sprites if they can't have them, please.
base_bp_icon = (base_bp_icon == DEFAULT_BODYPART_ICON) ? DEFAULT_BODYPART_ICON_ORGANIC : base_bp_icon
else else
species_color = "" species_color = ""

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB