mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge branch 'master' of https://github.com/Baystation12/Baystation12
This commit is contained in:
@@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
if(foundrecord)
|
if(foundrecord)
|
||||||
foundrecord.fields["rank"] = assignment
|
foundrecord.fields["rank"] = assignment
|
||||||
if(alt_title)
|
if(alt_title)
|
||||||
foundrecord.fields["real_rank"] = alt_title
|
foundrecord.fields["real_rank"] = alt_title
|
||||||
else
|
else
|
||||||
foundrecord.fields["real_rank"] = assignment
|
foundrecord.fields["real_rank"] = assignment
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -378,13 +378,17 @@
|
|||||||
temp = "Error: Clonepod malfunction."
|
temp = "Error: Clonepod malfunction."
|
||||||
else if(!config.revival_cloning)
|
else if(!config.revival_cloning)
|
||||||
temp = "Error: Unable to initiate cloning cycle."
|
temp = "Error: Unable to initiate cloning cycle."
|
||||||
else if(pod1.growclone(C.fields["ckey"], C.fields["name"], C.fields["UI"], C.fields["SE"], C.fields["mind"], C.fields["mrace"], C.fields["interface"]))
|
|
||||||
temp = "Initiating cloning cycle..."
|
|
||||||
records.Remove(C)
|
|
||||||
del(C)
|
|
||||||
menu = 1
|
|
||||||
else
|
else
|
||||||
temp = "Initiating cloning cycle...<br>Error: Post-initialisation failed. Cloning cycle aborted."
|
var/mob/selected = find_dead_player("[C.fields["ckey"]]")
|
||||||
|
selected << 'chime.ogg' //probably not the best sound but I think it's reasonable
|
||||||
|
var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No")
|
||||||
|
if(answer != "No" && pod1.growclone(C.fields["ckey"], C.fields["name"], C.fields["UI"], C.fields["SE"], C.fields["mind"], C.fields["mrace"], C.fields["interface"]))
|
||||||
|
temp = "Initiating cloning cycle..."
|
||||||
|
records.Remove(C)
|
||||||
|
del(C)
|
||||||
|
menu = 1
|
||||||
|
else
|
||||||
|
temp = "Initiating cloning cycle...<br>Error: Post-initialisation failed. Cloning cycle aborted."
|
||||||
|
|
||||||
else
|
else
|
||||||
temp = "Error: Data corruption."
|
temp = "Error: Data corruption."
|
||||||
@@ -406,9 +410,9 @@
|
|||||||
if (subject.suiciding == 1)
|
if (subject.suiciding == 1)
|
||||||
scantemp = "Error: Subject's brain is not responding to scanning stimuli."
|
scantemp = "Error: Subject's brain is not responding to scanning stimuli."
|
||||||
return
|
return
|
||||||
if ((!subject.ckey) || (!subject.client))
|
// if ((!subject.ckey) || (!subject.client))
|
||||||
scantemp = "Error: Mental interface failure."
|
// scantemp = "Error: Mental interface failure."
|
||||||
return
|
// return
|
||||||
if (NOCLONE in subject.mutations)
|
if (NOCLONE in subject.mutations)
|
||||||
scantemp = "Error: Mental interface failure."
|
scantemp = "Error: Mental interface failure."
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -541,7 +541,7 @@
|
|||||||
status_signal.data["msg1"] = data1
|
status_signal.data["msg1"] = data1
|
||||||
status_signal.data["msg2"] = data2
|
status_signal.data["msg2"] = data2
|
||||||
log_admin("STATUS: [src.fingerprintslast] set status screen message with [src]: [data1] [data2]")
|
log_admin("STATUS: [src.fingerprintslast] set status screen message with [src]: [data1] [data2]")
|
||||||
message_admins("STATUS: [user] set status screen with [PDA]. Message: [data1] [data2]")
|
//message_admins("STATUS: [user] set status screen with [PDA]. Message: [data1] [data2]")
|
||||||
if("alert")
|
if("alert")
|
||||||
status_signal.data["picture_state"] = data1
|
status_signal.data["picture_state"] = data1
|
||||||
|
|
||||||
|
|||||||
@@ -98,11 +98,12 @@
|
|||||||
if(!M)
|
if(!M)
|
||||||
continue
|
continue
|
||||||
var/turf/bl = get_turf(M)
|
var/turf/bl = get_turf(M)
|
||||||
bdat += "[M.name] - <b>\[[bl.x],[bl.y]\]</b> - [M.on ? "Online" : "Offline"]<br>"
|
if(bl)
|
||||||
if((!isnull(M.reagent_glass)) && M.use_beaker)
|
bdat += "[M.name] - <b>\[[bl.x],[bl.y]\]</b> - [M.on ? "Online" : "Offline"]<br>"
|
||||||
bdat += "Reservoir: \[[M.reagent_glass.reagents.total_volume]/[M.reagent_glass.reagents.maximum_volume]\]<br>"
|
if((!isnull(M.reagent_glass)) && M.use_beaker)
|
||||||
else
|
bdat += "Reservoir: \[[M.reagent_glass.reagents.total_volume]/[M.reagent_glass.reagents.maximum_volume]\]<br>"
|
||||||
bdat += "Using Internal Synthesizer.<br>"
|
else
|
||||||
|
bdat += "Using Internal Synthesizer.<br>"
|
||||||
|
|
||||||
if(!bdat)
|
if(!bdat)
|
||||||
dat += "<br><center>None detected</center>"
|
dat += "<br><center>None detected</center>"
|
||||||
|
|||||||
@@ -105,12 +105,12 @@
|
|||||||
dat += "<B>Records Maintenance</B><HR>"
|
dat += "<B>Records Maintenance</B><HR>"
|
||||||
dat += "<BR><A href='?src=\ref[src];choice=Delete All Records'>Delete All Records</A><BR><BR><A href='?src=\ref[src];choice=Return'>Back</A>"
|
dat += "<BR><A href='?src=\ref[src];choice=Delete All Records'>Delete All Records</A><BR><BR><A href='?src=\ref[src];choice=Return'>Back</A>"
|
||||||
if(3.0)
|
if(3.0)
|
||||||
var/icon/front = new(active1.fields["photo"], dir = SOUTH)
|
|
||||||
var/icon/side = new(active1.fields["photo"], dir = WEST)
|
|
||||||
user << browse_rsc(front, "front.png")
|
|
||||||
user << browse_rsc(side, "side.png")
|
|
||||||
dat += "<CENTER><B>Security Record</B></CENTER><BR>"
|
dat += "<CENTER><B>Security Record</B></CENTER><BR>"
|
||||||
if ((istype(active1, /datum/data/record) && data_core.general.Find(active1)))
|
if ((istype(active1, /datum/data/record) && data_core.general.Find(active1)))
|
||||||
|
var/icon/front = new(active1.fields["photo"], dir = SOUTH)
|
||||||
|
var/icon/side = new(active1.fields["photo"], dir = WEST)
|
||||||
|
user << browse_rsc(front, "front.png")
|
||||||
|
user << browse_rsc(side, "side.png")
|
||||||
dat += text("<table><tr><td> \
|
dat += text("<table><tr><td> \
|
||||||
Name: <A href='?src=\ref[src];choice=Edit Field;field=name'>[active1.fields["name"]]</A><BR> \
|
Name: <A href='?src=\ref[src];choice=Edit Field;field=name'>[active1.fields["name"]]</A><BR> \
|
||||||
ID: <A href='?src=\ref[src];choice=Edit Field;field=id'>[active1.fields["id"]]</A><BR>\n \
|
ID: <A href='?src=\ref[src];choice=Edit Field;field=id'>[active1.fields["id"]]</A><BR>\n \
|
||||||
|
|||||||
@@ -504,7 +504,7 @@ Code:
|
|||||||
|
|
||||||
else
|
else
|
||||||
for(var/obj/machinery/bot/mulebot/B in QC.botlist)
|
for(var/obj/machinery/bot/mulebot/B in QC.botlist)
|
||||||
if(B)
|
if(B && B.loc)
|
||||||
menu += "<A href='byond://?src=\ref[QC];op=control;bot=\ref[B]'>[B] at [B.loc.loc]</A><BR>"
|
menu += "<A href='byond://?src=\ref[QC];op=control;bot=\ref[B]'>[B] at [B.loc.loc]</A><BR>"
|
||||||
|
|
||||||
menu += "<BR><A href='byond://?src=\ref[QC];op=scanbots'><img src=pda_scanner.png> Scan for active bots</A><BR>"
|
menu += "<BR><A href='byond://?src=\ref[QC];op=scanbots'><img src=pda_scanner.png> Scan for active bots</A><BR>"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ miniature - Game Master
|
|||||||
misterbook - Game Admin
|
misterbook - Game Admin
|
||||||
misterfox - Game Admin
|
misterfox - Game Admin
|
||||||
mloc - Game Master
|
mloc - Game Master
|
||||||
skymarshal - Retired Admin
|
skymarshal - Game Master
|
||||||
spaceman96 - Retired Admin
|
spaceman96 - Retired Admin
|
||||||
strumpetplaya - Retired Admin
|
strumpetplaya - Retired Admin
|
||||||
tastyfish - Retired Admin
|
tastyfish - Retired Admin
|
||||||
|
|||||||
Reference in New Issue
Block a user