mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Added proper handling of fingerprints to fingerprint cards, added more info to a function on the detective's computer.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3248 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -182,11 +182,11 @@ FINGERPRINT CARD
|
||||
|
||||
/obj/item/weapon/f_card/proc/display()
|
||||
|
||||
if (src.fingerprints)
|
||||
if (length(src.fingerprints))
|
||||
var/dat = "<B>Fingerprints on Card</B><HR>"
|
||||
var/L = params2list(src.fingerprints)
|
||||
for(var/i in L)
|
||||
dat += text("[]<BR>", i)
|
||||
for(var/i = 1, i < (src.fingerprints.len + 1), i++)
|
||||
var/list/L = params2list(src.fingerprints[i])
|
||||
dat += text("[]<BR>", L["1"])
|
||||
//Foreach goto(41)
|
||||
return dat
|
||||
else
|
||||
@@ -251,9 +251,9 @@ FINGERPRINT CARD
|
||||
|
||||
..()
|
||||
if (!istype(usr, /mob/living/silicon))
|
||||
if (src.fingerprints)
|
||||
if (length(src.fingerprints))
|
||||
if (src.amount > 1)
|
||||
var/obj/item/weapon/f_card/F = new /obj/item/weapon/f_card( (ismob(src.loc) ? src.loc.loc : src.loc) )
|
||||
var/obj/item/weapon/f_card/F = new /obj/item/weapon/f_card(get_turf(src))
|
||||
F.amount = --src.amount
|
||||
src.amount = 1
|
||||
src.icon_state = "fingerprint1"
|
||||
|
||||
@@ -220,7 +220,7 @@ obj/machinery/computer/forensic_scanning
|
||||
temp += "Consolidated data points:<br>"
|
||||
for(var/i = 1, i <= files.len, i++)
|
||||
temp += "<a href='?src=\ref[src];operation=record;identifier=[i]'>{Dossier [i]}</a><br>"
|
||||
temp += "<br><a href='?src=\ref[src];operation=card'>{Insert Finger Print Card}</a><br><br><br>"
|
||||
temp += "<br><a href='?src=\ref[src];operation=card'>{Insert Finger Print Card (To complete a Dossier)}</a><br><br><br>"
|
||||
else
|
||||
temp = ""
|
||||
if(misc && misc.len)
|
||||
|
||||
Reference in New Issue
Block a user