mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-07 07:22:56 +00:00
* This tail refactor turned into an organ refactor. Funny how that works. * Firstly, fixing all the conflicts. * Fixes all our maps (hopefully) * Actually, this should fix pod people hair :) * Almost everything is working, just two major things to fix * Fixed a certain kind of external organ * Cleaning up some more stuff * Turned tail_cat into tail because why the fuck are they separate? * Moved all the tails into tails.dmi because that was just dumb to have like 3 in a different file * Adds relevant_layers to organs to help with rendering * Makes stored_feature_id also check mutant_bodyparts * Fixes the icon_state names of ALL the tails (pain) * Fixes wagging, gotta refactor most mutant bodyparts later on * I Love Added Failures * Fixed some organs that slipped through my searches * This could possibly fix the CI for this? * It doesn't look like it did fix it * This will make it pass, even if it's ugly as sin. * Fixed Felinids having a weird ghost tail * Fixes instances of snouts and tails not being properly colored Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
56 lines
2.6 KiB
Plaintext
56 lines
2.6 KiB
Plaintext
|
|
/datum/admins/proc/create_mob(mob/user)
|
|
var/static/create_mob_html
|
|
if (!create_mob_html)
|
|
var/mobjs = null
|
|
mobjs = jointext(typesof(/mob), ";")
|
|
create_mob_html = file2text('html/create_object.html')
|
|
create_mob_html = replacetext(create_mob_html, "Create Object", "Create Mob")
|
|
create_mob_html = replacetext(create_mob_html, "null /* object types */", "\"[mobjs]\"")
|
|
|
|
user << browse(create_panel_helper(create_mob_html), "window=create_mob;size=425x475")
|
|
|
|
/proc/randomize_human(mob/living/carbon/human/human)
|
|
human.gender = pick(MALE, FEMALE)
|
|
human.physique = human.gender
|
|
human.real_name = random_unique_name(human.gender)
|
|
human.name = human.real_name
|
|
human.underwear = random_underwear(human.gender)
|
|
human.underwear_color = "#[random_color()]"
|
|
human.skin_tone = random_skin_tone()
|
|
human.hairstyle = random_hairstyle(human.gender)
|
|
human.facial_hairstyle = random_facial_hairstyle(human.gender)
|
|
human.hair_color = "#[random_color()]"
|
|
human.facial_hair_color = human.hair_color
|
|
var/random_eye_color = random_eye_color()
|
|
human.eye_color_left = random_eye_color
|
|
human.eye_color_right = random_eye_color
|
|
human.dna.blood_type = random_blood_type()
|
|
|
|
// Mutant randomizing, doesn't affect the mob appearance unless it's the specific mutant.
|
|
/* SKYRAT EDIT REMOVAL
|
|
human.dna.features["mcolor"] = "#[random_color()]"
|
|
human.dna.features["ethcolor"] = GLOB.color_list_ethereal[pick(GLOB.color_list_ethereal)]
|
|
human.dna.features["tail_cat"] = pick(GLOB.tails_list_human)
|
|
human.dna.features["tail_lizard"] = pick(GLOB.tails_list_lizard)
|
|
human.dna.features["snout"] = pick(GLOB.snouts_list)
|
|
human.dna.features["horns"] = pick(GLOB.horns_list)
|
|
human.dna.features["frills"] = pick(GLOB.frills_list)
|
|
human.dna.features["spines"] = pick(GLOB.spines_list)
|
|
human.dna.features["body_markings"] = pick(GLOB.body_markings_list)
|
|
human.dna.features["moth_wings"] = pick(GLOB.moth_wings_list)
|
|
human.dna.features["moth_antennae"] = pick(GLOB.moth_antennae_list)
|
|
human.dna.features["pod_hair"] = pick(GLOB.pod_hair_list)
|
|
*/
|
|
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
|
|
human.dna.features = human.dna.species.get_random_features()
|
|
human.dna.mutant_bodyparts = human.dna.species.get_random_mutant_bodyparts(human.dna.features)
|
|
human.dna.body_markings = human.dna.species.get_random_body_markings(human.dna.features)
|
|
human.dna.species.mutant_bodyparts = human.dna.mutant_bodyparts.Copy()
|
|
human.dna.species.body_markings = human.dna.body_markings.Copy()
|
|
//SKYRAT EDIT ADDITION END
|
|
|
|
human.update_body(is_creating = TRUE)
|
|
human.update_hair(is_creating = TRUE)
|
|
human.dna.species.spec_updatehealth(human)
|