-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0ea33b
commit 588bc9a
Showing
3 changed files
with
136 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,50 @@ | ||
/proc/CreateGeneralRecord() | ||
var/datum/data/record/G = new /datum/data/record() | ||
G.fields["name"] = "New Record" | ||
G.fields["id"] = text("[]", add_zero(num2hex(rand(1, 1.6777215E7)), 6)) | ||
G.fields["rank"] = "Unassigned" | ||
G.fields["real_rank"] = "Unassigned" | ||
G.fields["sex"] = "Male" | ||
G.fields["age"] = "Unknown" | ||
G.fields["ethnicity"] = "Unknown" | ||
G.fields["p_stat"] = "Active" | ||
G.fields["m_stat"] = "Stable" | ||
G.fields["species"] = "Human" | ||
G.fields["origin"] = "Unknown" | ||
G.fields["faction"] = "Unknown" | ||
G.fields["mob_faction"] = "Unknown" | ||
G.fields["religion"] = "Unknown" | ||
GLOB.data_core.general += G | ||
return G | ||
var/datum/data/record/general_record = new /datum/data/record() | ||
general_record.fields["name"] = "New Record" | ||
general_record.name = "New Record" | ||
general_record.fields["id"] = text("[]", add_zero(num2hex(rand(1, 1.6777215E7)), 6)) | ||
general_record.fields["rank"] = "Unassigned" | ||
general_record.fields["real_rank"] = "Unassigned" | ||
general_record.fields["sex"] = "Male" | ||
general_record.fields["age"] = "Unknown" | ||
general_record.fields["ethnicity"] = "Unknown" | ||
general_record.fields["p_stat"] = "Active" | ||
general_record.fields["m_stat"] = "Stable" | ||
general_record.fields["species"] = "Human" | ||
general_record.fields["origin"] = "Unknown" | ||
general_record.fields["faction"] = "Unknown" | ||
general_record.fields["mob_faction"] = "Unknown" | ||
general_record.fields["religion"] = "Unknown" | ||
GLOB.data_core.general += general_record | ||
return general_record | ||
|
||
/proc/CreateSecurityRecord(name as text, id as text) | ||
var/datum/data/record/R = new /datum/data/record() | ||
R.fields["name"] = name | ||
R.fields["id"] = id | ||
R.name = text("Security Record #[id]") | ||
R.fields["incidents"] = "None" | ||
GLOB.data_core.security += R | ||
return R | ||
var/datum/data/record/security_record = new /datum/data/record() | ||
security_record.fields["name"] = name | ||
security_record.fields["id"] = id | ||
security_record.name = text("Security Record #[id]") | ||
security_record.fields["incidents"] = "None" | ||
GLOB.data_core.security += security_record | ||
return security_record | ||
|
||
/proc/create_medical_record(mob/living/carbon/human/H) | ||
var/datum/data/record/M = new /datum/data/record() | ||
M.fields["id"] = null | ||
M.fields["name"] = H.real_name | ||
M.fields["b_type"] = H.b_type | ||
M.fields["mi_dis"] = "None" | ||
M.fields["mi_dis_d"] = "No minor disabilities have been declared." | ||
M.fields["ma_dis"] = "None" | ||
M.fields["ma_dis_d"] = "No major disabilities have been diagnosed." | ||
M.fields["alg"] = "None" | ||
M.fields["alg_d"] = "No allergies have been detected in this patient." | ||
M.fields["cdi"] = "None" | ||
M.fields["cdi_d"] = "No diseases have been diagnosed at the moment." | ||
M.fields["last_scan_time"] = null | ||
M.fields["last_scan_result"] = "No scan data on record" | ||
M.fields["autodoc_data"] = list() | ||
M.fields["autodoc_manual"] = list() | ||
M.fields["ref"] = WEAKREF(H) | ||
GLOB.data_core.medical += M | ||
return M | ||
/proc/create_medical_record(mob/living/carbon/human/person) | ||
var/datum/data/record/medical_record = new /datum/data/record() | ||
medical_record.fields["id"] = null | ||
medical_record.fields["name"] = person.real_name | ||
medical_record.name = person.real_name | ||
medical_record.fields["b_type"] = person.b_type | ||
medical_record.fields["mi_dis"] = "None" | ||
medical_record.fields["mi_dis_d"] = "No minor disabilities have been declared." | ||
medical_record.fields["ma_dis"] = "None" | ||
medical_record.fields["ma_dis_d"] = "No major disabilities have been diagnosed." | ||
medical_record.fields["alg"] = "None" | ||
medical_record.fields["alg_d"] = "No allergies have been detected in this patient." | ||
medical_record.fields["cdi"] = "None" | ||
medical_record.fields["cdi_d"] = "No diseases have been diagnosed at the moment." | ||
medical_record.fields["last_scan_time"] = null | ||
medical_record.fields["last_scan_result"] = "No scan data on record" | ||
medical_record.fields["autodoc_data"] = list() | ||
medical_record.fields["autodoc_manual"] = list() | ||
medical_record.fields["ref"] = WEAKREF(person) | ||
GLOB.data_core.medical += medical_record | ||
return medical_record |