mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-11 23:23:55 +01:00
Merge pull request #8428 from cadyn/tf-organ-reset
Added organ reset to the transformation code
This commit is contained in:
@@ -165,12 +165,16 @@ GLOBAL_LIST_INIT(digest_modes, list())
|
||||
B.change_tail_nocolor(H)
|
||||
B.change_wing_nocolor(H)
|
||||
B.change_species(H, 1, 1) // ,1) preserves coloring
|
||||
H.species.create_organs(H)
|
||||
H.sync_organ_dna()
|
||||
return null
|
||||
if(changes_ears_tail_wing_color && (B.check_ears(H) || B.check_tail(H) || B.check_wing(H) || B.check_species(H)))
|
||||
B.change_ears(H)
|
||||
B.change_tail(H)
|
||||
B.change_wing(H)
|
||||
B.change_species(H, 1, 2) // ,2) does not preserve coloring.
|
||||
H.species.create_organs(H)
|
||||
H.sync_organ_dna()
|
||||
return null
|
||||
if(changes_gender && B.check_gender(H, changes_gender_to))
|
||||
B.change_gender(H, changes_gender_to, 1)
|
||||
|
||||
Reference in New Issue
Block a user