mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-10 17:04:36 +00:00
People may select any underwear (regardless of gender) at a dresser, but not in preferences. random_underwear(gender) will return a random pair of underwear suitable for your gender. Removed an unused variable in sprite_accessory The new_player preferences screen now randomizes character slots for which there is no data (so no more bald, fat, white guys in diapers greeting new players) datum/preferences character settings are randomised at New(). replaced /datum/preferences/proc/randomize_appearance_for(human/H) with /datum/preferences/proc/random_character(), it does the same stuff without the copying to a mob. Basically, now when you want to make a random character you just do var/datum/preferences/A = new(); A.copy_to(human_mob), randomisation of appearance and name will already be done. Easy. Reworked the savefile updating/versioning code to make it easier to work with. I've used it to update underwear preferences to the new system as an example. Signed-off-by: carnie <elly1989@rocketmail.com>