mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #11875 from Heroman3003/synthtrait
Fixes bugs related to organic/synthetic exclusive traits disappearing
This commit is contained in:
@@ -75,6 +75,13 @@
|
|||||||
pref.starting_trait_points = STARTING_SPECIES_POINTS
|
pref.starting_trait_points = STARTING_SPECIES_POINTS
|
||||||
pref.max_traits = MAX_SPECIES_TRAITS
|
pref.max_traits = MAX_SPECIES_TRAITS
|
||||||
|
|
||||||
|
if(pref.organ_data[O_BRAIN]) //Checking if we have a synth on our hands, boys.
|
||||||
|
pref.dirty_synth = 1
|
||||||
|
pref.gross_meatbag = 0
|
||||||
|
else
|
||||||
|
pref.gross_meatbag = 1
|
||||||
|
pref.dirty_synth = 0
|
||||||
|
|
||||||
if(pref.species != SPECIES_CUSTOM)
|
if(pref.species != SPECIES_CUSTOM)
|
||||||
pref.pos_traits.Cut()
|
pref.pos_traits.Cut()
|
||||||
pref.neg_traits.Cut()
|
pref.neg_traits.Cut()
|
||||||
|
|||||||
Reference in New Issue
Block a user