mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[SEMI-MODULAR] slimes can now properly switch between digitigrade and normal legs (#5413)
* SLIIIIIME * woops forgot to delete that
This commit is contained in:
@@ -251,5 +251,7 @@
|
||||
else
|
||||
U.adjusted = DIGITIGRADE_STYLE
|
||||
H.update_inv_w_uniform()
|
||||
/* SKYRAT EDIT REMOVAL
|
||||
if(H.shoes && !swap_back)
|
||||
H.dropItemToGround(H.shoes)
|
||||
*/
|
||||
|
||||
+10
@@ -146,6 +146,16 @@
|
||||
new_acc_list[MUTANT_INDEX_COLOR_LIST] = SA.get_default_color(DNA.features, DNA.species)
|
||||
DNA.species.mutant_bodyparts[chosen_key] = new_acc_list
|
||||
DNA.mutant_bodyparts[chosen_key] = new_acc_list.Copy()
|
||||
if (chosen_key == "legs" && chosen_name_key != "Cancel")
|
||||
if (chosen_name_key == "Digitigrade Legs" && !(DIGITIGRADE in DNA.species.species_traits))
|
||||
DNA.species.species_traits += DIGITIGRADE
|
||||
if (chosen_name_key == "Normal Legs" && (DIGITIGRADE in DNA.species.species_traits))
|
||||
DNA.species.species_traits -= DIGITIGRADE
|
||||
H.Digitigrade_Leg_Swap(chosen_name_key == "Normal Legs")
|
||||
H.update_body()
|
||||
H.update_inv_w_uniform()
|
||||
H.update_inv_wear_suit()
|
||||
H.update_inv_shoes()
|
||||
H.update_mutant_bodyparts()
|
||||
if("Markings")
|
||||
var/list/candidates = GLOB.body_marking_sets
|
||||
|
||||
Reference in New Issue
Block a user