Merge pull request #810 from Zuhayr/bayupdate

Bay update.
This commit is contained in:
Neerti
2016-02-05 23:21:07 -05:00
136 changed files with 1163 additions and 1513 deletions
+5 -3
View File
@@ -166,7 +166,7 @@
if(H.mind && !player_is_antag(H.mind, only_offstation_roles = 1))
var/assignment = GetAssignment(H)
var/id = add_zero(num2hex(rand(1, 65535)), 4) //no point generating higher numbers because of the limitations of num2hex
var/id = generate_record_id()
//General Record
var/datum/data/record/G = CreateGeneralRecord(H, id)
G.fields["name"] = H.real_name
@@ -222,8 +222,10 @@
locked += L
return
// TODO.
proc/get_id_photo(var/mob/living/carbon/human/H, var/assigned_role)
/proc/generate_record_id()
return add_zero(num2hex(rand(1, 65535)), 4) //no point generating higher numbers because of the limitations of num2hex
/proc/get_id_photo(var/mob/living/carbon/human/H, var/assigned_role)
var/icon/preview_icon = null
var/g = "m"