digitigrade legs port wip

This commit is contained in:
Killian
2023-10-29 22:35:58 +00:00
parent 9c05084d92
commit 655114451e
26 changed files with 240 additions and 3 deletions
@@ -36,6 +36,8 @@
var/b_synth //Same as above
var/synth_markings = 0 //Enables/disables markings on synth parts.
var/digitigrade = 0 // 0 = no digi, 1 = default, 2+ = digi styles... (Not used yet)
//var/size_multiplier = 1 //multiplier for the mob's icon size //VOREStation Edit (Moved to /mob/living)
var/damage_multiplier = 1 //multiplies melee combat damage
var/icon_update = 1 //whether icon updating shall take place
@@ -61,6 +61,9 @@
var/min_age = 17
var/max_age = 70
var/icodigi = 'icons/mob/human_races/r_digi.dmi'
var/digi_allowed = FALSE
// Language/culture vars.
var/default_language = LANGUAGE_GALCOM // Default language is used when 'say' is used without modifiers.
var/language = LANGUAGE_GALCOM // Default racial language, if any.
@@ -8,6 +8,7 @@
name_plural = "Custom"
selects_bodytype = SELECTS_BODYTYPE_CUSTOM
base_species = SPECIES_HUMAN
digi_allowed = TRUE
unarmed_types = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/punch, /datum/unarmed_attack/bite)
@@ -13,6 +13,7 @@
selects_bodytype = SELECTS_BODYTYPE_SHAPESHIFTER
base_species = SPECIES_HUMAN
digi_allowed = TRUE
blood_color = "#505050" //This is the same as the 80,80,80 below, but in hex
flesh_color = "#505050"
@@ -73,6 +73,7 @@
health_hud_intensity = 2.5
chem_strength_alcohol = 0.75
throwforce_absorb_threshold = 10
digi_allowed = TRUE
min_age = 32
max_age = 260
@@ -198,6 +199,7 @@
species_language = LANGUAGE_SIIK
health_hud_intensity = 2.5
chem_strength_alcohol = 1.25
digi_allowed = TRUE
min_age = 17
max_age = 80
@@ -16,6 +16,7 @@
burn_mod = 1.15 //As vulnerable to burn as a Tajara.
base_species = "Xenochimera"
selects_bodytype = SELECTS_BODYTYPE_CUSTOM
digi_allowed = TRUE
num_alternate_languages = 3
species_language = null
@@ -332,6 +333,7 @@
brute_mod = 0.8 //20% brute damage reduction
burn_mod = 1.15 //15% burn damage increase. They're spiders. Aerosol can+lighter = dead spiders.
throwforce_absorb_threshold = 10
digi_allowed = TRUE
num_alternate_languages = 3
species_language = LANGUAGE_VESPINAE
@@ -17,6 +17,7 @@
species_language = LANGUAGE_SAGARU
color_mult = 1
inherent_verbs = list(/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -86,6 +87,7 @@
inherent_verbs = list(/mob/living/carbon/human/proc/tie_hair, /mob/living/carbon/human/proc/water_stealth, /mob/living/carbon/human/proc/underwater_devour)
min_age = 18
max_age = 80
digi_allowed = TRUE
blurb = "The Akula are a species of amphibious humanoids like the Skrell, but have an appearance very similar to that of a shark. \
They were first discovered as a primitive race of underwater dwelling tribal creatures by the Skrell. At first they were not believed \
@@ -138,6 +140,7 @@
/mob/living/carbon/human/proc/tie_hair)
min_age = 18
max_age = 80
digi_allowed = TRUE
blurb = "Nevreans are a race of avian and dinosaur-like creatures living on Tal. They belong to a group of races that hails from Eltus, \
in the Vilous system. Unlike sergals whom they share a star system with, their species is a very peaceful one. They possess remarkable \
@@ -180,6 +183,7 @@
inherent_verbs = list(/mob/living/carbon/human/proc/lick_wounds,
/mob/living/proc/shred_limb,
/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -237,6 +241,7 @@
color_mult = 1
inherent_verbs = list(/mob/living/carbon/human/proc/lick_wounds,
/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
wikilink="https://wiki.vore-station.net/Backstory#Vulpkanin"
@@ -411,6 +416,7 @@
color_mult = 1
genders = list(MALE, FEMALE, PLURAL, NEUTER)
inherent_verbs = list(/mob/living/proc/flying_toggle,/mob/living/proc/flying_vore_toggle,/mob/living/proc/start_wings_hovering,/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -452,6 +458,7 @@
taken to calling these creatures 'Shadekin', and the name has generally stuck and spread. " //TODO: Something more fitting for black-eyes
wikilink = "https://wiki.vore-station.net/Shadekin"
catalogue_data = list(/datum/category_item/catalogue/fauna/shadekin)
digi_allowed = TRUE
language = LANGUAGE_SHADEKIN
name_language = LANGUAGE_SHADEKIN
@@ -561,6 +568,7 @@
name_language = LANGUAGE_TERMINUS
species_language = LANGUAGE_TERMINUS
inherent_verbs = list(/mob/living/carbon/human/proc/lick_wounds,/mob/living/proc/shred_limb,/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -592,6 +600,7 @@
darksight = 4 //Better hunters in the dark.
hunger_factor = 0.1 //In exchange, they get hungry a tad faster.
num_alternate_languages = 3
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -631,6 +640,7 @@
name_language = null
color_mult = 1
inherent_verbs = list(/mob/living/carbon/human/proc/tie_hair)
digi_allowed = TRUE
min_age = 18
max_age = 80
@@ -311,6 +311,9 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
if(tail_style.clip_mask) //VOREStation Edit.
icon_key += tail_style.clip_mask_state
if(digitigrade && (part.organ_tag == BP_R_LEG || part.organ_tag == BP_L_LEG || part.organ_tag == BP_R_FOOT || part.organ_tag == BP_L_FOOT))
icon_key += "_digi"
if(tail_style)
pixel_x = tail_style.mob_offset_x
pixel_y = tail_style.mob_offset_y
@@ -789,6 +792,14 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
if(istype(foot) && foot.is_hidden_by_sprite_accessory(clothing_only = TRUE)) //If either foot is hidden by the tail, don't render footwear.
return
var/obj/item/clothing/shoes/shoe = shoes
var/shoe_sprite
if(istype(shoe) && !isnull(shoe.update_icon_define))
shoe_sprite = shoe.update_icon_define
else
shoe_sprite = INV_FEET_DEF_ICON
//Allow for shoe layer toggle nonsense
var/shoe_layer = SHOES_LAYER
if(istype(shoes, /obj/item/clothing/shoes))
@@ -797,7 +808,7 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
shoe_layer = SHOES_LAYER_ALT
//NB: the use of a var for the layer on this one
overlays_standing[shoe_layer] = shoes.make_worn_icon(body_type = species.get_bodytype(src), slot_name = slot_shoes_str, default_icon = INV_FEET_DEF_ICON, default_layer = shoe_layer)
overlays_standing[shoe_layer] = shoes.make_worn_icon(body_type = species.get_bodytype(src), slot_name = slot_shoes_str, default_icon = shoe_sprite, default_layer = shoe_layer)
apply_layer(SHOES_LAYER)
apply_layer(SHOES_LAYER_ALT)
@@ -4,6 +4,8 @@
/datum/sprite_accessory/marking //Override for base markings
color_blend_mode = ICON_ADD
species_allowed = list() //This lets all races use
var/digitigrade_acceptance = MARKING_NONDIGI_ONLY
var/digitigrade_icon = 'icons/mob/human_races/markings_digi.dmi'
/datum/sprite_accessory/marking/vr_vulp_belly
name = "belly fur (Vulp)"
@@ -1128,4 +1130,105 @@
icon = 'icons/mob/human_races/markings_vr.dmi'
icon_state = "backsail"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_TORSO)
body_parts = list(BP_TORSO)
//Digitigrade markings
/datum/sprite_accessory/marking/digi
icon = 'icons/mob/human_races/markings_digi.dmi'
digitigrade_acceptance = MARKING_DIGITIGRADE_ONLY
/datum/sprite_accessory/marking/digi/fullleft
name = "Digitigrade Full Left Leg(Only works with digitigrade legs)"
icon_state = "full"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/fullright
name = "Digitigrade Full Right Leg(Only works with digitigrade legs)"
icon_state = "full"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)
/datum/sprite_accessory/marking/digi/longsockleft
name = "Digitigrade Long Socks Left(Only works with digitigrade legs)"
icon_state = "longsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/longsockright
name = "Digitigrade Long Socks Right(Only works with digitigrade legs)"
icon_state = "longsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)
/datum/sprite_accessory/marking/digi/medsockleft
name = "Digitigrade Medium Socks Left(Only works with digitigrade legs)"
icon_state = "medsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/medsockright
name = "Digitigrade Medium Socks Right(Only works with digitigrade legs)"
icon_state = "medsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)
/datum/sprite_accessory/marking/digi/shortsockleft
name = "Digitigrade Short Socks Left(Only works with digitigrade legs)"
icon_state = "shortsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_FOOT)
/datum/sprite_accessory/marking/digi/shortsockright
name = "Digitigrade Short Socks Right(Only works with digitigrade legs)"
icon_state = "shortsock"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_FOOT)
/datum/sprite_accessory/marking/digi/toesleft
name = "Digitigrade Toes Left(Only works with digitigrade legs)"
icon_state = "toes"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_FOOT)
/datum/sprite_accessory/marking/digi/toesright
name = "Digitigrade Toes Right(Only works with digitigrade legs)"
icon_state = "toes"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_FOOT)
/datum/sprite_accessory/marking/digi/stripesleft
name = "Digitigrade Stripes Left(Only works with digitigrade legs)"
icon_state = "stripes"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/stripesright
name = "Digitigrade Stripes Right(Only works with digitigrade legs)"
icon_state = "stripes"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)
/datum/sprite_accessory/marking/digi/smallspotsleft
name = "Digitigrade Small Spots Left(Only works with digitigrade legs)"
icon_state = "smallspots"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/smallspotsright
name = "Digitigrade Small Spots Right(Only works with digitigrade legs)"
icon_state = "smallspots"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)
/datum/sprite_accessory/marking/digi/bigspotsleft
name = "Digitigrade Big Spots Left(Only works with digitigrade legs)"
icon_state = "bigspots"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_L_LEG,BP_L_FOOT)
/datum/sprite_accessory/marking/digi/bigspotsright
name = "Digitigrade Big Spots Right(Only works with digitigrade legs)"
icon_state = "bigspots"
color_blend_mode = ICON_MULTIPLY
body_parts = list(BP_R_LEG,BP_R_FOOT)