mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 11:32:20 +00:00
* Kapulimbs * conflicts * part one of fixes * more fex * ugh * more fix * eee * e * more fix * Well it compiles, but we need to get digi legs working * more fixes * https://github.com/tgstation/tgstation/pull/65887 * https://github.com/tgstation/tgstation/pull/65904 * https://github.com/tgstation/tgstation/pull/65923 * more fix * now uses dna specific icon overrides. * species code no longer dictates what icon the limbs use * digitigrade legs implemenation * more fixes, species indexing, species bodyparts * remaining mutant bois * 0 * okay this work! * IPC stuffs * inv file uses * optimisation and limb string rendering digitigrade stuff * wew * partial vox support * bodymarkings are now stored on the bodypart * limb key caching * Update carbon_update_icons.dm * Update carbon_update_icons.dm * Moves our mutant variance to the new system and makes shoes squash. * all legs do it * https://github.com/tgstation/tgstation/pull/65918 * https://github.com/tgstation/tgstation/pull/65899 * https://github.com/tgstation/tgstation/pull/65990 * teshari bodytype * them teshari's aren't humans * bandaid for future proper teshari implementation * Update vox_bodyparts.dm * fixes chests and teshari implementation * fixes * fex * Update mutant_zombie_bodyparts.dm * oops * Update synthetic_lizard_bodyparts.dm * Update code/modules/mob/living/carbon/human/human_update_icons.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_update_icons.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_update_icons.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update modular_skyrat/master_files/code/modules/surgery/bodyparts/species_parts/ghoul_bodyparts.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update modular_skyrat/master_files/code/modules/surgery/bodyparts/species_parts/ghoul_bodyparts.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update modular_skyrat/master_files/code/modules/surgery/bodyparts/species_parts/ghoul_bodyparts.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update modular_skyrat/master_files/code/modules/surgery/bodyparts/species_parts/ghoul_bodyparts.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/species.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update scissors.dm * wound stuff * Update carbon_examine.dm * more stuff * Delete human_update_icons.dm * begone thot * https://github.com/tgstation/tgstation/pull/66065 * Update _external_organs.dm Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
54 lines
2.2 KiB
Plaintext
54 lines
2.2 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/H)
|
|
H.gender = pick(MALE, FEMALE)
|
|
H.physique = H.gender
|
|
H.real_name = random_unique_name(H.gender)
|
|
H.name = H.real_name
|
|
H.underwear = random_underwear(H.gender)
|
|
H.underwear_color = "#[random_color()]"
|
|
H.skin_tone = random_skin_tone()
|
|
H.hairstyle = random_hairstyle(H.gender)
|
|
H.facial_hairstyle = random_facial_hairstyle(H.gender)
|
|
H.hair_color = "#[random_color()]"
|
|
H.facial_hair_color = H.hair_color
|
|
H.eye_color = random_eye_color()
|
|
H.dna.blood_type = random_blood_type()
|
|
|
|
// Mutant randomizing, doesn't affect the mob appearance unless it's the specific mutant.
|
|
//SKYRAT EDIT REMOVAL BEGIN - CUSTOMIZATION
|
|
/*
|
|
H.dna.features["mcolor"] = "#[random_color()]"
|
|
H.dna.features["ethcolor"] = GLOB.color_list_ethereal[pick(GLOB.color_list_ethereal)]
|
|
H.dna.features["tail_lizard"] = pick(GLOB.tails_list_lizard)
|
|
H.dna.features["snout"] = pick(GLOB.snouts_list)
|
|
H.dna.features["horns"] = pick(GLOB.horns_list)
|
|
H.dna.features["frills"] = pick(GLOB.frills_list)
|
|
H.dna.features["spines"] = pick(GLOB.spines_list)
|
|
H.dna.features["body_markings"] = pick(GLOB.body_markings_list)
|
|
H.dna.features["moth_wings"] = pick(GLOB.moth_wings_list)
|
|
H.dna.features["moth_antennae"] = pick(GLOB.moth_antennae_list)
|
|
*/
|
|
//SKYRAT EDIT REMOVAL END
|
|
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
|
|
H.dna.features = H.dna.species.get_random_features()
|
|
H.dna.mutant_bodyparts = H.dna.species.get_random_mutant_bodyparts(H.dna.features)
|
|
H.dna.body_markings = H.dna.species.get_random_body_markings(H.dna.features)
|
|
H.dna.species.mutant_bodyparts = H.dna.mutant_bodyparts.Copy()
|
|
H.dna.species.body_markings = H.dna.body_markings.Copy()
|
|
//SKYRAT EDIT ADDITION END
|
|
H.dna.features["pod_hair"] = pick(GLOB.pod_hair_list)
|
|
|
|
H.update_body(is_creating = TRUE)
|
|
H.update_hair(is_creating = TRUE)
|