Renamed variables:

b_type to blood_type
h_color to hair_color
f_color to facial_hair_color
f_style to facial_hair_style
h_style to hair_style
This commit is contained in:
carnie
2013-08-01 13:48:41 +01:00
parent 3236425152
commit 02be173c60
32 changed files with 316 additions and 314 deletions
+25 -25
View File
@@ -302,29 +302,29 @@
message_admins("\blue [key_name_admin(usr)] has used rudimentary transformation on [key_name_admin(M)]. Transforming to [href_list["simplemake"]]; deletemob=[delmob]", 1)
switch(href_list["simplemake"])
if("observer") M.change_mob_type( /mob/dead/observer , null, null, delmob )
if("drone") M.change_mob_type( /mob/living/carbon/alien/humanoid/drone , null, null, delmob )
if("hunter") M.change_mob_type( /mob/living/carbon/alien/humanoid/hunter , null, null, delmob )
if("queen") M.change_mob_type( /mob/living/carbon/alien/humanoid/queen , null, null, delmob )
if("sentinel") M.change_mob_type( /mob/living/carbon/alien/humanoid/sentinel , null, null, delmob )
if("larva") M.change_mob_type( /mob/living/carbon/alien/larva , null, null, delmob )
if("human") M.change_mob_type( /mob/living/carbon/human , null, null, delmob )
if("slime") M.change_mob_type( /mob/living/carbon/slime , null, null, delmob )
if("adultslime") M.change_mob_type( /mob/living/carbon/slime/adult , null, null, delmob )
if("monkey") M.change_mob_type( /mob/living/carbon/monkey , null, null, delmob )
if("robot") M.change_mob_type( /mob/living/silicon/robot , null, null, delmob )
if("cat") M.change_mob_type( /mob/living/simple_animal/cat , null, null, delmob )
if("runtime") M.change_mob_type( /mob/living/simple_animal/cat/Runtime , null, null, delmob )
if("corgi") M.change_mob_type( /mob/living/simple_animal/corgi , null, null, delmob )
if("ian") M.change_mob_type( /mob/living/simple_animal/corgi/Ian , null, null, delmob )
if("crab") M.change_mob_type( /mob/living/simple_animal/crab , null, null, delmob )
if("coffee") M.change_mob_type( /mob/living/simple_animal/crab/Coffee , null, null, delmob )
if("parrot") M.change_mob_type( /mob/living/simple_animal/parrot , null, null, delmob )
if("polyparrot") M.change_mob_type( /mob/living/simple_animal/parrot/Poly , null, null, delmob )
if("constructarmoured") M.change_mob_type( /mob/living/simple_animal/construct/armoured , null, null, delmob )
if("constructbuilder") M.change_mob_type( /mob/living/simple_animal/construct/builder , null, null, delmob )
if("constructwraith") M.change_mob_type( /mob/living/simple_animal/construct/wraith , null, null, delmob )
if("shade") M.change_mob_type( /mob/living/simple_animal/shade , null, null, delmob )
if("observer") M.change_moblood_type( /mob/dead/observer , null, null, delmob )
if("drone") M.change_moblood_type( /mob/living/carbon/alien/humanoid/drone , null, null, delmob )
if("hunter") M.change_moblood_type( /mob/living/carbon/alien/humanoid/hunter , null, null, delmob )
if("queen") M.change_moblood_type( /mob/living/carbon/alien/humanoid/queen , null, null, delmob )
if("sentinel") M.change_moblood_type( /mob/living/carbon/alien/humanoid/sentinel , null, null, delmob )
if("larva") M.change_moblood_type( /mob/living/carbon/alien/larva , null, null, delmob )
if("human") M.change_moblood_type( /mob/living/carbon/human , null, null, delmob )
if("slime") M.change_moblood_type( /mob/living/carbon/slime , null, null, delmob )
if("adultslime") M.change_moblood_type( /mob/living/carbon/slime/adult , null, null, delmob )
if("monkey") M.change_moblood_type( /mob/living/carbon/monkey , null, null, delmob )
if("robot") M.change_moblood_type( /mob/living/silicon/robot , null, null, delmob )
if("cat") M.change_moblood_type( /mob/living/simple_animal/cat , null, null, delmob )
if("runtime") M.change_moblood_type( /mob/living/simple_animal/cat/Runtime , null, null, delmob )
if("corgi") M.change_moblood_type( /mob/living/simple_animal/corgi , null, null, delmob )
if("ian") M.change_moblood_type( /mob/living/simple_animal/corgi/Ian , null, null, delmob )
if("crab") M.change_moblood_type( /mob/living/simple_animal/crab , null, null, delmob )
if("coffee") M.change_moblood_type( /mob/living/simple_animal/crab/Coffee , null, null, delmob )
if("parrot") M.change_moblood_type( /mob/living/simple_animal/parrot , null, null, delmob )
if("polyparrot") M.change_moblood_type( /mob/living/simple_animal/parrot/Poly , null, null, delmob )
if("constructarmoured") M.change_moblood_type( /mob/living/simple_animal/construct/armoured , null, null, delmob )
if("constructbuilder") M.change_moblood_type( /mob/living/simple_animal/construct/builder , null, null, delmob )
if("constructwraith") M.change_moblood_type( /mob/living/simple_animal/construct/wraith , null, null, delmob )
if("shade") M.change_moblood_type( /mob/living/simple_animal/shade , null, null, delmob )
/////////////////////////////////////new ban stuff
@@ -1994,7 +1994,7 @@
feedback_inc("admin_secrets_fun_used",1)
feedback_add_details("admin_secrets_fun_used","DF")
for(var/mob/living/carbon/human/B in mob_list)
B.f_style = "Dward Beard"
B.facial_hair_style = "Dward Beard"
B.update_hair()
message_admins("[key_name_admin(usr)] activated dorf mode")
if("ionstorm")
@@ -2076,7 +2076,7 @@
dat += "<table cellspacing=5><tr><th>Name</th><th>DNA</th><th>Blood Type</th></tr>"
for(var/mob/living/carbon/human/H in mob_list)
if(H.dna && H.ckey)
dat += "<tr><td>[H]</td><td>[H.dna.unique_enzymes]</td><td>[H.b_type]</td></tr>"
dat += "<tr><td>[H]</td><td>[H.dna.unique_enzymes]</td><td>[H.blood_type]</td></tr>"
dat += "</table>"
usr << browse(dat, "window=DNA;size=440x410")
if("fingerprints")
+5 -5
View File
@@ -134,7 +134,7 @@ proc/cmd_admin_mute(whom, mute_type, automute = 0)
if(MUTE_DEADCHAT) mute_string = "deadchat and DSAY"
if(MUTE_ALL) mute_string = "everything"
else return
var/client/C
if(istype(whom, /client))
C = whom
@@ -142,12 +142,12 @@ proc/cmd_admin_mute(whom, mute_type, automute = 0)
C = directory[whom]
else
return
var/datum/preferences/P
if(C) P = C.prefs
else P = preferences_datums[whom]
if(!P) return
if(automute)
if(!config.automute_on) return
else
@@ -306,7 +306,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
new_character.real_name = record_found.fields["name"]
new_character.gender = record_found.fields["sex"]
new_character.age = record_found.fields["age"]
new_character.b_type = record_found.fields["b_type"]
new_character.blood_type = record_found.fields["blood_type"]
else
new_character.gender = pick(MALE,FEMALE)
var/datum/preferences/A = new()
@@ -326,7 +326,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
//DNA
if(record_found)//Pull up their name from database records if they did have a mind.
hardset_dna(new_character, record_found.fields["identity"], record_found.fields["enzymes"], record_found.fields["name"], null, record_found.fields["b_type"])
hardset_dna(new_character, record_found.fields["identity"], record_found.fields["enzymes"], record_found.fields["name"], null, record_found.fields["blood_type"])
else//If they have no records, we just do a random DNA for them, based on their random appearance/savefile.
ready_dna(new_character)