TG: - Added instructions on how to use the pretty markup to the changelog

- Added a few red corner floor pieces to security
- Added a Del() proc to blackbox recorders which makes it so a new blackbox
recorder gets made when the one is deleted and all the data is copied over, so
no data is lost. Same applies when the new one gets deleted. The new blackbox is
spawned on z-level 2, so at centcom on the coordinates X,Y,Z = 1,1,2
Revision: r3084
Author: 	 baloh.matevz
This commit is contained in:
Ren Erthilo
2012-04-22 19:30:13 +01:00
parent b710813ed0
commit 8e81af9f5f
+22
View File
@@ -155,6 +155,28 @@ var/obj/machinery/blackbox_recorder/blackbox
del(src)
blackbox = src
Del()
var/turf/T = locate(1,1,2)
if(T)
blackbox = null
var/obj/machinery/blackbox_recorder/BR = new/obj/machinery/blackbox_recorder(T)
BR.msg_common = msg_common
BR.msg_science = msg_science
BR.msg_command = msg_command
BR.msg_medical = msg_medical
BR.msg_engineering = msg_engineering
BR.msg_security = msg_security
BR.msg_deathsquad = msg_deathsquad
BR.msg_syndicate = msg_syndicate
BR.msg_mining = msg_mining
BR.msg_cargo = msg_cargo
BR.feedback = feedback
BR.messages = messages
BR.messages_admin = messages_admin
if(blackbox != BR)
blackbox = BR
..()
proc/find_feedback_datum(var/variable)
for(var/datum/feedback_variable/FV in feedback)
if(FV.get_variable() == variable)