mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[READY]Removal of circuits (#41108)
* Delete integrated_circuit.dm * Delete integrated_electronics.dm * Delete pins.dm * Delete wirer.dm * Delete helpers.dm * Delete printer.dm * Delete analyzer.dm * Delete debugger.dm * Delete detailer.dm * Delete assemblies.dm * Delete saved_circuits.dm * Delete boolean_pin.dm * Delete char_pin.dm * Delete color_pin.dm * Delete dir_pin.dm * Delete index_pin.dm * Delete list_pin.dm * Delete number_pin.dm * Delete ref_pin.dm * Delete selfref_pin.dm * Delete string_pin.dm * Delete passive.dm * Delete power.dm * Delete access.dm * Delete arithmetic.dm * Delete converters.dm * Delete data_transfer.dm * Delete input.dm * Delete lists.dm * Delete logic.dm * Delete manipulation.dm * Delete memory.dm * Delete output.dm * Delete power.dm * Delete reagents.dm * Delete smart.dm * Delete text.dm * Delete time.dm * Delete trig.dm * Update tgstation.dme * Update multitool.dm * Delete circuit.dm * Update tgstation.dme * Update netdata.dm * Update ntnet_interface.dm * stuff * Update packs.dm * Update electronics_designs.dm * Update electronics_designs.dm * Update multitool.dm * Update cavity_implant.dm * Update cards_ids.dm * Update walls.dm * Update hostile.dm * Update all_nodes.dm * removes circuits from maps * Revert "removes circuits from maps" This reverts commit 14daf7770220a8a1d7a8fa497c92d9c866939160. * Removes circuits lab from all maps * removes circuits lab from lavaland syndicate base * fixes space tiles under windows on meta * Deltastation fixes * Update multitool.dm * Update flavor_misc.dm * Replaces Box circuits with nanites
This commit is contained in:
@@ -11,23 +11,6 @@
|
||||
|
||||
var/list/passkey
|
||||
|
||||
// Process data before sending it
|
||||
/datum/netdata/proc/pre_send(datum/component/ntnet_interface/interface)
|
||||
// Decrypt the passkey.
|
||||
if(autopasskey)
|
||||
if(data["encrypted_passkey"] && !passkey)
|
||||
var/result = XorEncrypt(hextostr(data["encrypted_passkey"], TRUE), SScircuit.cipherkey)
|
||||
if(length(result) > 1)
|
||||
passkey = json_decode(XorEncrypt(hextostr(data["encrypted_passkey"], TRUE), SScircuit.cipherkey))
|
||||
|
||||
// Encrypt the passkey.
|
||||
if(!data["encrypted_passkey"] && passkey)
|
||||
data["encrypted_passkey"] = strtohex(XorEncrypt(json_encode(passkey), SScircuit.cipherkey))
|
||||
|
||||
// If there is no sender ID, set the default one.
|
||||
if(!sender_id && interface)
|
||||
sender_id = interface.hardware_id
|
||||
|
||||
/datum/netdata/proc/standard_format_data(primary, secondary, passkey)
|
||||
data["data"] = primary
|
||||
data["data_secondary"] = secondary
|
||||
|
||||
Reference in New Issue
Block a user