make new proc that actually works

This commit is contained in:
datlo
2019-01-11 20:55:12 +00:00
parent 645e242ea6
commit aeb1ed6007
4 changed files with 10 additions and 4 deletions
@@ -733,7 +733,7 @@
found_record = 1
if(R.fields["criminal"] == "*Execute*")
to_chat(usr, "<span class='warning'>Unable to modify the sec status of a person with an active Execution order. Use a security computer instead.</span>")
else
else
var/rank
if(ishuman(usr))
var/mob/living/carbon/human/U = usr
@@ -1942,3 +1942,9 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
/mob/living/carbon/human/proc/special_post_clone_handling()
if(mind && mind.assigned_role == "Cluwne") //HUNKE your suffering never stops
makeCluwne()
/mob/living/carbon/human/proc/cleanSE() //remove all disabilities/powers
for(var/block = 1; block <= DNA_SE_LENGTH; block++)
src.dna.SetSEState(block, FALSE, TRUE)
genemutcheck(src, block, null, MUTCHK_FORCED)
src.dna.UpdateSE()
+1 -1
View File
@@ -145,7 +145,7 @@ var/ert_request_answered = FALSE
M.set_species(/datum/species/human, TRUE)
M.dna.ready_dna(M)
M.dna.ResetSE() //No fat/blind/colourblind/epileptic/whatever ERT.
M.cleanSE() //No fat/blind/colourblind/epileptic/whatever ERT.
M.overeatduration = 0
var/hair_c = pick("#8B4513","#000000","#FF4500","#FFD700") // Brown, black, red, blonde