mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
The Great dna.features["body_size"] Killing (#6042)
## About The Pull Request Kills every instance of the body_size feature and changes everything to use current_size, RESIZE_DEFAULT_SIZE, and update_transform. Also cleans up oversized code big time. The only player-facing change from this is that the oversized specific organs are now gone. ## Why It's Good For The Game The oversized code was a mess and having snowflakey features when the proc and such already exists caused me pain. ## Proof Of Testing See below. <details> <summary>Screenshots/Videos</summary> https://github.com/user-attachments/assets/017fb9e3-aef9-48ce-a64e-b24a99ae49eb https://github.com/user-attachments/assets/4cdaa48c-0237-4447-a943-cabb222be25b https://github.com/user-attachments/assets/3bab0b0c-5098-4d51-b77e-994e21bcf87e </details> ## Changelog 🆑 del: Removed the oversized specific organs. /🆑
This commit is contained in:
@@ -512,7 +512,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
// Being a taur, or over 1.1 scales it up
|
||||
if (body.dna.mutant_bodyparts[FEATURE_TAUR] && body.dna.mutant_bodyparts[FEATURE_TAUR][MUTANT_INDEX_NAME] != "None")
|
||||
canvas_size = 1
|
||||
else if (!isnull(body.dna.features["body_size"]) && body.dna.features["body_size"] > 1.1)
|
||||
else if (!isnull(body.current_size) && body.current_size > 1.1)
|
||||
canvas_size = 1
|
||||
// Add extra level if we're oversized
|
||||
if (preferences.all_quirks.Find("Oversized"))
|
||||
|
||||
@@ -35,8 +35,6 @@
|
||||
target.set_species(value, icon_update = FALSE, pref_load = FALSE, override_features = prefs?.features.Copy(), override_mutantparts = prefs?.mutant_bodyparts.Copy(), override_markings = prefs?.body_markings.Copy()) // SKYRAT EDIT - Customization
|
||||
|
||||
//SKYRAT EDIT ADDITION
|
||||
target.dna.update_body_size()
|
||||
|
||||
for(var/organ_key in list(ORGAN_SLOT_VAGINA, ORGAN_SLOT_PENIS, ORGAN_SLOT_BREASTS, ORGAN_SLOT_ANUS))
|
||||
var/obj/item/organ/genital/gent = target.get_organ_slot(organ_key)
|
||||
if(gent)
|
||||
|
||||
Reference in New Issue
Block a user