diff --git a/code/modules/mob/new_player/new_player_vr.dm b/code/modules/mob/new_player/new_player_vr.dm index 6912c58ad36..f11033d393a 100644 --- a/code/modules/mob/new_player/new_player_vr.dm +++ b/code/modules/mob/new_player/new_player_vr.dm @@ -41,15 +41,16 @@ //Check traits/costs var/list/megalist = client.prefs.pos_traits + client.prefs.neu_traits + client.prefs.neg_traits -// var/points_left = client.prefs.starting_trait_points - //RS REMOVAL - var/traits_left = client.prefs.max_traits +// var/points_left = client.prefs.starting_trait_points //RS REMOVAL +// var/traits_left = client.prefs.max_traits //RS REMOVAL var/pref_synth = client.prefs.dirty_synth var/pref_meat = client.prefs.gross_meatbag for(var/datum/trait/T as anything in megalist) var/cost = traits_costs[T] - - if(cost >= 0) //RS EDIT + /* RS REMOVAL + if(cost >= 0) traits_left-- + */ //A trait was removed from the game if(isnull(cost)) @@ -65,9 +66,10 @@ to_chat(src, "Some of your traits are not usable by your character type (synthetic traits on organic, or vice versa).") //Went into negatives - if(traits_left < 0) //RS REMOVAL + if(client.prefs.pos_traits.len > client.prefs.max_traits) //RS REMOVAL pass = FALSE to_chat(src,"Your custom species is not playable. Reconfigure your traits on the VORE tab.") + to_world("traits: [client.prefs.pos_traits.len]/[client.prefs.max_traits]") //Final popup notice if (!pass)