Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit d6e9cf7

Browse files
committed
Minor adjustments
1 parent 03b0b6f commit d6e9cf7

File tree

2 files changed

+2
-61
lines changed

2 files changed

+2
-61
lines changed

code/modules/mob/living/silicon/pai/software.dm

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -293,63 +293,6 @@
293293
else
294294
to_chat(P, "[M] does not seem like [M.p_theyre()] going to provide a DNA sample willingly.")
295295

296-
//Leaving the medical & security records stuff commented out till they can be added back
297-
//
298-
//// Medical Records
299-
///mob/living/silicon/pai/proc/softwareMedicalRecord()
300-
// switch(subscreen)
301-
// if(0)
302-
// . += "<h3>Medical Records</h3><HR>"
303-
// if(GLOB.data_core.general)
304-
// for(var/datum/data/record/R in sortRecord(GLOB.data_core.general))
305-
// . += "<A href='?src=[REF(src)];med_rec=[R.fields["id"]];software=medicalrecord;sub=1'>[R.fields["id"]]: [R.fields["name"]]<BR>"
306-
// if(1)
307-
// . += "<CENTER><B>Medical Record</B></CENTER><BR>"
308-
// if(medicalActive1 in GLOB.data_core.general)
309-
// . += "Name: [medicalActive1.fields["name"]] ID: [medicalActive1.fields["id"]]<BR>\nGender: [medicalActive1.fields["gender"]]<BR>\nAge: [medicalActive1.fields["age"]]<BR>\nFingerprint: [medicalActive1.fields["fingerprint"]]<BR>\nPhysical Status: [medicalActive1.fields["p_stat"]]<BR>\nMental Status: [medicalActive1.fields["m_stat"]]<BR>"
310-
// else
311-
// . += "<pre>Requested medical record not found.</pre><BR>"
312-
// if(medicalActive2 in GLOB.data_core.medical)
313-
// . += "<BR>\n<CENTER><B>Medical Data</B></CENTER><BR>\nBlood Type: <A href='?src=[REF(src)];field=blood_type'>[medicalActive2.fields["blood_type"]]</A><BR>\nDNA: <A href='?src=[REF(src)];field=b_dna'>[medicalActive2.fields["b_dna"]]</A><BR>\n<BR>\nMinor Disabilities: <A href='?src=[REF(src)];field=mi_dis'>[medicalActive2.fields["mi_dis"]]</A><BR>\nDetails: <A href='?src=[REF(src)];field=mi_dis_d'>[medicalActive2.fields["mi_dis_d"]]</A><BR>\n<BR>\nMajor Disabilities: <A href='?src=[REF(src)];field=ma_dis'>[medicalActive2.fields["ma_dis"]]</A><BR>\nDetails: <A href='?src=[REF(src)];field=ma_dis_d'>[medicalActive2.fields["ma_dis_d"]]</A><BR>\n<BR>\nAllergies: <A href='?src=[REF(src)];field=alg'>[medicalActive2.fields["alg"]]</A><BR>\nDetails: <A href='?src=[REF(src)];field=alg_d'>[medicalActive2.fields["alg_d"]]</A><BR>\n<BR>\nCurrent Diseases: <A href='?src=[REF(src)];field=cdi'>[medicalActive2.fields["cdi"]]</A> (per disease info placed in log/comment section)<BR>\nDetails: <A href='?src=[REF(src)];field=cdi_d'>[medicalActive2.fields["cdi_d"]]</A><BR>\n<BR>\nImportant Notes:<BR>\n\t<A href='?src=[REF(src)];field=notes'>[medicalActive2.fields["notes"]]</A><BR>\n<BR>\n<CENTER><B>Comments/Log</B></CENTER><BR>"
314-
// else
315-
// . += "<pre>Requested medical record not found.</pre><BR>"
316-
// . += "<BR>\n<A href='?src=[REF(src)];software=medicalrecord;sub=0'>Back</A><BR>"
317-
// return .
318-
//
319-
//// Security Records
320-
///mob/living/silicon/pai/proc/softwareSecurityRecord()
321-
// . = ""
322-
// switch(subscreen)
323-
// if(0)
324-
// . += "<h3>Security Records</h3><HR>"
325-
// if(GLOB.data_core.general)
326-
// for(var/datum/data/record/R in sortRecord(GLOB.data_core.general))
327-
// . += "<A href='?src=[REF(src)];sec_rec=[R.fields["id"]];software=securityrecord;sub=1'>[R.fields["id"]]: [R.fields["name"]]<BR>"
328-
// if(1)
329-
// . += "<h3>Security Record</h3>"
330-
// if(securityActive1 in GLOB.data_core.general)
331-
// . += "Name: <A href='?src=[REF(src)];field=name'>[securityActive1.fields["name"]]</A> ID: <A href='?src=[REF(src)];field=id'>[securityActive1.fields["id"]]</A><BR>\nGender: <A href='?src=[REF(src)];field=gender'>[securityActive1.fields["gender"]]</A><BR>\nAge: <A href='?src=[REF(src)];field=age'>[securityActive1.fields["age"]]</A><BR>\nRank: <A href='?src=[REF(src)];field=rank'>[securityActive1.fields["rank"]]</A><BR>\nFingerprint: <A href='?src=[REF(src)];field=fingerprint'>[securityActive1.fields["fingerprint"]]</A><BR>\nPhysical Status: [securityActive1.fields["p_stat"]]<BR>\nMental Status: [securityActive1.fields["m_stat"]]<BR>"
332-
// else
333-
// . += "<pre>Requested security record not found,</pre><BR>"
334-
// if(securityActive2 in GLOB.data_core.security)
335-
// . += "<BR>"
336-
// . += "Security Data<BR>"
337-
// . += "Criminal Status: [securityActive2.fields["criminal"]]<BR><BR>"
338-
// . += "Crimes:<BR>"
339-
// for(var/datum/data/crime/crime in securityActive2.fields["crimes"])
340-
// . += "\t[crime.crimeName]: [crime.crimeDetails]<BR>"
341-
// . += "<BR>"
342-
// . += "Important Notes:<BR>"
343-
// . += "\t[securityActive2.fields["notes"]]<BR><BR>"
344-
// . += "<CENTER><B>Comments/Log</B></CENTER><BR>"
345-
// for(var/datum/data/comment/comment in securityActive2.fields["comments"])
346-
// . += "\t[comment.commentText] - [comment.author] [comment.time]<BR>"
347-
// else
348-
// . += "<pre>Requested security record not found,</pre><BR>"
349-
// . += "<BR>\n<A href='?src=[REF(src)];software=securityrecord;sub=0'>Back</A><BR>"
350-
// return .
351-
//
352-
//
353296
//// Camera Jack - Clearly not finished
354297
///mob/living/silicon/pai/proc/softwareCamera()
355298
// var/dat = "<h3>Camera Jack</h3>"

tgui/packages/tgui/interfaces/PaiInterface.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,9 @@ const PaiBox = (props, context) => {
379379
onDrag={(e, value) => act('signallerfreq', {
380380
freq: value,
381381
})} />
382-
</Table.Cell>
383-
<Table.Cell>
384382
<Button
385383
icon="sync"
384+
ml={2.1}
386385
content="Reset"
387386
onClick={() => act("signallerreset", {
388387
reset: "freq",
@@ -405,10 +404,9 @@ const PaiBox = (props, context) => {
405404
onDrag={(e, value) => act("signallercode", {
406405
code: value,
407406
})} />
408-
</Table.Cell>
409-
<Table.Cell>
410407
<Button
411408
icon="sync"
409+
ml={2.1}
412410
content="Reset"
413411
onClick={() => act("signallerreset", {
414412
reset: "code",

0 commit comments

Comments
 (0)