mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Human icon key & preferences tweaks (#3274)
changes: Reworked how human body icon keys are generated; resulting keys should be much shorter now and involve less duplication of the same string. Players are now shown a message when they try to add markings to a species that has none available. Admin revive for human-types will now also re-apply their organ and marking prefs. Admin revive now also resets shock_stage (fixes rejuv'd mobs being slow for a while)
This commit is contained in:
@@ -462,6 +462,10 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
else if(!(pref.species in S.species_allowed))
|
||||
usable_markings -= M
|
||||
|
||||
if (!usable_markings.len)
|
||||
alert(user, "This species does not have any body markings available.")
|
||||
return TOPIC_NOACTION
|
||||
|
||||
var/new_marking = input(user, "Choose a body marking:", "Character Preference") as null|anything in usable_markings
|
||||
if(new_marking && CanUseTopic(user))
|
||||
pref.body_markings[new_marking] = "#000000" //New markings start black
|
||||
|
||||
Reference in New Issue
Block a user